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

[Feature] Cleanup tags which are no longer in use #13

Open
NorseGaud opened this issue Apr 12, 2019 · 2 comments
Open

[Feature] Cleanup tags which are no longer in use #13

NorseGaud opened this issue Apr 12, 2019 · 2 comments

Comments

@NorseGaud
Copy link
Contributor

Problem: Disk space is limited. The Anka design by default presumes you're not going to be changing tags often and if you are it has plenty of disk space to store multiple tags. The way I've designed our pipeline is for on-demand pulling of tags when a pipeline starts and we frequently have new tags. I'm resorting to using -s (shrink) for pulls for now but that adds a few minutes to each pipeline.

Request: I'm contacting anka now.

Requests:

  1. I would like to see anka describe show layer information like anka registry describe TEMPLATE -t TAG does but also indicate the last time the tag was used on the machine.
  2. Then, the anka registry describe should show the last time the tag was pulled.
  3. In addition to 1 and 2, It would be nice if there was a anka CLI option allowing me to delete the specific tag locally or in the registry (anka delete TEMPLATE -t TAG & anka registry remove TEMPLATE -t TAG). I can script something to do this with 1 and 2, but I would rather trust the anka CLI tool to do the cleanup.
@NorseGaud
Copy link
Contributor Author

NorseGaud commented Apr 12, 2019

izik [1:11 PM]
I am trying to push this feature to next major release of anka, but this release may take about 3 weeks before it out

@tduffield
Copy link
Contributor

Is this still an issue?

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

No branches or pull requests

2 participants