Skip to content

Commit e87f68a

Browse files
committed
Parameterize the scenario_definitions for trigger-openqa_in_openqa
Provide the possibility to run the script with separate scenario_definition. issue: https://progress.opensuse.org/issues/190977 Signed-off-by: Ioannis Bonatakis <[email protected]>
1 parent 4a78e6a commit e87f68a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

trigger-openqa_in_openqa

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ osc=${osc:-retry -e -- osc}
2424
src_project=${src_project:-devel:openQA}
2525
staging_project=${staging_project:-${src_project}:testing}
2626
dst_project=${dst_project:-${src_project}:tested}
27+
scenario_definitions="${scenario_definitions:-"scenario-definitions.yaml"}"
2728

2829
# shellcheck source=/dev/null
2930
. "$(dirname "$0")"/_common
@@ -64,7 +65,7 @@ download_latest_published_tumbleweed_image() {
6465

6566
download_scenario() {
6667
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
68+
curl https://raw.githubusercontent.com/os-autoinst/os-autoinst-distri-openQA/master/"${scenario_definitions}" -o /var/tmp/sd.yaml
6869
}
6970

7071
create_snapshots() {

0 commit comments

Comments
 (0)