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
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
c42577642d
fix: seek write of dbfs
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
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
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
e68295fb7c
chore(dep): upgrade proto-go
2022-11-25 17:48:45 +08:00
Jason Song
7be1d90a5a
fix: ack right index
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
Bo-Yi Wu
699f5c5a06
chore(runner): add soft deleted field
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
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
ade88b3a7b
chore(runner): register new runner
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu
0993c40c4f
chore(runner): create runner token table
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
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
Jason Song
f355188e12
feat: parse workflows
2022-11-25 17:48:44 +08:00
Jason Song
905bce6cb6
feat: models for runner task
2022-11-25 17:48:44 +08:00
wxiaoguang
5f0cb6b9e5
fix merge
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
Lunny Xiao
db02603882
Fix bug
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
Bo-Yi.Wu
68d416bd1b
chore(gRPC): initial request method
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu
e07d416366
chore(model): create build, stage, step and logs table
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00
Bo-Yi.Wu
e05f224d19
chore(runner): support register
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00
wxiaoguang
92d15afd18
database-filesystem, demo log tailing in term
2022-11-25 17:48:43 +08:00
Lunny Xiao
931d8c2c21
add runners management ui
2022-11-25 17:48:43 +08:00
Lunny Xiao
a1bd3a8932
Fix build
2022-11-25 17:48:43 +08:00
Lunny Xiao
2c4f6fd42f
add most tables
2022-11-25 17:48:43 +08:00
Lunny Xiao
5a479bb034
Add builds UI
2022-11-25 17:48:43 +08:00
Lunny Xiao
7732392a96
Add bots
2022-11-25 17:48:33 +08:00
Jason Song
702f4b521e
Add index for access_token ( #21908 )
...
The `token_last_eight` field has been used in `GetAccessTokenBySHA `:
2022-11-23 20:49:41 -06:00
Xinyu Zhou
e483ec3a00
Fix vertical align of committer avatar rendered by email address ( #21884 )
...
Committer avatar rendered by `func AvatarByEmail` are not vertical align
as `func Avatar` does.
- Replace literals `ui avatar` and `ui avatar vm` with the constant
`DefaultAvatarClass`
2022-11-23 15:57:37 -06:00
zeripath
787f6c3227
Ensure that Webhook tasks are not double delivered ( #21558 )
...
When re-retrieving hook tasks from the DB double check if they have not
been delivered in the meantime. Further ensure that tasks are marked as
delivered when they are being delivered.
In addition:
* Improve the error reporting and make sure that the webhook task
population script runs in a separate goroutine.
* Only get hook task IDs out of the DB instead of the whole task when
repopulating the queue
* When repopulating the queue make the DB request paged
Ref #17940
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-11-23 22:10:04 +08:00
zeripath
4c00d8f916
Move migration test fixtures to the correct directories ( #21901 )
...
Unfortunately #21549 changed the name of Testcases without changing
their associated fixture directories.
Fix #21854
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-11-23 18:24:55 +08:00