pulp-cleanup: add nightly Jenkins job for stale Pulp resource cleanup - #2644
Open
vamahaja wants to merge 1 commit into
Open
pulp-cleanup: add nightly Jenkins job for stale Pulp resource cleanup#2644vamahaja wants to merge 1 commit into
vamahaja wants to merge 1 commit into
Conversation
vamahaja
marked this pull request as draft
July 8, 2026 07:31
vamahaja
force-pushed
the
pulp-cleanup
branch
5 times, most recently
from
July 8, 2026 09:39
f47e5f6 to
72d89d9
Compare
vamahaja
marked this pull request as ready for review
July 8, 2026 13:03
vamahaja
marked this pull request as draft
July 8, 2026 13:06
Contributor
|
I think we need something more like chacra's retention map. Or at least leave this PR as-is but add |
Member
Author
Updated logic PTAL. |
vamahaja
force-pushed
the
pulp-cleanup
branch
6 times, most recently
from
July 14, 2026 11:24
c62087e to
9d67a99
Compare
vamahaja
force-pushed
the
pulp-cleanup
branch
3 times, most recently
from
July 20, 2026 10:49
a0b55c6 to
a83e10c
Compare
Add a nightly Jenkins job and cleanup script that prune stale `Ceph` project Pulp repositories and distributions using `scripts/purge-policy.yaml`. Also update `pulp_upload.sh` so repository version retention uses `keep_minimum` from the purge policy for the current `BRANCH`, falling back to the default when the ref is not listed. Signed-off-by: Vaibhav Mahajan <vamahaja@redhat.com>
vamahaja
marked this pull request as ready for review
July 20, 2026 11:22
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
pulp-cleanup-nightlyJenkins job that purges stalecephproject Pulp repositories and distributions usingscripts/purge-policy.yaml.label-select, deletes remaining resources past the default retention days (distributions before repositories), then runs orphan cleanup.pulp_upload.shso repository version retention uses perBRANCH&keep_minimumfrom the purge policy, with fallback to the default.Job config
pulp-cleanup-nightly, triggered@midnight.CEPH_BUILD_BRANCH(defaultmain),CEPHbool (defaulttrue) to enablecephproject cleanup.cleanup.shwhenCEPHistrue.Purge policy (
scripts/purge-policy.yaml)cephdays: 14,keep_minimum: 3keep_minimumfor repository version retention