14361 Commits

Author SHA1 Message Date
Lunny Xiao
f4bbd534b9 Allow gitea bot as trigger user 2022-11-25 17:48:47 +08:00
Lunny Xiao
110072a8d4 Fix log 2022-11-25 17:48:47 +08:00
Lunny Xiao
9a45572ce2 Support bot site 2022-11-25 17:48:47 +08:00
Jason Song
7059cd7265 feat: update runner status 2022-11-25 17:48:47 +08:00
Jason Song
745be45e1b chore: rename to Init 2022-11-25 17:48:47 +08:00
Jason Song
9b021500b0 feat: ignore bots events of repo with disabled builds 2022-11-25 17:48:47 +08:00
Jason Song
717344007a chore: remove GetRunnerByToken 2022-11-25 17:48:47 +08:00
Jason Song
0682f0fcc5 chore: reduse log noise 2022-11-25 17:48:47 +08:00
Jason Song
7b2f1f5a91 chore: fix token format 2022-11-25 17:48:47 +08:00
Jason Song
140d57aecb feat: use runner token hash 2022-11-25 17:48:47 +08:00
Jason Song
94241daaaa feat: check runner token 2022-11-25 17:48:47 +08:00
Jason Song
9c6476754d chore: shouldn't import act_runner 2022-11-25 17:48:47 +08:00
Lunny Xiao
fc2c70033a Add default bot url 2022-11-25 17:48:47 +08:00
Jason Song
1a55d39adc fix: ignore ErrAlreadyInQueue 2022-11-25 17:48:47 +08:00
Jason Song
5d83ffa658 chore: log updating task 2022-11-25 17:48:47 +08:00
Jason Song
ce39e45cc2 chore: reduce log noise 2022-11-25 17:48:47 +08:00
Jason Song
a1ddfb8200 feat: use new FullSteps 2022-11-25 17:48:47 +08:00
Lunny Xiao
aa09eb63e1 Support bot user 2022-11-25 17:48:47 +08:00
Lunny Xiao
1ddf3b2d12 Support push via gitea bot 2022-11-25 17:48:47 +08:00
Lunny Xiao
f55253e81d Support clone private repository in runner 2022-11-25 17:48:47 +08:00
Lunny Xiao
d8b401ab06 Fix virutal user 2022-11-25 17:48:47 +08:00
Jason Song
e19f2c8c44 chore: add ids to task 2022-11-25 17:48:47 +08:00
Jason Song
381d06729b fix: repository in context 2022-11-25 17:48:47 +08:00
fuxiaohei
e218b6f1d2 feat(runner-view): add pagination for jobs in runner details page 2022-11-25 17:48:47 +08:00
fuxiaohei
0c3f283a84 fix(runner-view): missing runner delete modal and routing 2022-11-25 17:48:47 +08:00
Jason Song
706aed2ba6 fix: update color of rerun button 2022-11-25 17:48:47 +08:00
Jason Song
5e7adf2004 chore: add extra fields to Run and RunJob 2022-11-25 17:48:47 +08:00
Jason Song
cab3fc072a fix: use updated to check abandoned jobs 2022-11-25 17:48:47 +08:00
Jason Song
0b62e1da74 feat: rerun jobs 2022-11-25 17:48:47 +08:00
wxiaoguang
37224e2441 fix ui 2022-11-25 17:48:47 +08:00
Bo-Yi.Wu
a20b8aa909 chore(runner): return cancel evnet after upload the log
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:47 +08:00
fuxiaohei
8c3ed11ed9 feat(runner-view): add task list in runnder details page, in admin 2022-11-25 17:48:47 +08:00
Jason Song
8a8214113b fix: use subtle compare 2022-11-25 17:48:47 +08:00
Jason Song
0e74431229 feat: get task by token 2022-11-25 17:48:47 +08:00
Jason Song
64eb15b73c fix: show block icon 2022-11-25 17:48:47 +08:00
Jason Song
465c348922 fix: show blocked jobs 2022-11-25 17:48:47 +08:00
Jason Song
dc7e64041a feat: use job emitter 2022-11-25 17:48:47 +08:00
Jason Song
cf40dca0c4 feat: record job needs 2022-11-25 17:48:46 +08:00
Jason Song
234cdc67e1 fix: run's status should failure with canceled jobs 2022-11-25 17:48:46 +08:00
Jason Song
9da6b9f92d feat: cancel abandoned jobs 2022-11-25 17:48:46 +08:00
Jason Song
83bb244a2c fix: update step status when stoping 2022-11-25 17:48:46 +08:00
Jason Song
705aaf3eb2 feat: stop zombie and endless tasks 2022-11-25 17:48:46 +08:00
Jason Song
b1da53286d feat: show step duration 2022-11-25 17:48:46 +08:00
Jason Song
b4b22e78ad feat: generate token for task 2022-11-25 17:48:46 +08:00
Jason Song
30df383ca0 feat: fix Ln number 2022-11-25 17:48:46 +08:00
Lunny Xiao
339ddf4c5f Virtual user gitea-bots 2022-11-25 17:48:46 +08:00
Bo-Yi.Wu
1e209973ee chore(runner): create new token
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:46 +08:00
Jason Song
3c7fce0d37 fix: distribute log files to folders 2022-11-25 17:48:46 +08:00
fuxiaohei
6a0614f4a5 feat(runner): add repo runners ui pages 2022-11-25 17:48:46 +08:00
fuxiaohei
888b4c8313 feat(runner): finish org runners ui 2022-11-25 17:48:46 +08:00