Repository navigation
Add Fedora 43 to test CI, drop Fedora 40 - #70082
Merged
Merged
Conversation
Contributor
Author
|
Blocked until we get the CI Containers Fedora container built |
Bump the fedora test slug in cicd/shared-gh-workflows-context.yml from fedora-40 to fedora-43, per Fedora's OS support policy. Update test_get_yum_config to key off "reposdir" instead of "installonly_limit", since newer Fedora/RHEL yum configs no longer carry installonly_limit by default. Note: requires a fedora-43 image in ghcr.io/saltstack/salt-ci-containers/testing (tracked separately in saltstack/salt-ci-containers). Fixes saltstack#67182
yumpkg.group_info() builds a different CLI invocation for dnf5
("group", "info", name as three tokens) than for legacy yum/dnf
("groupinfo", name), but the test hardcoded the legacy form. On the
new fedora-43 CI runner (which has a real dnf5 binary, so
yumpkg._yum() resolves to "dnf5"), this made all 4 parametrized cases
fail with AssertionError: expected call not found.
Mirror the same _yum() == "dnf5" branch used in yumpkg.group_info so
the expected command matches whichever package manager is actually
detected.
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Bump the fedora test slug in cicd/shared-gh-workflows-context.yml from fedora-40 to fedora-43, per Fedora's OS support policy. Update test_get_yum_config to key off "reposdir" instead of "installonly_limit", since newer Fedora/RHEL yum configs no longer carry installonly_limit by default.
Note: requires a fedora-43 image in
ghcr.io/saltstack/salt-ci-containers/testing (tracked separately in saltstack/salt-ci-containers).
What issues does this PR fix or reference?
Fixes #67182
Merge requirements satisfied?
[NOTICE] Bug fixes or features added to Salt require tests.
Commits signed with GPG?
Yes