ci: store workflow artifacts on self-hosted MinIO (DevinoSolutions/artifact) - #1
Merged
Merged
Conversation
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.
Moves every
actions/upload-artifact/actions/download-artifactstep toDevinoSolutions/artifact, a drop-inreplacement that stores artifacts on Devino's own MinIO (
storage.devino.ca) insteadof GitHub's metered artifact storage.
Why: the org is on the free plan (500 MB artifact quota) with a $0 hard-stop Actions
budget, so once the quota is exceeded every artifact upload is rejected. Self-hosted
runners do not avoid this; the upstream action always writes to GitHub's blob store.
What changed
uses:lines swapped toDevinoSolutions/artifact/upload@v1/download@v1; all inputs are compatible.id-token: write, because the action authenticates to MinIO with the job's GitHub OIDC token (no secrets). Where a job had nopermissionsblock,permissions: write-allis added, which equals the repo's current default token scopes plusid-token.retention-daysis honoured via bucket lifecycle rules (rounded up to 1/3/5/7/14/30 days; anything above 30 keeps the 90-day default).Artifacts are listed in each job's step summary as
s3://gh-artifacts/<owner>/<repo>/<run_id>/<name>.tgzand can be fetched withmcor browsed atminio-console.devino.ca.