mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-25 07:13:09 +00:00
ostree: only use --unified-core on F39+
I think it's breaking F37 and F38 tests, not surprisingly as we didn't do all the fixes there. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
bf4a8ec454
commit
ba1d492416
@ -74,7 +74,11 @@ sub run {
|
||||
# disables updating the ref with the new commit, and we *do* want
|
||||
# to do that. pungi updates the ref itself, I don't want to copy
|
||||
# all that work in here
|
||||
assert_script_run "rpm-ostree compose tree --unified-core --repo=/var/tmp/ostree/repo/ --add-metadata-string=version=${advortask} --force-nocache /workstation-ostree-config/fedora-$lcsubv.yaml |& ts '" . '[%Y-%m-%d %H:%M:%S]' . "' | tee /tmp/ostree.log", 4500;
|
||||
# we use --unified-core on F39+ as that's where it was turned on
|
||||
# in prod
|
||||
my $ucarg = "";
|
||||
$ucarg = "--unified-core " if ($version > 38);
|
||||
assert_script_run "rpm-ostree compose tree ${ucarg}--repo=/var/tmp/ostree/repo/ --add-metadata-string=version=${advortask} --force-nocache /workstation-ostree-config/fedora-$lcsubv.yaml |& ts '" . '[%Y-%m-%d %H:%M:%S]' . "' | tee /tmp/ostree.log", 4500;
|
||||
assert_script_run "set +o pipefail";
|
||||
upload_logs "/tmp/ostree.log";
|
||||
# check out the ostree installer lorax templates
|
||||
|
Loading…
Reference in New Issue
Block a user