Commit graph

486 commits

Author SHA1 Message Date
Bo-Yi.Wu
5051e4aebd chore(runtime): check error message
data lock by another runner.

Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-24 15:37:18 +08:00
Bo-Yi.Wu
d3d56ed0ef chore(runtime): fetch build data
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-24 15:37:17 +08:00
Bo-Yi.Wu
631f801aa6 chore(gRPC): fetch new stage data.
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-24 15:37:16 +08:00
fuxiaohei
6030610c04 feat: task can report step and final result 2022-11-24 15:37:14 +08:00
Bo-Yi.Wu
9be39b8cd4 chore(gRPC): add update and update step for client
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-24 15:37:13 +08:00
Bo-Yi.Wu
f2fb8798fa chore(gRPC): add request interface client
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-24 15:37:11 +08:00
Bo-Yi.Wu
449388f3ab chore(gRPC): register new runner
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-24 15:37:10 +08:00
Bo-Yi.Wu
a3e9bbed25 chore: Add makefile
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-24 15:37:09 +08:00
Gitea
3281c6637d feat: fill default task runner 2022-11-24 15:37:08 +08:00
Gitea
c5edbbd004 feat: move main task logic to runtime package 2022-11-24 15:37:06 +08:00
GiteaBot
aa765ea4d0 chore(go): rename module name
Signed-off-by: GiteaBot <teabot@gitea.io>
2022-11-24 15:37:03 +08:00
GiteaBot
307c2c63de chore(proto): replace import path.
Signed-off-by: GiteaBot <teabot@gitea.io>
2022-11-24 15:37:02 +08:00
Bo-Yi Wu
7d55fd57c9 chore(piepline): add runtime package.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-11-24 15:37:01 +08:00
Bo-Yi Wu
bca586ffd0 chore: Add time sleep 1 second.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-11-24 15:36:58 +08:00
Bo-Yi Wu
d359276fe1 chore(client): support gRPC and gRPC web protocol
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-11-24 15:36:57 +08:00
Bo-Yi Wu
0b885c5e5f chore(poller): Add poller package
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-11-24 15:36:56 +08:00
Bo-Yi Wu
4d7ef95d40 chore(proto): Add ping request.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-11-24 15:36:54 +08:00
Bo-Yi Wu
14a345504f refactor: docker engine with options 2022-11-24 15:36:51 +08:00
Bo-Yi Wu
4eb5213294 chore(engine): ping docker daemon
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-11-24 15:36:49 +08:00
Bo-Yi Wu
9225a3a856 chore(config): remove zerolog
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-11-24 15:36:48 +08:00
Lunny Xiao
b83f36674b Fix build 2022-11-24 15:36:47 +08:00
fuxiaohei
dfcb104af0 feat: add task log output hook 2022-11-24 15:36:46 +08:00
Lunny Xiao
3b7ac17410 Use fork instead of act 2022-11-24 15:36:45 +08:00
Lunny Xiao
906d52ae0b Use gitea.com/gitea/act replace original 2022-11-24 15:36:31 +08:00
Bo-Yi Wu
aa9ed05903 chore: load config from env file 2022-11-24 15:36:30 +08:00
Bo-Yi Wu
5213612033 chore: remove unused logrous package 2022-11-24 15:36:29 +08:00
Bo-Yi Wu
518aa1b2a7 chore: add .golangci config 2022-11-24 15:36:28 +08:00
Bo-Yi Wu
827bd953e7 chore: fix lint error 2022-11-24 15:36:26 +08:00
Bo-Yi Wu
e54de37242 refactor: Add graceful shutdown signal notify func 2022-11-24 15:36:25 +08:00
Bo-Yi Wu
08282a519f stash
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2022-11-24 15:36:23 +08:00
Lunny Xiao
db7ee2eaf4 log 2022-11-24 15:36:22 +08:00
Lunny Xiao
c7cb750616 refactor functions 2022-11-24 15:36:21 +08:00
Lunny Xiao
5903c08c14 update protocol 2022-11-24 15:36:20 +08:00
Lunny Xiao
2babadbc94 Add websocket 2022-11-24 15:36:19 +08:00
Lunny Xiao
e397fcc259 Add license 2022-11-24 15:36:16 +08:00
Lunny Xiao
eee792a019
init project 2022-04-27 17:45:53 +08:00