Skip to content

Commit

Permalink
Try INCIDENT_DEP
Browse files Browse the repository at this point in the history
  • Loading branch information
dzedro committed Nov 3, 2023
1 parent dec61d9 commit 821a1ea
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/qam-updinstall/update_install.pm
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,17 @@ sub run {
}
record_info('Modules', "@modules");

if (get_var('INCIDENT_DEP')) {
my @repos = split(/,/, get_var('INCIDENT_DEP', ''));

for my $repo (@repos) {
my @repo_part = split(/;/, $repo);
my $url = $repo_part[1];
my $name = $repo_part[0];
qam::add_repo_if_not_present($url, $name);
}
}

# Patch the SUT to a released state;
fully_patch_system;

Expand Down

0 comments on commit 821a1ea

Please sign in to comment.