Repository navigation
pkg/utils: Support RHEL 9 Toolbx containers - #1220
Conversation
|
Build succeeded. ✔️ unit-test SUCCESS in 8m 34s |
|
Build succeeded. ✔️ unit-test SUCCESS in 8m 21s |
The previous commit broke the golangci-lint test [1] because the GitHub Action runs on Ubuntu 22.04, which only has Shadow 4.8 [2], whereas libsubid.so was introduced in Shadow 4.9 [3]. However, that's not a big deal because 'go vet' was earlier added to the set of tests run by 'meson test' [4], and 'go vet' is one of the linters run by golangci-lint [5]. So, while it's not a proper replacement, it's good enough. [1] Commit ca8007c containers#1180 [2] https://packages.ubuntu.com/source/jammy/shadow https://packages.ubuntu.com/source/jammy-updates/shadow [3] Shadow commit 0a7888b1fad613a0 shadow-maint/shadow@0a7888b1fad613a0 shadow-maint/shadow#154 [4] Commit f695012 containers#1186 [5] https://golangci-lint.run/usage/linters/ https://golangci-lint.run/usage/linters/#govet This reverts commit 7c86f30. containers#1221
The URLs for the RHEL Toolbx images based on the Red Hat Universal Base Images (or UBI) are a bit more complicated to construct, in comparison to the URLs for Fedora's fedora-toolbox images. It's not enough to just concatenate the registry, the image's basename and the release. Some parts of the URL depend on the release's major number, which requires custom code. So far, the release's major number was hard coded to 8 since only RHEL 8 Toolbx containers were supported. To support other RHEL major releases, it's necessary to have custom code to construct the URLs for the Toolbx images. containers#1065
0e26712 to
0a29b37
Compare
|
Build succeeded. ✔️ unit-test SUCCESS in 8m 26s |
The URLs for the RHEL Toolbx images based on the Red Hat Universal Base
Images (or UBI) are a bit more complicated to construct, in comparison
to the URLs for Fedora's fedora-toolbox images. It's not enough to just
concatenate the registry, the image's basename and the release. Some
parts of the URL depend on the release's major number, which requires
custom code.
So far, the release's major number was hard coded to 8 since only RHEL 8
Toolbx containers were supported.
To support other RHEL major releases, it's necessary to have custom code
to construct the URLs for the Toolbx images.
#1065