Commit Graph

14370 Commits

Author SHA1 Message Date
Bo-Yi.Wu 5d849cea33 chore(runner): remove update runner status
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:48 +08:00
Lunny Xiao 88b0ab89d0 Gitea bot will not fire the events otherwise it may causes a forever loop 2022-11-25 17:48:48 +08:00
Jason Song 736275f0b1 feat: support cancel button 2022-11-25 17:48:48 +08:00
Jason Song f3a9a25682 fix: remove build view header 2022-11-25 17:48:47 +08:00
Jason Song 5230c7a364 fix: remove debug log 2022-11-25 17:48:47 +08:00
Bo-Yi Wu 797cdfbdb8 chore(runner): return task state. 2022-11-25 17:48:47 +08:00
Jason Song 0f5aab0c1a chore: remove Result from task and step 2022-11-25 17:48:47 +08:00
Jason Song dd417a3270 chore: move job emitter to service 2022-11-25 17:48:47 +08:00
Lunny Xiao f57e6999a2 Remove unused file 2022-11-25 17:48:47 +08:00
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