@@ -18,12 +18,14 @@ arch="${arch:-"x86_64"}"
1818machine=" ${machine:- " uefi" } "
1919build_tag=${BUILD_TAG:- }
2020client_prefix=${client_prefix:- }
21+ flavor=${flavor:- " dev" }
2122full_run=${FULL:- }
2223group_id=" ${group_id:- " openQA" } "
2324osc=${osc:- retry -e -- osc}
2425src_project=${src_project:- devel: openQA}
2526staging_project=${staging_project:- ${src_project} : testing}
2627dst_project=${dst_project:- ${src_project} : tested}
28+ scenario_definitions=" ${scenario_definitions:- " scenario-definitions.yaml" } "
2729
2830# shellcheck source=/dev/null
2931. " $( dirname " $0 " ) " /_common
@@ -38,6 +40,7 @@ main() {
3840 # and use for submit requests
3941 if [[ $full_run ]]; then
4042 staging_project=$src_project
43+ flavor=" dev-full" # Note: overrides any user-provided flavor
4144 else
4245 create_devel_openqa_snapshot || rc=$?
4346 if [[ $rc != 0 ]]; then
@@ -64,7 +67,7 @@ download_latest_published_tumbleweed_image() {
6467
6568download_scenario () {
6669 rm -f /var/tmp/sd.yaml
67- curl https://raw.githubusercontent.com/os-autoinst/os-autoinst-distri-openQA/master/scenario-definitions.yaml -o /var/tmp/sd.yaml
70+ curl https://raw.githubusercontent.com/os-autoinst/os-autoinst-distri-openQA/master/" ${scenario_definitions} " -o /var/tmp/sd.yaml
6871}
6972
7073create_snapshots () {
@@ -107,17 +110,13 @@ trigger() {
107110 if [ " $target_host " = " openqa.opensuse.org" ]; then
108111 ARGS=(" OPENQA_HOST=http://openqa.opensuse.org" )
109112 fi
110- # in full run use only openqa_install+publish test
111- if [ " $full_run " ]; then
112- ARGS+=(' TEST=openqa_install+publish' " FULL_OPENSUSE_TEST=1" )
113- fi
114113
115114 # shellcheck disable=SC2086
116115 ${client_prefix} ${openqa_cli} \
117116 schedule --host " ${target_host_proto} ://${target_host} " \
118117 --param-file SCENARIO_DEFINITIONS_YAML=/var/tmp/sd.yaml \
119118 VERSION=Tumbleweed \
120- DISTRI=openqa FLAVOR=dev ARCH=" ${arch} " \
119+ DISTRI=openqa FLAVOR=" ${flavor} " ARCH=" ${arch} " \
121120 HDD_1=" $qcow " BUILD=" ${build} " _GROUP=" ${group_id} " \
122121 OPENQA_OBS_PROJECT=" $staging_project " \
123122 " ${ARGS[@]} " \
0 commit comments