-
Notifications
You must be signed in to change notification settings - Fork 21
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
Remove tag_version from kiwi #1973
base: main
Are you sure you want to change the base?
Conversation
Setting a tag version results in the kiwi #!BuildVersion magic entry not including the patch version, which prevents publishing to the registry as no version sorts higher than the existing entries
Created a staging project on OBS for 6: home:defolos:BCI:Staging:SLE-15-SP6:6-1973 Build ResultsRepository
Repository
Repository
Repository
Repository
Repository
Repository
Repository
Build succeeded ✅ To run BCI-tests against this PR, use the following command: OS_VERSION=15.6 TARGET=custom BASEURL=registry.opensuse.org/home/defolos/bci/staging/sle-15-sp6/6-1973/ tox -- -n auto The following images can be pulled from the staging project:
|
Created a staging project on OBS for 7: home:defolos:BCI:Staging:SLE-15-SP7:7-1973 Build ResultsRepository
Repository
Repository
Repository
Repository
Repository
Repository
Repository
Build succeeded ✅ To run BCI-tests against this PR, use the following command: OS_VERSION=15.7 TARGET=custom BASEURL=registry.opensuse.org/home/defolos/bci/staging/sle-15-sp7/7-1973/ tox -- -n auto The following images can be pulled from the staging project:
|
Created a staging project on OBS for Tumbleweed: home:defolos:BCI:Staging:Tumbleweed:Tumbleweed-1973 Build ResultsRepository
Repository
Repository
Repository
Build succeeded ✅ To run BCI-tests against this PR, use the following command: OS_VERSION=tumbleweed TARGET=custom BASEURL=registry.opensuse.org/home/defolos/bci/staging/tumbleweed/tumbleweed-1973/ tox -- -n auto The following images can be pulled from the staging project:
|
Created a staging project on OBS for 16.0: home:defolos:BCI:Staging:16.0:16.0-1973 Build ResultsRepository
Repository
Repository
Repository
Repository
Repository
Repository
Repository
Build succeeded ✅ To run BCI-tests against this PR, use the following command: OS_VERSION=16.0 TARGET=custom BASEURL=registry.opensuse.org/home/defolos/bci/staging/16.0/16.0-1973/ tox -- -n auto The following images can be pulled from the staging project:
|
package was: so the release part is OK, but the main part should probably still be 9.24 |
Kiwi 10 switched to use partx, which requires udev to operate. As we don't have udev in the container, we create a custom config file that forces the usage of kpartx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this drops the tag-version which we need for stable filenames for aggregation.
get_pkg_version("python-kiwi", os_version), ParseVersion.PATCH | ||
) | ||
kiwi_major = format_version(kiwi_ver, ParseVersion.MAJOR) | ||
use_kpartx = int(kiwi_major) >= 10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can do that with the kiwi_minor below as well, and if you avoid the extra "use_kpartx" environment variable (which is weirdly named because it is always using kpartx), you can avoid the whole rewrite to a for loop..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made #1974 for this. breaking this out of the tag_version mess..
Setting a tag version results in the kiwi #!BuildVersion magic entry not including the patch version, which prevents publishing to the registry as no version sorts higher than the existing entries