mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-11 01:24:20 +00:00
Install python3-dnf before running updvercheck.py
...when we're not in an atomic (canned) env, anyway. If we are, we'll rely on it already being there (as previously ensured by an earlier commit). Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
99074fac96
commit
146e41cca5
@ -1283,6 +1283,8 @@ sub advisory_check_nonmatching_packages {
|
|||||||
# for debugging, may as well always upload these, can't hurt anything
|
# for debugging, may as well always upload these, can't hurt anything
|
||||||
upload_logs "/tmp/installedupdatepkgs.txt", failok => 1;
|
upload_logs "/tmp/installedupdatepkgs.txt", failok => 1;
|
||||||
upload_logs "/mnt/updatepkgs.txt", failok => 1;
|
upload_logs "/mnt/updatepkgs.txt", failok => 1;
|
||||||
|
# ensure python3-dnf is present for the check script
|
||||||
|
assert_script_run 'dnf -y install python3-dnf' unless (get_var("CANNED"));
|
||||||
# download the check script and run it
|
# download the check script and run it
|
||||||
assert_script_run 'curl --retry-delay 10 --max-time 30 --retry 5 -o updvercheck.py https://pagure.io/fedora-qa/os-autoinst-distri-fedora/raw/main/f/updvercheck.py', timeout => 180;
|
assert_script_run 'curl --retry-delay 10 --max-time 30 --retry 5 -o updvercheck.py https://pagure.io/fedora-qa/os-autoinst-distri-fedora/raw/main/f/updvercheck.py', timeout => 180;
|
||||||
my $advisory = get_var("ADVISORY");
|
my $advisory = get_var("ADVISORY");
|
||||||
|
Loading…
Reference in New Issue
Block a user