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

release inspect #543

Merged
merged 20 commits into from
Mar 1, 2025
Merged

release inspect #543

merged 20 commits into from
Mar 1, 2025

Conversation

brooksn
Copy link
Contributor

@brooksn brooksn commented Feb 19, 2025

  • adds a release subcommand inspect
  • adds a config key prime_registry
  • lists information about images used by a published rke2 release.
  • installs github.com/google/go-containerregistry

example

$ release inspect v1.29.9-rc1+rke2r1

image                                            oss  prime  sig  amd64  arm64  win
-----                                            ---  -----  ---  -----  -----  ---
rancher/hardened-coredns:v1.12.0-build20241126   ✓    ✓      ?    ✓      ✓      -
rancher/mirrored-library-traefik:2.11.10         ✓    ✓      ?    ✓      ✓      -

Signed-off-by: Brooks Newberry <[email protected]>
Signed-off-by: Brooks Newberry <[email protected]>

// Image contains information about an image in a specific registry
type Image struct {
Exists bool
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you move this to the bottom of the struct?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fields packed

Signed-off-by: Brooks Newberry <[email protected]>
Signed-off-by: Brooks Newberry <[email protected]>
Signed-off-by: Brooks Newberry <[email protected]>
Signed-off-by: Brooks Newberry <[email protected]>
Signed-off-by: Brooks Newberry <[email protected]>
Signed-off-by: Brooks Newberry <[email protected]>
Signed-off-by: Brooks Newberry <[email protected]>
Signed-off-by: Brooks Newberry <[email protected]>
Signed-off-by: Brooks Newberry <[email protected]>
Signed-off-by: Brooks Newberry <[email protected]>
Signed-off-by: Brooks Newberry <[email protected]>
Signed-off-by: Brooks Newberry <[email protected]>
Signed-off-by: Brooks Newberry <[email protected]>
Signed-off-by: Brooks Newberry <[email protected]>
Signed-off-by: Brooks Newberry <[email protected]>
Signed-off-by: Brooks Newberry <[email protected]>
Signed-off-by: Brooks Newberry <[email protected]>
@brooksn brooksn merged commit 32c3dab into rancher:master Mar 1, 2025
1 check passed
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.

3 participants