1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-06-19 05:01:33 +00:00

rpmostree_rebase: tweak coreos rebase targets

Because of the 'can't go from > 41 to <= 41' issue, we need to
tweak the coreos rebase targets to get the tests to pass.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-04-02 16:10:13 -07:00
parent a9daf32c5d
commit 1b8aa92df5

View File

@ -55,7 +55,14 @@ sub run {
$target = "fedora/${rebase}/${arch}/silverblue";
}
elsif ($current =~ "coreos") {
$rebase = $current =~ "stable" ? "testing" : "stable";
# $rebase = $current =~ "stable" ? "testing" : "stable";
# per above, rebasing from >41 to <=41 doesn't work
# as of 2025-04-02, 'stable' and 'testing' are 41,
# 'next' is 42, 'rawhide' is 43, so...
$rebase = "stable";
$rebase = "testing" if ($current =~ "stable");
$rebase = "next" if ($current =~ "rawhide");
$rebase = "rawhide" if ($current =~ "next");
$target = "fedora:fedora/${arch}/coreos/${rebase}";
}