ci(il4): add a one-time workflow to mirror db fixtures into GHCR - #3093
Closed
terryozaki-wq wants to merge 1 commit into
Closed
terryozaki-wq wants to merge 1 commit into
terryozaki-wq wants to merge 1 commit into
Conversation
workflow_dispatch-only; runs nothing automatically. Lets the IL4-dev-ACCP branch's comparison-fixture mirror (postgres/mariadb -> GHCR) actually be triggered, since GitHub only allows dispatching a workflow once it also exists on the default branch. See IL4-dev-ACCP for the consuming change. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Contributor
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Author
|
Closing without merging — keeping this change scoped to IL4-dev-ACCP instead of the default branch. Reworking the mirror workflow to trigger via push instead of workflow_dispatch so it doesn't need default-branch registration. |
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.
Summary
workflow_dispatch-only workflow,.github/workflows/il4-accp-mirror-db-fixtures.yml. It runs nothing automatically.postgres/mariadbimages used as disposable test fixtures by theIL4-dev-ACCPbranch's comparison step, and republishes them toghcr.io/semoss/semoss-il4-db-fixtures/{postgres,mariadb}, authenticating only with the run's ownGITHUB_TOKEN.IL4-dev-ACCP) already has it as of eed46dbf8.Why
The
IL4-dev-ACCPbuild was hitting Docker Hub's anonymous pull rate limit when pullingpostgres/mariadbfor its concurrent baseline/candidate comparison step. Mirroring those two images into this repo's own GHCR namespace removes the need for any Docker Hub credential in that recurring CI path — once mirrored, the comparison step pulls fromghcr.iousing the GHCR login it already has.Test plan
python3 -c "import yaml; yaml.safe_load(...)"— parses cleanlyactionlint— cleanbash -non everyrun:block — cleandocker/il4/database_fixtures.pyonIL4-dev-ACCPto the mirror🤖 Generated with Claude Code