Jason Song
|
88ae188699
|
fix: ignore stuck because of wrong token
|
2022-11-24 15:38:02 +08:00 |
|
Bo-Yi Wu
|
9830f34d36
|
fix(poller): graceful shutdown
|
2022-11-24 15:38:01 +08:00 |
|
Lunny Xiao
|
8cffac65d9
|
Use normal images which includes git command
|
2022-11-24 15:38:00 +08:00 |
|
Jason Song
|
2e1326b725
|
fix: set NoSkipCheckout
|
2022-11-24 15:37:58 +08:00 |
|
Bo-Yi Wu
|
abdb547b1b
|
chore(poller): add metric to track the worker number
Add metric to track multiple task.
|
2022-11-24 15:37:53 +08:00 |
|
Bo-Yi Wu
|
d1114da299
|
chore(runner): wait workflow done before shutdown the service
|
2022-11-24 15:37:52 +08:00 |
|
Jason Song
|
cbd21b8ec5
|
feat: avoid reuse of containers
|
2022-11-24 15:37:51 +08:00 |
|
Jason Song
|
d650bae0b6
|
feat: replace ciphertext in log
|
2022-11-24 15:37:50 +08:00 |
|
Lunny Xiao
|
222b5100b6
|
add new envs
|
2022-11-24 15:37:48 +08:00 |
|
Jason Song
|
93e42d1465
|
fix: call RunDaemon
|
2022-11-24 15:37:47 +08:00 |
|
Lunny Xiao
|
93c8de3ec4
|
get token
|
2022-11-24 15:37:46 +08:00 |
|
Bo-Yi.Wu
|
2442cdd8ad
|
fix(runner): check task state field exist.
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
|
2022-11-24 15:37:45 +08:00 |
|
Bo-Yi.Wu
|
08c94bb564
|
chore(runner): cancel task if get the cancel from server
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
|
2022-11-24 15:37:44 +08:00 |
|
Bo-Yi.Wu
|
d178051832
|
chore(runner): add new token in header
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
|
2022-11-24 15:37:43 +08:00 |
|
Jason Song
|
2f879c41c4
|
chore: remove tracing codes
|
2022-11-24 15:37:42 +08:00 |
|
Jason Song
|
41b5fa6b55
|
fix: update step result
|
2022-11-24 15:37:41 +08:00 |
|
Lunny Xiao
|
378966e45f
|
add forgeinstance
|
2022-11-24 15:37:40 +08:00 |
|
Lunny Xiao
|
9c7d2be7c6
|
Fix bug
|
2022-11-24 15:37:39 +08:00 |
|
Bo-Yi.Wu
|
e08495af09
|
chore(runner): remove client secret and add UUID in runner
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
|
2022-11-24 15:37:38 +08:00 |
|
Bo-Yi.Wu
|
bf5e3dc302
|
chore(runner): add runner uuid in http header.
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
|
2022-11-24 15:37:37 +08:00 |
|
Bo-Yi.Wu
|
a503f7429f
|
chore(runner): add new register command
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
|
2022-11-24 15:37:36 +08:00 |
|
Jason Song
|
cce60d466b
|
fix: need more time to run task
|
2022-11-24 15:37:35 +08:00 |
|
Bo-Yi Wu
|
7bebd2bbad
|
chore(runner): update runner status when start job
|
2022-11-24 15:37:34 +08:00 |
|
Bo-Yi Wu
|
d4c1515f4e
|
chore(runner): update runner status if start program
|
2022-11-24 15:37:32 +08:00 |
|
fuxiaohei
|
45b0429b21
|
chore(poller): add error retry limit
|
2022-11-24 15:37:30 +08:00 |
|
Bo-Yi Wu
|
dada0730b0
|
chore(runner): add default label ""self-hosted"
see https://docs.github.com/en/actions/hosting-your-own-runners/using-self-hosted-runners-in-a-workflow#using-default-labels-to-route-jobs
|
2022-11-24 15:37:27 +08:00 |
|
Bo-Yi.Wu
|
c161a48a0a
|
chore(register): update proto file.
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
|
2022-11-24 15:37:26 +08:00 |
|
Bo-Yi.Wu
|
3a1503138b
|
chore(runner): refactor register flow
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
|
2022-11-24 15:37:24 +08:00 |
|
Bo-Yi.Wu
|
7486d2ab91
|
chore(runner): update fetch job request
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
|
2022-11-24 15:37:22 +08:00 |
|
Bo-Yi.Wu
|
82431d8e11
|
chore(runner): support update log and task
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
|
2022-11-24 15:37:21 +08:00 |
|
Bo-Yi.Wu
|
20c3d85ba9
|
refactor(task): execute single task with gRPC data
|
2022-11-24 15:37:19 +08:00 |
|
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 |
|