Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable nightly expiring container builds #114

Merged
merged 1 commit into from
Apr 9, 2021

Conversation

chambridge
Copy link
Contributor

@chambridge chambridge commented Apr 9, 2021

  • Add optional label to each of the images that allows quay to automatically prune images.
  • Add ci step to get the latest release tag
  • Set QUAY_IMAGE_TAG to latest release tag + the day of the year
  • Set QUAY_EXPIRE to 14 to keep images for 2 weeks initially
  • Run publish again where new environment variables should publish expiring images

fixes #8530
https://pulp.plan.io/issues/8530

Reference: https://docs.projectquay.io/use_quay.html#tag-expiration

* Add optional label to each of the images that allows quay to automatically prune images.
* Add ci step to get the latest release tag
* Set QUAY_IMAGE_TAG to latest release tag + the day of the year
* Set QUAY_EXPIRE to 14 to keep images for 2 weeks initially
* Run publish again where new environment variables should publish expiring images

fixes #8530
https://pulp.plan.io/issues/8530
@pulpbot
Copy link
Member

pulpbot commented Apr 9, 2021

Attached issue: https://pulp.plan.io/issues/8530

@chambridge chambridge marked this pull request as ready for review April 9, 2021 19:42
Copy link
Member

@fao89 fao89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty cool!

@chambridge chambridge merged commit 7a84cb8 into pulp:main Apr 9, 2021
@chambridge chambridge deleted the 8530-expiring-nightly-images branch April 9, 2021 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants