-
Notifications
You must be signed in to change notification settings - Fork 543
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
feat: implement gc command #1811
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1811 +/- ##
==========================================
- Coverage 71.88% 71.65% -0.24%
==========================================
Files 122 123 +1
Lines 9832 9928 +96
==========================================
+ Hits 7068 7114 +46
- Misses 2081 2115 +34
- Partials 683 699 +16 ☔ View full report in Codecov by Sentry. |
Test failures seems unrelated. probably expired token. |
….17.0 (#35) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/google/go-containerregistry](https://togithub.com/google/go-containerregistry) | require | minor | `v0.16.1` -> `v0.17.0` | --- ### Release Notes <details> <summary>google/go-containerregistry (github.com/google/go-containerregistry)</summary> ### [`v0.17.0`](https://togithub.com/google/go-containerregistry/releases/tag/v0.17.0) [Compare Source](https://togithub.com/google/go-containerregistry/compare/v0.16.1...v0.17.0) #### What's Changed - 🦅 Validate index architectures match children 🦅 by [@​jonjohnsonjr](https://togithub.com/jonjohnsonjr) in [https://github.com/google/go-containerregistry/pull/1776](https://togithub.com/google/go-containerregistry/pull/1776) - Set Content-Length for blob uploads by [@​jonjohnsonjr](https://togithub.com/jonjohnsonjr) in [https://github.com/google/go-containerregistry/pull/1781](https://togithub.com/google/go-containerregistry/pull/1781) - Don't wrap DefaultKeychain with refreshes by [@​jonjohnsonjr](https://togithub.com/jonjohnsonjr) in [https://github.com/google/go-containerregistry/pull/1791](https://togithub.com/google/go-containerregistry/pull/1791) - Build releases with Go 1.21 by [@​imjasonh](https://togithub.com/imjasonh) in [https://github.com/google/go-containerregistry/pull/1840](https://togithub.com/google/go-containerregistry/pull/1840) - fix: mimic oci-layout in diskblobhandler by [@​thesayyn](https://togithub.com/thesayyn) in [https://github.com/google/go-containerregistry/pull/1810](https://togithub.com/google/go-containerregistry/pull/1810) - tag: add command explanation to the long help by [@​abitrolly](https://togithub.com/abitrolly) in [https://github.com/google/go-containerregistry/pull/1843](https://togithub.com/google/go-containerregistry/pull/1843) - feat: implement gc command by [@​thesayyn](https://togithub.com/thesayyn) in [https://github.com/google/go-containerregistry/pull/1811](https://togithub.com/google/go-containerregistry/pull/1811) - feat: allow port and disk path to be overriden by [@​thesayyn](https://togithub.com/thesayyn) in [https://github.com/google/go-containerregistry/pull/1848](https://togithub.com/google/go-containerregistry/pull/1848) **Full Changelog**: google/go-containerregistry@v0.16.1...v0.17.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/crossplane-contrib/xp-testing). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
This is needed for a case where we use oci-layout as the registry storage directory and there are unreferenced blobs. We want to remove them during pull into the storage directory. I marked this as hidden to get some mileage in rules_oci.