Commit Graph

3682 Commits

Author SHA1 Message Date
Lunny Xiao
da981db596 finish adding and deleting secret for repository settting 2022-11-25 17:48:46 +08:00
Lunny Xiao
ab4f539453 add models and services 2022-11-25 17:48:46 +08:00
Lauris BH
d4e84c0433 Add simple master key provider for secret encryption 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
3d4d44dadf fix: use index of run 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
feab4b1601 feat: update task status 2022-11-25 17:48:45 +08:00
Lunny Xiao
b65e263f92 Fix filter count 2022-11-25 17:48:45 +08:00
fuxiaohei
38b36edc5c feat(runner): add runner page in repo and org settings 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
8dbe30dff9 feat: tranfer log to storage 2022-11-25 17:48:45 +08:00
Jason Song
d2f8d5ded1 fix: use file name for log 2022-11-25 17:48:45 +08:00
Jason Song
dd5b2c5dfd feat: optimize log indexes 2022-11-25 17:48:45 +08:00
Jason Song
d7b99e0028 feat: use dbfs to store log 2022-11-25 17:48:45 +08:00
fuxiaohei
f633ec9704 feat(runner): create new token for creating new runner 2022-11-25 17:48:45 +08:00
Lunny Xiao
243c1e5134 Add workflow 2022-11-25 17:48:45 +08:00
Lunny Xiao
f75a4abc5d build UI 2022-11-25 17:48:45 +08:00
Lunny Xiao
482832da76 delete unused structs 2022-11-25 17:48:45 +08:00
Bo-Yi.Wu
4c2d976629 chore(runner): get runner by uuid from header
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:45 +08:00
Bo-Yi.Wu
eeaac2c9f7 chore(runner): remove url checker from register
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:45 +08:00
Jason Song
1cba52376a feat: use run id and job id in page view 2022-11-25 17:48:45 +08:00
Jason Song
d320eb66f4 feat: fetch job data 2022-11-25 17:48:45 +08:00
Jason Song
027d748fe2 feat: api for fetch job state 2022-11-25 17:48:45 +08:00
Bo-Yi Wu
b7aaa3ba77 chore(runner): support update runner status. 2022-11-25 17:48:45 +08:00
fuxiaohei
fbb9f437a6 feat(runner): delete runner from admin html page 2022-11-25 17:48:45 +08:00
fuxiaohei
5b989e2a11 feat(bots): update runner data in html page 2022-11-25 17:48:45 +08:00
Jason Song
848a1ae309 feat: receive task logs 2022-11-25 17:48:45 +08:00
Jason Song
7497155d14 feat: update step state 2022-11-25 17:48:45 +08:00
Jason Song
6df53243aa feat: create task steps 2022-11-25 17:48:45 +08:00
fuxiaohei
9648482ed6 feat(bots): move runner status update function to context 2022-11-25 17:48:45 +08:00
fuxiaohei
dff0d4b907 feat(runner): update edit.html 2022-11-25 17:48:45 +08:00
fuxiaohei
206b2a104e feat(runner): begin runner view ui 2022-11-25 17:48:44 +08:00
fuxiaohei
1a78fd3494 feat(runner): update runner last_online and status when FetchTask 2022-11-25 17:48:44 +08:00
Jason Song
32a5797608 chore: debug runner log reporting 2022-11-25 17:48:44 +08:00
Jason Song
79966763c6 feat: distribute tasks to runner 2022-11-25 17:48:44 +08:00
Bo-Yi.Wu
6f18f76577 chore(runner): update runner status using proto define
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00
Jason Song
530faf7227 feat: assign task to runner 2022-11-25 17:48:44 +08:00
Bo-Yi.Wu
4233090738 chore(runner): get token from header
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu
f79bc4f605 chore(runner): vaildate the repo URL
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu
ade88b3a7b chore(runner): register new runner
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00
Jason Song
e21c07cc55 feat: parse runner from ctx 2022-11-25 17:48:44 +08:00
Bo-Yi.Wu
4dd135580f chore(runner): update to latest proto format.
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00
wxiaoguang
4f2330623e view logs 2022-11-25 17:48:44 +08:00
Bo-Yi.Wu
fb738c4192 chore(runner): support fetch detail stage data
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu
8255915350 chore: move core package to top folder.
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu
1148903d79 refactor: move build status to core package 2022-11-25 17:48:44 +08:00
Bo-Yi.Wu
ea0cf8515e chore(gRPC): handle requesut for stage data
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00