Skip to content

Commit

Permalink
Allow overriding the project on OBS to install openQA from
Browse files Browse the repository at this point in the history
This allows to test packages from a fixed snapshot more easily (without
overriding the whole `OPENQA_REPO_URL`).

Related ticket: https://progress.opensuse.org/issues/167395
  • Loading branch information
Martchus committed Nov 14, 2024
1 parent 39bf81a commit c618ce1
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 c618ce1

Please sign in to comment.