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

show output of podman image search --list-tags command #407

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

mbussolotto
Copy link
Member

@mbussolotto mbussolotto commented Jul 18, 2024

What does this PR change?

show output of podman image search --list-tags command, so in case of failure it would provide more info. E.g.

suma50:~ # ./mgradm upgrade podman list --image registry.suse.com/suse/manager/5.0/x86_64/server
3:53PM INF Welcome to mgradm
3:53PM INF Executing command: list
3:53PM INF Running podman image search --list-tags registry.suse.com/suse/manager/5.0/x86_64/server --format={{.Tag}}
Error: 1 error occurred:
	* getting repository tags: fetching tags list: requested access to the resource is denied

or

suma50:~ # ./mgradm upgrade podman list
3:58PM INF Welcome to mgradm
3:58PM INF Executing command: list
3:58PM INF Running podman image search --list-tags registry.opensuse.org/uyuni/server --format={{.Tag}}
2024.05
2024.05.37.23.uyuni3
latest

Test coverage

  • No tests

  • DONE

Links

Issue(s): #372

  • DONE

Changelogs

Make sure the changelogs entries you are adding are compliant with https://github.com/uyuni-project/uyuni/wiki/Contributing#changelogs and https://github.com/uyuni-project/uyuni/wiki/Contributing#uyuni-projectuyuni-repository

If you don't need a changelog check, please mark this checkbox:

  • No changelog needed

If you uncheck the checkbox after the PR is created, you will need to re-run changelog_test (see below)

Before you merge

Check How to branch and merge properly!

@mbussolotto mbussolotto added SUSE Manager 5.0.1 Candidate PRs for 5.0.1 inclusion merge-candidate and removed needs-pr-review labels Jul 18, 2024
@admd admd merged commit fb088ba into uyuni-project:main Jul 22, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-candidate SUSE Manager 5.0.1 Candidate PRs for 5.0.1 inclusion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mgradm upgrade podman list doesn't should tags or error when not authenticated
3 participants