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

New unified werf cleanup procedure #2212

Closed
distorhead opened this issue Mar 10, 2020 · 1 comment
Closed

New unified werf cleanup procedure #2212

distorhead opened this issue Mar 10, 2020 · 1 comment
Projects

Comments

@distorhead
Copy link
Member

distorhead commented Mar 10, 2020

Implement new unified cleanup algorithm for all tagging strategies.

  • Keep no more than N images related with N last commits for all git heads.
  • Keep no more than N stages related with N last commits for all git heads.
  • Keep all images that are being used in the Kubernetes.
  • Keep all images that are recorded in the Helm release manifests.
  • Stage can be cleared if it is not related with no HEAD and it is not used in Kubernetes and Helm.

image

@dmgtn
Copy link
Member

dmgtn commented Mar 10, 2020

Crazy drawings in Russian ))). As the author of them, I apologize. We are doing our best to make the design and decision making process public, but as we are a small team it sometimes seems easier to implement and than to document it, rather than going the right way. Sorry about that.

@alexey-igrychev alexey-igrychev added this to To do in 1.1 via automation Jun 9, 2020
@alexey-igrychev alexey-igrychev moved this from To do to In progress in 1.1 Jun 9, 2020
@alexey-igrychev alexey-igrychev moved this from In progress to Done in 1.1 Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
1.1
  
Done
Development

No branches or pull requests

3 participants