ci: add smoke-docker job to build and health-check image on PR#211
Open
AleF83 wants to merge 1 commit into
Open
ci: add smoke-docker job to build and health-check image on PR#211AleF83 wants to merge 1 commit into
AleF83 wants to merge 1 commit into
Conversation
Adds a smoke-docker job to pr.yaml that builds the Docker image using the same docker/build-push-action@v6 parameters as tag.yaml, starts the container with HTTP-only binding, and probes /health with a bounded 30-attempt retry loop. Catches Dockerfile build failures and startup failures on every PR rather than only at tag push. Closes Soluto#192
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PRs that change the Dockerfile currently fail the E2E suite with a noisy, hard-to-diagnose error rather than a clear build signal. This adds a parallel
smoke-dockerjob that builds the Docker image using the samedocker/build-push-action@v6parameters as the release workflow and probes/healthwith a bounded retry loop, giving every PR a fast, isolated signal that the image builds and starts cleanly. The new job adds < 90s to total PR wall time and runs in parallel with the existing test job.Closes #192