Skip to content

shortnames.conf: drop tumbleweed-microdnf and trivy aliases#75

Merged
giuseppe merged 3 commits into
containers:mainfrom
vrothberg:drop-trivy
Apr 15, 2026
Merged

shortnames.conf: drop tumbleweed-microdnf and trivy aliases#75
giuseppe merged 3 commits into
containers:mainfrom
vrothberg:drop-trivy

Conversation

@vrothberg
Copy link
Copy Markdown
Member

@vrothberg vrothberg commented Apr 15, 2026

The tumbleweed-microdnf image has been removed from the openSUSE
registry and the trivy image is no longer available on Docker Hub.
Remove all aliases pointing to these non-existent images.

Replace deprecated asyncio.get_event_loop()/run_until_complete() with
asyncio.run(), which is required in Python 3.10+ when no event loop
exists yet.

Add --override-arch amd64 to skopeo inspect so the script validates
image URL mappings consistently regardless of the host architecture
(e.g. aarch64 Lima VMs where some images lack an arm64 variant).

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Rework inspect_image() to return the (url, error) on failure instead of
raising, and collect all results via asyncio.gather(). Print every
failing image before exiting so broken aliases can be identified in one
pass rather than one at a time.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
The tumbleweed-microdnf image has been removed from the openSUSE
registry and the trivy image is no longer available on Docker Hub.
Remove all aliases pointing to these non-existent images.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
@vrothberg vrothberg changed the title drop trivy: the image has been removed shortnames.conf: drop tumbleweed-microdnf and trivy aliases Apr 15, 2026
@vrothberg
Copy link
Copy Markdown
Member Author

@rhatdan @giuseppe PTAL

@vrothberg
Copy link
Copy Markdown
Member Author

Also did some cleanups to the CI script

Copy link
Copy Markdown
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

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

LGTM

@giuseppe giuseppe merged commit e893043 into containers:main Apr 15, 2026
2 checks passed
@vrothberg vrothberg deleted the drop-trivy branch April 15, 2026 09:08
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.

2 participants