1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-07-24 19:25:44 +00:00

tweak rpmostree_rebase logic for CoreOS again

the streams changed...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-04-15 15:12:15 -07:00
parent 4a7e0721d4
commit 0d5adaa2d0

View File

@ -58,12 +58,9 @@ sub run {
# previously we did this:
# $rebase = $current =~ "stable" ? "testing" : "stable";
# but 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");
# as of 2025-04-15, 'stable' is 41, 'next' and 'testing' are
# 42, so...
$rebase = $current =~ "testing" ? "next" : "testing";
$target = "fedora:fedora/${arch}/coreos/${rebase}";
}