mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-12 06:13:08 +00:00
Drop a "> 38" conditional
38 is EOL, so no longer needed. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
73b8eacc2c
commit
03cc0473ee
@ -67,11 +67,7 @@ sub run {
|
|||||||
# disables updating the ref with the new commit, and we *do* want
|
# 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
|
# to do that. pungi updates the ref itself, I don't want to copy
|
||||||
# all that work in here
|
# all that work in here
|
||||||
# we use --unified-core on F39+ as that's where it was turned on
|
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;
|
||||||
# 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";
|
assert_script_run "set +o pipefail";
|
||||||
upload_logs "/tmp/ostree.log";
|
upload_logs "/tmp/ostree.log";
|
||||||
# check out the ostree installer lorax templates
|
# check out the ostree installer lorax templates
|
||||||
|
Loading…
Reference in New Issue
Block a user