Commit Graph

210 Commits

Author SHA1 Message Date
2a58aec314
refactor(cmd/joj3): add teapot env file path to conf [force rebuild]
All checks were successful
submodules sync / sync (push) Successful in 40s
build / build (push) Successful in 1m23s
build / trigger-build-image (push) Successful in 9s
2024-10-27 06:27:17 -04:00
0abca551ed
feat(cmd/joj3): use joint-teapot joj3-all [force build]
All checks were successful
submodules sync / sync (push) Successful in 42s
build / build (push) Successful in 1m35s
build / trigger-build-image (push) Successful in 8s
2024-10-27 05:13:37 -04:00
cfc455e0fb fix(healthcheck): determine non-ascii file from git attributes (#69)
All checks were successful
build / build (push) Successful in 1m27s
build / trigger-build-image (push) Has been skipped
submodules sync / sync (push) Successful in 31s
Co-authored-by: zzjc1234 <2359047351@qq.com>
Reviewed-on: #69
Reviewed-by: 张泊明518370910136 <bomingzh@sjtu.edu.cn>
Co-authored-by: 周赵嘉程521432910016 <zzjc123@sjtu.edu.cn>
Co-committed-by: 周赵嘉程521432910016 <zzjc123@sjtu.edu.cn>
2024-10-21 17:04:52 +08:00
312b6256c3
feat(cmd/joj3): debug log to stderr on test
All checks were successful
submodules sync / sync (push) Successful in 28s
build / build (push) Successful in 1m15s
build / trigger-build-image (push) Successful in 8s
2024-10-19 16:58:37 -04:00
621415b71f
feat(healthcheck): better cli args
All checks were successful
build / build (push) Successful in 59s
build / trigger-build-image (push) Successful in 6s
2024-10-18 20:00:41 -04:00
e2d5369891
fix(cmd/joj3): cmd start once now
All checks were successful
build / build (push) Successful in 59s
build / trigger-build-image (push) Successful in 6s
2024-10-18 16:11:28 -04:00
52296109cc
feat(cmd/joj3): log real time teapot stderr
All checks were successful
build / build (push) Successful in 1m2s
build / trigger-build-image (push) Successful in 7s
2024-10-18 16:06:32 -04:00
200e8b02ac
feat(healthcheck): more debug logs 2024-10-18 03:02:07 -04:00
f115bb49c8
chore(healthcheck): backward compatibility arg
All checks were successful
build / build (push) Successful in 1m5s
build / trigger-build-image (push) Successful in 7s
2024-10-18 02:57:35 -04:00
358f097235 feat(cmd/joj3): return non-zero on force quit (#63)
All checks were successful
build / build (push) Successful in 1m14s
build / trigger-build-image (push) Successful in 7s
Reviewed-on: #63
Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Co-committed-by: Boming Zhang <bomingzh@sjtu.edu.cn>
2024-10-18 14:54:53 +08:00
f6960b21f2 feat(cmd/joj3): hint valid scopes on file not found (#67)
All checks were successful
build / build (push) Successful in 1m7s
build / trigger-build-image (push) Successful in 8s
Reviewed-on: #67
Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Co-committed-by: Boming Zhang <bomingzh@sjtu.edu.cn>
2024-10-18 14:45:59 +08:00
03933412bb feat(cmd/joj3): run all commands concurrently in teapot (#66)
Some checks failed
build / trigger-build-image (push) Blocked by required conditions
build / build (push) Has been cancelled
Reviewed-on: #66
Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Co-committed-by: Boming Zhang <bomingzh@sjtu.edu.cn>
2024-10-18 14:45:34 +08:00
b75a756998 feat(healthcheck): forbidden check guided by .gitignore file (#58) (#60)
Some checks failed
build / build (push) Failing after 19s
build / trigger-build-image (push) Has been skipped
Co-authored-by: Hydraallen <wangruiallen@gmail.com>
Co-authored-by: zzjc1234 <2359047351@qq.com>
Reviewed-on: #60
Reviewed-by: 张泊明518370910136 <bomingzh@sjtu.edu.cn>
Co-authored-by: 周赵嘉程521432910016 <zzjc123@sjtu.edu.cn>
Co-committed-by: 周赵嘉程521432910016 <zzjc123@sjtu.edu.cn>
2024-10-18 14:41:09 +08:00
ff0b0957eb
refactor(cmd/joj3): backward compatible arg order [force build]
All checks were successful
build / build (push) Successful in 1m2s
build / trigger-build-image (push) Successful in 7s
2024-10-16 23:40:39 -04:00
fcc1f1856f
feat(cmd/joj3): pass commit hash to teapot [force build]
All checks were successful
build / build (push) Successful in 1m7s
build / trigger-build-image (push) Successful in 6s
2024-10-16 21:00:03 -04:00
e44537ea95 feat(cmd/joj3): issue with actor [force build]
All checks were successful
build / build (push) Successful in 1m4s
build / trigger-build-image (push) Successful in 7s
2024-10-17 03:15:40 +08:00
7654c7e6f3
style(cmd): rename stage & teapot files
All checks were successful
build / build (push) Successful in 1m9s
build / trigger-build-image (push) Successful in 7s
2024-10-15 04:04:20 -04:00
1ab6fa4583 fix(healthcheck): remove unused args (#59)
All checks were successful
build / build (push) Successful in 1m14s
build / trigger-build-image (push) Successful in 9s
Reviewed-on: #59
Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Co-committed-by: Boming Zhang <bomingzh@sjtu.edu.cn>
2024-10-14 22:44:30 +08:00
f09dc8c1c1
feat(cmd/joj3): expire unix timestamp conf
All checks were successful
build / build (push) Successful in 1m11s
build / trigger-build-image (push) Successful in 9s
2024-10-14 09:41:10 -04:00
b1d10dc3f9
feat(cmd/joj3): add -msg back for backward compatibility
All checks were successful
build / build (push) Successful in 1m3s
build / trigger-build-image (push) Successful in 7s
2024-10-14 08:24:34 -04:00
3c284ffea4
feat(cmd/joj3): remove -msg
All checks were successful
build / build (push) Successful in 1m9s
build / trigger-build-image (push) Successful in 8s
2024-10-14 08:06:22 -04:00
10798a8c4b
refactor(healthcheck)!: unify argument cases
All checks were successful
build / build (push) Successful in 1m8s
build / trigger-build-image (push) Successful in 7s
2024-10-13 05:18:03 -04:00
bb3743d4cc
feat(healthcheck): remove redundant tag checker
All checks were successful
build / build (push) Successful in 1m3s
build / trigger-build-image (push) Successful in 7s
2024-10-13 04:37:52 -04:00
92d88091ff
feat(cmd/joj3): check tag on non-empty
All checks were successful
build / build (push) Successful in 1m6s
build / trigger-build-image (push) Successful in 7s
2024-10-13 01:26:09 -04:00
d934e9a067
feat(cmd/joj3): run teapot commands in goroutine
All checks were successful
build / build (push) Successful in 1m4s
build / trigger-build-image (push) Successful in 7s
2024-10-12 07:45:19 -04:00
4e3d202fa9
feat(cmd/joj3): pass conf.Conf by pointer
All checks were successful
build / build (push) Successful in 1m4s
build / trigger-build-image (push) Successful in 7s
2024-10-12 07:16:13 -04:00
9cd0e44678
refactor(cmd/joj3): split parse msg & parse conf file
All checks were successful
build / build (push) Successful in 1m4s
build / trigger-build-image (push) Successful in 7s
2024-10-12 06:57:01 -04:00
901290d263 feat: check repo size with conf (#56)
All checks were successful
build / build (push) Successful in 1m11s
build / trigger-build-image (push) Successful in 7s
Co-authored-by: zzjc1234 <2359047351@qq.com>
Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Reviewed-on: #56
Reviewed-by: 张泊明518370910136 <bomingzh@sjtu.edu.cn>
Co-authored-by: 周赵嘉程521432910016 <zzjc123@sjtu.edu.cn>
Co-committed-by: 周赵嘉程521432910016 <zzjc123@sjtu.edu.cn>
2024-10-12 18:30:54 +08:00
ad0918bbde
fix(cmd/joj3): teapot conf
All checks were successful
build / build (push) Successful in 1m4s
build / trigger-build-image (push) Successful in 12s
2024-10-12 01:31:03 -04:00
2d4c7c30a3 refactor(cmd/joj3): conf (#51)
All checks were successful
build / build (push) Successful in 1m6s
build / trigger-build-image (push) Successful in 7s
Reviewed-on: #51
Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Co-committed-by: Boming Zhang <bomingzh@sjtu.edu.cn>
2024-10-12 13:21:58 +08:00
5bbbcb14aa
refactor(internal): rename executor & parser dir
Some checks failed
build / build (push) Successful in 2m3s
build / trigger-build-image (push) Successful in 8s
submodules sync / sync (push) Failing after 30s
2024-10-09 05:38:30 -04:00
995c32efaf feat(cmd/joj): conf with name (#53)
All checks were successful
submodules sync / sync (push) Successful in 36s
build / build (push) Successful in 2m3s
build / trigger-build-image (push) Successful in 8s
Reviewed-on: #53
Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Co-committed-by: Boming Zhang <bomingzh@sjtu.edu.cn>
2024-10-09 15:32:53 +08:00
f785950053
fix(cmd/joj3): use single quote for valid scopes
All checks were successful
submodules sync / sync (push) Successful in 37s
build / build (push) Successful in 1m48s
build / trigger-build-image (push) Successful in 6s
2024-10-08 18:33:18 -04:00
c30ed44633
feat(cmd/joj3): add quote to valid scopes
All checks were successful
submodules sync / sync (push) Successful in 32s
build / build (push) Successful in 2m4s
build / trigger-build-image (push) Successful in 6s
2024-10-08 18:05:06 -04:00
d0b1341af0
fix(cmd/joj): show valid scopes on wrong message
All checks were successful
build / build (push) Successful in 1m45s
submodules sync / sync (push) Successful in 28s
build / trigger-build-image (push) Successful in 6s
2024-10-08 17:10:48 -04:00
e1e4fded28
feat(cmd/joj): exit 1 on error 2024-10-08 17:08:36 -04:00
4c74af43be fix(cmd/joj3): typo
All checks were successful
build / build (push) Successful in 2m2s
build / trigger-build-image (push) Successful in 8s
2024-10-09 02:03:49 +08:00
3f9ec1a71d feat: get release tag from msg scope (#49)
All checks were successful
build / build (push) Successful in 1m46s
build / trigger-build-image (push) Successful in 6s
Check release tag from msg scope.

Co-authored-by: zzjc1234 <2359047351@qq.com>
Reviewed-on: #49
Reviewed-by: 张泊明518370910136 <bomingzh@sjtu.edu.cn>
Co-authored-by: 周赵嘉程521432910016 <zzjc123@sjtu.edu.cn>
Co-committed-by: 周赵嘉程521432910016 <zzjc123@sjtu.edu.cn>
2024-10-08 11:16:14 +08:00
70012012c4 fix: milestone number (#48)
All checks were successful
build / build (push) Successful in 1m39s
build / trigger-build-image (push) Successful in 5s
Co-authored-by: zzjc1234 <2359047351@qq.com>
Reviewed-on: #48
Co-authored-by: 周赵嘉程521432910016 <zzjc123@sjtu.edu.cn>
Co-committed-by: 周赵嘉程521432910016 <zzjc123@sjtu.edu.cn>
2024-10-08 09:10:55 +08:00
72b71e8829
feat: log teapot output without empty line
All checks were successful
build / build (push) Successful in 1m47s
build / trigger-build-image (push) Successful in 6s
2024-10-07 16:57:12 -04:00
5d4e8af9f3
feat: log teapot output by line
All checks were successful
build / build (push) Successful in 1m43s
build / trigger-build-image (push) Successful in 6s
2024-10-07 16:43:18 -04:00
eb77dc6fc4
feat: clean ANSI escape sequences from teapot output
All checks were successful
build / build (push) Successful in 1m40s
build / trigger-build-image (push) Successful in 6s
2024-10-07 16:32:10 -04:00
67e222aa59
feat: support scoreboard & failed table path in conf 2024-10-07 16:26:40 -04:00
1fe7e13c2c
feat: remove env log 2024-10-07 02:46:44 -04:00
50b45df50b
fix: typo
All checks were successful
build / build (push) Successful in 1m31s
build / trigger-build-image (push) Successful in 5s
2024-10-07 02:06:43 -04:00
33bd629b70
feat: log env
All checks were successful
build / build (push) Successful in 1m43s
build / trigger-build-image (push) Successful in 5s
2024-10-07 01:38:40 -04:00
c3faf8ed55 feat: run stages and teapot in joj3 (#47)
All checks were successful
build / build (push) Successful in 1m39s
build / trigger-build-image (push) Successful in 6s
Reviewed-on: #47
Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Co-committed-by: Boming Zhang <bomingzh@sjtu.edu.cn>
2024-10-07 13:27:20 +08:00
b8c0465502
fix: unify comment title level
All checks were successful
build / build (push) Successful in 1m21s
build / trigger-build-image (push) Successful in 5s
2024-10-06 07:30:51 -04:00
92bfca19b8
fix: support multi-line body
All checks were successful
build / build (push) Successful in 1m12s
build / trigger-build-image (push) Successful in 5s
2024-10-06 07:20:11 -04:00
0b248aad6b
feat: unique stages names
All checks were successful
build / build (push) Successful in 1m17s
build / trigger-build-image (push) Successful in 6s
2024-10-05 03:13:24 -04:00
822882f556
fix: only run group on matched
All checks were successful
build / build (push) Successful in 1m20s
build / trigger-build-image (push) Successful in 6s
2024-10-04 05:35:12 -04:00
5c2fe4ffcb
feat: hint valid scopes
All checks were successful
build / build (push) Successful in 1m17s
build / trigger-build-image (push) Successful in 5s
2024-10-03 05:20:34 -04:00
64ae632003
feat: list group keywords
All checks were successful
build / build (push) Successful in 1m15s
build / trigger-build-image (push) Successful in 5s
2024-10-02 19:24:30 -04:00
f5ba04b8e7
feat: more logs
All checks were successful
build / build (push) Successful in 1m17s
build / trigger-build-image (push) Successful in 5s
2024-10-02 16:45:54 -04:00
d723d98de0
feat: parse conventional commits
All checks were successful
build / build (push) Successful in 1m14s
build / trigger-build-image (push) Successful in 6s
2024-10-02 08:21:24 -04:00
5e4786c3b5
feat: log debug log path
All checks were successful
build / build (push) Successful in 1m14s
build / trigger-build-image (push) Successful in 7s
2024-10-01 16:52:18 -04:00
4666eb7375
feat: more debug log
All checks were successful
build / build (push) Successful in 1m13s
build / trigger-build-image (push) Successful in 6s
2024-10-01 16:26:37 -04:00
02d0f49070
feat: more logs
All checks were successful
build / build (push) Successful in 1m13s
build / trigger-build-image (push) Successful in 5s
2024-10-01 16:07:11 -04:00
049a5e6e7e feat: debug log to file & info log to stderr (#43) (#45)
All checks were successful
build / build (push) Successful in 1m8s
build / trigger-build-image (push) Successful in 5s
Reviewed-on: #45
Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Co-committed-by: Boming Zhang <bomingzh@sjtu.edu.cn>
2024-10-02 03:57:31 +08:00
28bf70d0a9 fix: release check (#44)
All checks were successful
build / build (push) Successful in 1m17s
build / trigger-build-image (push) Successful in 5s
Co-authored-by: zzjc1234 <2359047351@qq.com>
Reviewed-on: #44
Reviewed-by: 张泊明518370910136 <bomingzh@sjtu.edu.cn>
Co-authored-by: 周赵嘉程521432910016 <zzjc123@sjtu.edu.cn>
Co-committed-by: 周赵嘉程521432910016 <zzjc123@sjtu.edu.cn>
2024-10-01 23:30:07 +08:00
2029cc8ae9
feat: log meta conf
All checks were successful
build / build (push) Successful in 1m19s
build / trigger-build-image (push) Successful in 5s
2024-10-01 01:42:44 -04:00
6456a64bca
feat: log on meta conf not found 2024-10-01 01:41:44 -04:00
d8ed5809cb
feat: limit meta conf loaders
All checks were successful
build / build (push) Successful in 1m12s
build / trigger-build-image (push) Successful in 6s
2024-10-01 01:36:30 -04:00
0826a3d14a
feat: use -version for version
All checks were successful
build / build (push) Successful in 1m16s
build / trigger-build-image (push) Successful in 6s
2024-10-01 01:15:31 -04:00
198d329c8e
feat: show version
All checks were successful
build / build (push) Successful in 1m17s
build / trigger-build-image (push) Successful in 5s
2024-10-01 00:52:19 -04:00
b40072a485
feat: rename module
All checks were successful
build-image / create-empty-commit (push) Successful in 5s
checks / build (push) Successful in 1m19s
2024-09-30 22:04:18 -04:00
a9a829da3f
feat: rename module
Some checks failed
build-image / create-empty-commit (push) Failing after 4s
checks / build (push) Successful in 1m20s
2024-09-30 17:38:40 -04:00
7ad3a3ab1f
feat: accept all formats of meta-conf
All checks were successful
build-image / create-empty-commit (push) Successful in 6s
checks / build (push) Successful in 1m25s
2024-09-29 06:20:03 -04:00
9800becc96
feat: more info logs 2024-09-26 05:43:37 -04:00
f665e5b2b1
feat: cli arg to specify msg 2024-09-26 05:38:42 -04:00
863e562743
chore: pass neccessary conf only 2024-09-26 02:30:03 -04:00
1bb0ddd253
feat: meta conf flag
All checks were successful
checks / build (push) Successful in 1m21s
2024-09-26 01:06:51 -04:00
3a8e3dfcf4
fix: CopyInDir option
All checks were successful
checks / build (push) Successful in 1m22s
2024-09-25 04:10:11 -04:00
d172fae912
feat: example meta conf
All checks were successful
checks / build (push) Successful in 1m16s
2024-09-25 03:34:33 -04:00
2291264df0
fix: remove typo log 2024-09-21 21:09:39 -04:00
d597c73dd2
feat: use tag & json loader only 2024-09-21 21:09:39 -04:00
1253404c49
feat: use conf.toml -> conf.json 2024-09-21 21:09:39 -04:00
967a859c9f
feat: quit on more errors 2024-09-12 04:36:57 -04:00
5a860f1203 feat: repo health check (#16) (#17)
- repo size
- forbidden files
- meta files
- ascii character in files
- integrity check
- ascii character in the commit message
- release tag check

Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Co-authored-by: zzjc1234 <2359047351@qq.com>
Co-authored-by: Hydraallen <wangruiallen@gmail.com>
Reviewed-on: FOCS-dev/JOJ3#17
Co-authored-by: 周赵嘉程521432910016 <zzjc123@sjtu.edu.cn>
Co-committed-by: 周赵嘉程521432910016 <zzjc123@sjtu.edu.cn>
2024-09-11 20:09:27 +08:00
2928e6321f
chore: rename dummy -> sample 2024-09-10 22:03:25 -04:00
f81581b928 revert: 27a2aac537
All checks were successful
continuous-integration/drone/push Build is passing
revert feat: return 1 on force quit
2024-07-19 19:38:17 +08:00
27a2aac537
feat: return 1 on force quit
Some checks failed
continuous-integration/drone/push Build is failing
2024-07-19 07:12:18 -04:00
b608a22cfd
feat: read sandbox conf
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-30 02:42:51 -04:00
2f8604f647
chore: rename test names
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-20 05:07:10 -04:00
29627d2760
feat: remove submit to gitea
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-21 18:00:56 -04:00
f9dd4e9b68
feat: new test dir
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-20 17:50:53 -04:00
15b8b34476
feat: auto detect tests in exampls
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone Build was killed
2024-04-11 13:19:38 -04:00
51539c1e7c feat: cpplint parser (#22)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn>
Reviewed-on: FOCS-dev/JOJ3#22
2024-04-04 07:29:00 +08:00
b82d6f48d9
chore: re-organize examples 2024-03-31 17:03:08 -04:00
b59380ad4e
feat: go test on examples
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-23 19:55:10 -04:00
3068d77ba5
fix: no conf return value 2024-03-23 18:21:41 -04:00
27a1e4420e
feat: dummy binary + parser example
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-12 16:22:21 -04:00
8e49684abe
style: rename config -> conf for consistency 2024-03-12 15:39:05 -04:00
3d6286c68a
style: setup pre-commit 2024-03-12 03:55:32 -04:00
a55eb04780
feat: parse conf from commit msg
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-06 23:09:06 -05:00
93ce120758
feat: submit to gitea after stages done
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-06 02:29:00 -05:00
7b34a86f67
refactor: use multiconfig to read config
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-05 19:21:52 -05:00
cf53fc7947
chore: lower log level 2024-03-05 05:30:22 -05:00
0e87ad8943
fix: parse config 2024-03-05 04:31:50 -05:00
5c15388882
refactor: rename files -> stdin, stdout, stderr
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-05 02:02:05 -05:00
e128f2eea8
style: fix golangci-lint errors
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-05 01:47:56 -05:00
f5b6b3cc9a
feat: multiple cmds each stage
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-05 01:38:16 -05:00
f73845b1c3
feat: add more configs 2024-03-04 17:57:10 -05:00
b252a54a83
feat: read from config file 2024-03-04 02:11:49 -05:00
5d6bf8c5cd
feat: copy in cached & cleanup 2024-03-04 01:02:44 -05:00
4d594e1d87
refactor: copy go-judge cmd model codes 2024-03-04 00:05:26 -05:00
d5a104e7c4
feat: run single command in sandbox 2024-03-03 18:02:51 -05:00
0a701e3b60
feat: run with parsed toml 2024-03-03 03:14:53 -05:00
df62496537
feat: basic framework 2024-03-03 01:29:34 -05:00
262e253f26
feat: cgroups v1 runner 2024-03-01 01:38:09 -05:00