Skip to content

chore(ci): improve GHCR cleanup workflow#25037

Draft
pront wants to merge 2 commits intomasterfrom
chore/cleanup-ghcr-improvements
Draft

chore(ci): improve GHCR cleanup workflow#25037
pront wants to merge 2 commits intomasterfrom
chore/cleanup-ghcr-improvements

Conversation

@pront
Copy link
Member

@pront pront commented Mar 24, 2026

Summary

Improves the weekly GHCR cleanup workflow with three changes:

  • Add a new step to delete dated nightly tags (e.g. nightly-2025-01-15-alpine) older than 30 days, with an explicit guard to never touch semver/release tags
  • Increase test-runner cleanup batch size from 50 to 100 per run to drain backlogs faster
  • Add continue-on-error: true to the test-runner step (was missing, unlike the vector step)

Vector configuration

N/A

How did you test this PR?

Reviewed the jq filter logic manually. The dated nightly deletion step has two guards:

  1. Skip any version where any tag matches ^[0-9]+.[0-9]+ (release tags)
  2. Only delete versions with a tag matching ^nightly-YYYY-MM-DD-* that are older than 30 days

Change Type

  • Bug fix
  • New feature
  • Dependencies
  • Non-functional (chore, refactoring, docs)
  • Performance

Is this a breaking change?

  • Yes
  • No

Does this PR include user facing changes?

  • Yes. Please add a changelog fragment based on our guidelines.
  • No. A maintainer will apply the no-changelog label to this PR.

References

N/A

pront and others added 2 commits March 24, 2026 13:49
… AGENTS.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add step to delete dated nightly tags older than 30 days, guarded
  against semver/release tags
- Increase test-runner cleanup batch size from 50 to 100
- Add continue-on-error to test-runner step
- Update workflow name and header comment

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added the domain: ci Anything related to Vector's CI environment label Mar 24, 2026
@pront pront added the no-changelog Changes in this PR do not need user-facing explanations in the release changelog label Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: ci Anything related to Vector's CI environment no-changelog Changes in this PR do not need user-facing explanations in the release changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant