Skip to content
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 optional healthcheck scripts to WBS images #755

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

lorenjohnson
Copy link
Contributor

@lorenjohnson lorenjohnson commented Aug 20, 2024

Takes all in-line healthchecks specifics and puts them in a healthcheck.sh for each image. Not applying by default in image (i.e. as a HEALTHCHECK in the Dockerfile) to keep things flexible, but gives the responsibility for how to healthcheck back to the image--which is what Docker recommends. Also removing this specific from Deploy removes one more possible change vector in the Deploy configuration, keeping things easier to maintain and upgrade for users over time. Also has the benefit of making a standard healthcheck option available for the images for use cases outside of Deploy.

In a related move this adds a new IS_JOBRUNNER option the Wikibase image instead of changing the command/entrypoint script. This allows the same health check script to be pointed which now will also healthcheck jobrunner when used in that mode.

This PR is setup with atomic conventional commits and would be best to do a regular merge vs squash.

@lorenjohnson lorenjohnson requested a review from a team August 20, 2024 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant