Skip to content

Conversation

sudo-bmitch
Copy link
Contributor

Fixes issue

Fixes #861.

Describe the change

Improve the error message when regctl image inspect is used on an artifact. Artifacts can have their configuration retrieved with regctl artifact get --config. This also improves test coverage.

How to verify it

regctl image inspect ocidir://testdata/testrepo:a1

Changelog text

  • Chore: Improve error message when inspecting artifacts

Please verify and check that the pull request fulfills the following requirements

  • Tests have been added or not applicable
  • Documentation has been added, updated, or not applicable
  • Changes have been rebased to main
  • Multiple commits to the same code have been squashed

Artifacts can have their configuration retrieved with "regctl artifact get --config".
This also improves test coverage.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch force-pushed the pr-image-config-artifact-err branch from abcc21f to f5f7fe6 Compare November 22, 2024 15:31
@sudo-bmitch sudo-bmitch merged commit 374f095 into regclient:main Nov 22, 2024
5 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-image-config-artifact-err branch November 22, 2024 15:35
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.

support fluxcd.io oci artifacts media types (and possible others?)
1 participant