Skip to content

Commit e4743cc

Browse files
committed
Modify the flavor for FULL test cases
Introduce a new variable which can influence the openqa_cli _schedule_. However, the variable will be always overriden when `full_run` is passed as well in order to pass the proper parameters in openqa-cli and select the according testcase of the scenario-definitions.yaml. issue: https://progress.opensuse.org/issues/190977 Signed-off-by: Ioannis Bonatakis <[email protected]>
1 parent e87f68a commit e4743cc

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

trigger-openqa_in_openqa

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ arch="${arch:-"x86_64"}"
1818
machine="${machine:-"uefi"}"
1919
build_tag=${BUILD_TAG:-}
2020
client_prefix=${client_prefix:-}
21+
flavor=${flavor:-"dev"}
2122
full_run=${FULL:-}
2223
group_id="${group_id:-"openQA"}"
2324
osc=${osc:-retry -e -- osc}
@@ -108,17 +109,18 @@ trigger() {
108109
if [ "$target_host" = "openqa.opensuse.org" ]; then
109110
ARGS=("OPENQA_HOST=http://openqa.opensuse.org")
110111
fi
111-
# in full run use only openqa_install+publish test
112+
# in full run use only openqa_install_full+publish test
112113
if [ "$full_run" ]; then
113-
ARGS+=('TEST=openqa_install+publish' "FULL_OPENSUSE_TEST=1")
114+
flavor="dev-full"
115+
ARGS+=("FULL_OPENSUSE_TEST=1")
114116
fi
115117

116118
# shellcheck disable=SC2086
117119
${client_prefix} ${openqa_cli} \
118120
schedule --host "${target_host_proto}://${target_host}" \
119121
--param-file SCENARIO_DEFINITIONS_YAML=/var/tmp/sd.yaml \
120122
VERSION=Tumbleweed \
121-
DISTRI=openqa FLAVOR=dev ARCH="${arch}" \
123+
DISTRI=openqa FLAVOR="${flavor}" ARCH="${arch}" \
122124
HDD_1="$qcow" BUILD="${build}" _GROUP="${group_id}" \
123125
OPENQA_OBS_PROJECT="$staging_project" \
124126
"${ARGS[@]}" \

0 commit comments

Comments
 (0)