ci(rds): PR dry-run + workflow_dispatch test path for postgres image publish#804
Merged
vieiralucas merged 1 commit intomainfrom Apr 27, 2026
Merged
Conversation
…_dispatch PRs that touch the workflow or the embedded postgres assets now run the full multi-arch build (no push) so we catch Dockerfile typos and workflow syntax breaks before they hit a release tag. `workflow_dispatch` runs the publish path end-to-end too, but tags images as `<major>-dev-<sha>` instead of `<major>-<version>` (and skips the rolling `<major>` tag) — gives us a way to verify ghcr.io push, multi-arch manifest merge, and metadata-action wiring against real artifacts before cutting a release.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This was referenced Apr 27, 2026
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.
Follow-up to #803. Verifies the prebuilt-postgres-image publish path before we cut a release.
Summary
pull_requesttrigger on.github/workflows/docker-rds-images.yml(paths-filtered to the workflow file +crates/fakecloud-rds/assets/postgres/**). Runs the full multi-arch build for all 4 postgres majors withpush: false— catches Dockerfile typos and workflow syntax regressions before a release tag fires.workflow_dispatchnow publishes to ghcr.io but tagged as<major>-dev-<short-sha>instead of<major>-<version>. Also skips the rolling<major>tag. End-to-end validation of the push + manifest-merge path without polluting release tags.v*tag push, behaviour is unchanged:<major>-<version>pinned + rolling<major>.Test plan
docker-rds-images.ymlviaworkflow_dispatchagainstmain. Expect it to publish 4 images tagged<major>-dev-<short-sha>toghcr.io/faiscadev/fakecloud-postgres.docker pull ghcr.io/faiscadev/fakecloud-postgres:16-dev-<sha>and confirm both arches are present in the manifest list.v0.13.1. The real release will exercise the same publish path with the proper<major>-<version>+ rolling<major>tags.Summary by cubic
Adds a PR dry-run and a dev-tagged workflow_dispatch path to validate the prebuilt Postgres image pipeline before releases. Real release tags still publish
<major>-<version>plus rolling<major>with no behavior change.crates/fakecloud-rds/assets/postgres/**run the full multi-arch build for Postgres 13–16 onlinux/amd64andlinux/arm64with no push, to catch build/workflow issues early.workflow_dispatchpublishes toghcr.io/faiscadev/fakecloud-postgreswith<major>-dev-<short-sha>tags and merged multi-arch manifests, skipping the rolling<major>tag.Written for commit 867ce12. Summary will update on new commits. Review in cubic