Commit Graph

185 Commits

Author SHA1 Message Date
a0d2b7b2eb
fix: runner/nsjail: map some /dev/ devices into sandbox 2024-03-18 18:56:33 +08:00
f026300e4f
chore: always pull woj-ui before building server image 2024-03-17 15:52:24 +08:00
6a28761e73
fix: api/user/profile: logged in users are able to get user profile 2024-03-16 22:00:37 +08:00
3cfa0938e6
fix: compile: return correct JudgeStatus when compile failed 2024-03-16 21:37:55 +08:00
7538737629
chore: update deps 2024-03-16 17:16:02 +08:00
bbe525a774
feat: oauth/login: cookie is returned in response 2024-03-16 00:56:46 +08:00
99aec47c76
chore: drop root in container 2024-03-15 13:22:02 +08:00
594c09b0a7
chore: switch to quay.io 2024-03-14 13:00:07 +08:00
fca3fc678c
fix: stop submit flow once compile is failed 2024-03-14 01:19:24 +08:00
9fe69280f9
fix: make rust happy 2024-03-14 01:18:57 +08:00
2b84f94abb
chore: update runner env 2024-03-14 01:18:16 +08:00
05b3d948c2
fix: use absolute path to sh 2024-03-13 22:38:52 +08:00
9c764ae25e
chore: avoid copying full rootfs (use cache) when base changed 2024-03-13 22:29:50 +08:00
11eb5c9916
fix: docker images 2024-03-13 22:17:00 +08:00
634476f46e
chore: partially revert back 7ebc40b0, do not pull before build, since podman never re-uses layers 2024-03-13 22:00:01 +08:00
d122eeb0e3
fix: manually reserve space 2024-03-13 21:19:01 +08:00
5c37743c2c
fix: nsjail is a dynamic linked program, use the same env as builder 2024-03-13 21:14:09 +08:00
3caa0266ad
chore: remove outdated containerd config 2024-03-13 20:57:34 +08:00
a91081b600
fix: reserve more spaces on GitHub Action runner 2024-03-13 20:51:10 +08:00
7ebc40b082
chore: try to pull first then build 2024-03-13 20:26:51 +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
283fc39b74
fix: ensure deps should be fatal error 2024-02-19 21:26:56 +08:00
4d21360251
chore: drop undeleted debug print 2024-02-19 21:14:16 +08:00
ba04c867d2
fix: exit build_image.sh when docker push failed 2024-02-19 20:36:13 +08:00
5c8c24f012
chore: redirect containerd logs to file 2024-02-19 20:25:22 +08:00
1ba08698c2
fix: GitHub Actions: use podman instead 2024-02-19 17:20:48 +08:00
a193dee410
feat: allow using custom container prefix 2024-02-19 15:42:45 +08:00
db16b3e76f
fix: build_image.sh: exit is not exiting 2024-02-19 13:45:06 +08:00
967970fc38
chore: add GitHub Actions 2024-02-19 13:41:01 +08:00
7b6f98d67a
feat: adjust sentry logging level 2024-02-19 12:17:52 +08:00
9d1cf31d89
chore: update deps 2024-02-19 12:17:34 +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
95e861fe43
chore: do not store config in zap 2024-02-15 12:47:57 +08:00
7dcf8f5b7b
chore: book/ch1 add std 2024-01-31 12:09:17 +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
81b42f782e
fix: typo in config.json 2024-01-28 22:35:32 +08:00
edd297ada2
chore: pool.WaitForTask should return typed error 2024-01-28 22:02:26 +08:00
33107bf3ae
chore: cleanup: drop prepare_images 2024-01-28 21:51:16 +08:00
0dc241b63c
chore: bump next version 2024-01-28 21:39:16 +08:00
caaccd6e30
release: 1.3.0 2024-01-28 21:35:03 +08:00
170cdd1898
chore: update deps 2024-01-28 21:34:43 +08:00
6e22df8dda
chore: update Dockerfile: sync with frontend changes 2024-01-28 21:25:08 +08:00
23f6012f8c
fix: add missing volumes in docker-compose.yml 2024-01-28 21:08:13 +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