Skip to content

Commit

Permalink
Add option to install openQA with bootstrap script
Browse files Browse the repository at this point in the history
  • Loading branch information
baierjan committed Jun 5, 2023
1 parent 7bd405b commit 2310a0e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.pm
Expand Up @@ -29,7 +29,7 @@ sub load_install_tests() {
# for now when testing from git only tests the webui itself, not worker
# interaction
return 1 if check_var('OPENQA_FROM_GIT', 1);
loadtest "install/openqa_worker.pm";
loadtest "install/openqa_worker.pm" unless check_var('OPENQA_FROM_BOOTSTRAP', 1);
loadtest "install/test_distribution.pm";
}

Expand Down
8 changes: 7 additions & 1 deletion tests/install/openqa_webui.pm
Expand Up @@ -74,7 +74,13 @@ sub run {
}
}
else {
install_from_repos;
if (check_var('OPENQA_FROM_BOOTSTRAP', 1)) {
assert_script_run('zypper --no-cd -n in openQA-bootstrap');
assert_script_run('skip_suse_specifics=1 skip_suse_tests=1 /usr/share/openqa/script/openqa-bootstrap', timeout => 1200);
}
else {
install_from_repos;
}
}
save_screenshot;
clear_root_console;
Expand Down

0 comments on commit 2310a0e

Please sign in to comment.