-
-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an healthcheck to server container #1943
Comments
Background info:
|
Yes but we cant use wget and need a build in func for tje from-scratch container |
|
but |
The best option would be to add a command line option that would call the health check endpoint and return the exit code based on response |
That's exactly whatvi try to write 😅 |
Fixes: #1943 Note: Kubernetes ignores the container `HEALTHCHECK` by default. --------- Co-authored-by: 6543 <[email protected]>
like the agent:
woodpecker/docker/Dockerfile.agent.multiarch
Line 21 in 205f8ec
ref https://docs.docker.com/engine/reference/builder/#healthcheck
TODO:
woodpecker/server/router/router.go
Line 69 in 205f8ec
The text was updated successfully, but these errors were encountered: