Skip to content

Conversation

@BATMAN-JD
Copy link
Contributor

… Image Expiration LABELS for dev images

Attempting to split the Jobs of carpenter by branch. If the build is triggered on the main branch it will build as normal and push to quay with the latest tag and the integration of quay expiration time label will be set to the default of never.
If the build is triggered under any other branch for development. It will create the image with a tag of the branch and small hash, as well as setting the quay expiration label to 90 days to auto delete from the quay repository.

Please explain your changes here.


By contributing to this repository, I agree to the contribution guidelines.

@BATMAN-JD
Copy link
Contributor Author

A note if someone is diving through the logs...The Quay Image Expiration LABEL will not be included in image until PR arcalot/arcaflow-container-toolkit#22 is merged. This PR in carpenter will allow this to be set in image build options

@BATMAN-JD BATMAN-JD marked this pull request as ready for review November 10, 2022 15:08
@BATMAN-JD BATMAN-JD self-assigned this Nov 10, 2022
@BATMAN-JD BATMAN-JD added the enhancement New feature or request label Nov 10, 2022
@portante
Copy link

Also, in general, you want to try to follow git commit message "rules".

@BATMAN-JD
Copy link
Contributor Author

I wrote my last commit prior to seeing this message. I will utilize this information moving forward

@dustinblack dustinblack merged commit a984bf1 into arcalot:main Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants