Commit Graph

90 Commits

Author SHA1 Message Date
Jason Song 736275f0b1 feat: support cancel button 2022-11-25 17:48:48 +08:00
Jason Song 0f5aab0c1a chore: remove Result from task and step 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 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 717344007a chore: remove GetRunnerByToken 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 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 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 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
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 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
Lunny Xiao 339ddf4c5f Virtual user gitea-bots 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
Lunny Xiao 82c6fc2217 Add commit status for push event 2022-11-25 17:48:46 +08:00
Jason Song 964f67e189 chore: remove unique index of runner name 2022-11-25 17:48:46 +08:00
Jason Song 04634b9143 feat: pick jobs of the runner only 2022-11-25 17:48:46 +08:00
Jason Song ec673c0e79 fix: avoid assigning job to multiple runners 2022-11-25 17:48:46 +08:00
Jason Song 9647989d99 fix: update nums when update runs 2022-11-25 17:48:46 +08:00
Jason Song 6531738b2e fix: builds UI 2022-11-25 17:48:46 +08:00
Jason Song dee4f2470b feat: inner build view UI 2022-11-25 17:48:46 +08:00
Jason Song d6e100f6be fix: update run status 2022-11-25 17:48:46 +08:00
Jason Song 3d4d44dadf fix: use index of run 2022-11-25 17:48:46 +08:00
Jason Song 9292e9ebdb fix: add methods of status 2022-11-25 17:48:46 +08:00
fuxiaohei 25fe4f6d9e feat(runner): make admin runner template as common template, use for org runners setting 2022-11-25 17:48:46 +08:00
Jason Song dca2ca2f47 fix: remove usage of core 2022-11-25 17:48:46 +08:00
Jason Song 6cdbf3e986 fix: use new Status 2022-11-25 17:48:46 +08:00
Jason Song feab4b1601 feat: update task status 2022-11-25 17:48:45 +08:00
Jason Song a8f74d4ec8 fix: make run index group by repo id only 2022-11-25 17:48:45 +08:00
Lunny Xiao b65e263f92 Fix filter count 2022-11-25 17:48:45 +08:00
Lunny Xiao 3518c098b9 Improve ui for builds 2022-11-25 17:48:45 +08:00
Lunny Xiao d69423a3b0 UI improvement 2022-11-25 17:48:45 +08:00
Jason Song 7c40b1ee8d fix: log index of last step 2022-11-25 17:48:45 +08:00
Lunny Xiao 57cc7bf823 improve UI 2022-11-25 17:48:45 +08:00
Jason Song dcc552011e fix: right log index out of steps 2022-11-25 17:48:45 +08:00
Lunny Xiao 7e01f8ce66 Fix bug 2022-11-25 17:48:45 +08:00