Skip to content

Commit 507a330

Browse files
committed
Move full run configuration to main function
This improves code organization by keeping related configuration together and makes the flow more logical, plus less error-prone. The scenario definition file is already updated to accomodate the proper variable in the testcase. issue: https://progress.opensuse.org/issues/190977 Signed-off-by: Ioannis Bonatakis <[email protected]>
1 parent e4743cc commit 507a330

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

trigger-openqa_in_openqa

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ main() {
4040
# and use for submit requests
4141
if [[ $full_run ]]; then
4242
staging_project=$src_project
43+
flavor="dev-full" # Note: overrides any user-provided flavor
4344
else
4445
create_devel_openqa_snapshot || rc=$?
4546
if [[ $rc != 0 ]]; then
@@ -109,11 +110,6 @@ trigger() {
109110
if [ "$target_host" = "openqa.opensuse.org" ]; then
110111
ARGS=("OPENQA_HOST=http://openqa.opensuse.org")
111112
fi
112-
# in full run use only openqa_install_full+publish test
113-
if [ "$full_run" ]; then
114-
flavor="dev-full"
115-
ARGS+=("FULL_OPENSUSE_TEST=1")
116-
fi
117113

118114
# shellcheck disable=SC2086
119115
${client_prefix} ${openqa_cli} \

0 commit comments

Comments
 (0)