mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
fix: add service container health check
Refs: https://github.com/nektos/act/pull/2354/files Signed-off-by: https://github.com/ChristopherHX
This commit is contained in:
parent
8819e2a195
commit
d14092ea56
7 changed files with 94 additions and 2 deletions
|
@ -493,6 +493,10 @@ func (e *HostEnvironment) GetRunnerContext(_ context.Context) map[string]interfa
|
|||
}
|
||||
}
|
||||
|
||||
func (e *HostEnvironment) GetHealth(ctx context.Context) Health {
|
||||
return HealthHealthy
|
||||
}
|
||||
|
||||
func (e *HostEnvironment) ReplaceLogWriter(stdout, _ io.Writer) (io.Writer, io.Writer) {
|
||||
org := e.StdOut
|
||||
e.StdOut = stdout
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue