Skip to content

Commit

Permalink
Merge pull request #215 from Martchus/project-override
Browse files Browse the repository at this point in the history
Allow overriding the project on OBS to install openQA from
  • Loading branch information
okurz authored Nov 15, 2024
2 parents 39bf81a + c618ce1 commit 85236a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/install/openqa_webui.pm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ sub add_repo {
ppc64le => 'Factory_PowerPC'
);
my $repo = 'openSUSE_' . $repo_suffix{get_required_var('ARCH')};
my $repo_url = get_var('OPENQA_REPO_URL', "obs://devel:openQA/$repo");
my $project = get_var('OPENQA_OBS_PROJECT', 'devel:openQA');
my $repo_url = get_var('OPENQA_REPO_URL', "obs://$project/$repo");
assert_script_run("zypper -n ar -p 95 -f '$repo_url' openQA");
assert_script_run('retry -e -s 30 -r 7 -- zypper -n --gpg-auto-import-keys ref', timeout => 4000);
}
Expand Down

0 comments on commit 85236a1

Please sign in to comment.