Commit Graph

34 Commits

Author SHA1 Message Date
05b3d948c2
fix: use absolute path to sh 2024-03-13 22:38:52 +08:00
ff98b7b05f
feat: switch to nsjail 2024-03-13 20:05:00 +08:00
267a9994ea
fix: json.Unmarshal will treat int as float64, reflect to float64 then cast to int 2024-02-19 22:00:05 +08:00
4d21360251
chore: drop undeleted debug print 2024-02-19 21:14:16 +08:00
a193dee410
feat: allow using custom container prefix 2024-02-19 15:42:45 +08:00
f284e452d1
feat: add benchmark for ContainerRun{Pool} 2024-02-15 12:54:29 +08:00
6956fe4ee1
feat: capture runtime status from cgroups
pkg/pool: task is now available to return interface{} as result
pkg/pool: use atomic instead of mutex
service/runner: ContainerRun will return metrics
2024-02-15 12:53:57 +08:00
e3cd843249
feat: add support for python3(pypy3) and rust 2024-01-30 20:57:17 +08:00
204b61a867
feat: return CompileMessage even if compile is success 2024-01-29 21:16:51 +08:00
bb53ae280f
feat: unify argument passing and errors in runner 2024-01-29 21:15:39 +08:00
33107bf3ae
chore: cleanup: drop prepare_images 2024-01-28 21:51:16 +08:00
6965435cb7
feat: compile and new_problem are queued by pool (#7) 2024-01-28 18:16:04 +08:00
8429988cb4
fix: Prebuild should be independent of Languages 2024-01-28 18:15:07 +08:00
83d3913ba7
feat: support more detailed problem config (#7) 2024-01-27 23:07:34 +08:00
b5bedddf94
feat: use containerd as backend 2024-01-27 17:40:10 +08:00
dd86ed8b5a
feat: LimitedWriter: write as much as possible 2024-01-07 00:26:18 +08:00
9286aea36a
chore: more verbose log 2024-01-06 19:47:16 +08:00
bb105d1451
feat: #6 [7] Rewrite run_judge 2024-01-06 19:21:37 +08:00
8dee13af85
feat: #6 [6] Rewrite compile 2024-01-06 17:39:36 +08:00
7f0f897181
feat: #6 [5] Add must and rename functions in package file 2024-01-06 17:31:00 +08:00
fd85b603dc
feat: #6 [4] Rewrite new_problem 2024-01-06 16:06:53 +08:00
31391f6ce0
feat: #6 [3] Add LimitedWriter and move file related utils out from package utils 2024-01-06 16:06:16 +08:00
8e3222daab
feat: #6 [2] Rewrite EnsureDeps 2024-01-06 15:07:11 +08:00
8d66639cdc
feat: #6 [1] Add pool in runner 2024-01-06 15:06:12 +08:00
9485dbbce4
fix: several nits 2023-12-21 17:14:59 +08:00
992b21fb9f
chore: add more debugging messages 2023-08-11 23:56:58 +08:00
1365e54aec
feat: deploy support 2023-08-11 23:56:30 +08:00
7660069c34 fix: swagger documentation 2023-07-16 16:27:29 +08:00
a0c36c1606 feat: refactor to use DI 2023-07-15 16:19:49 +08:00
eca749e2c6 chore: move to git.0x7f.app 2023-07-14 21:47:11 +08:00
3140a60e67 feat: If with generics 2022-10-30 22:40:59 +08:00
97c05a836c feat: add podman support 2022-10-28 21:57:28 +08:00
26a81652b3 feat: another big update
1. add consumer
2. add createVersion
3. add upload
4. fix runner
5. add rejudge

Co-authored-by: cxy004 <cxy004@qq.com>
Co-authored-by: wzt <w.zhongtao@qq.com>
2022-10-23 17:29:35 +08:00
d42ee0ce54 feat: a big update
1. merge woj-runner scripts into woj-server
2. add woj-runner app
3. refactor submission status problem ...
4. jwt middleware update

Co-authored-by: cxy004 <cxy004@qq.com>
Co-authored-by: wzt <w.zhongtao@qq.com>
2022-10-22 17:38:39 +08:00