Skip to content

Commit

Permalink
Merge pull request #297 from perlpunk/split-commands
Browse files Browse the repository at this point in the history
Make scheduling of multimachine tests easier to debug
  • Loading branch information
mergify[bot] committed Mar 7, 2024
2 parents cea56b8 + 1a1cf7d commit bf42bca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions openqa-schedule-mm-ping-test
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ job_templates:
PARALLEL_WITH: ping_server
EOF

openqa-cli schedule \
hdd=$(openqa-cli api --host "$openqa_url" jobs version="$version" scope=relevant arch="$arch" flavor="$flavor" test="$test_name" latest=1 | jq -r '.jobs | map(select(.result == "passed")) | max_by(.settings.BUILD) .settings.HDD_1')
time openqa-cli schedule \
--monitor \
--host "$openqa_url" \
--param-file SCENARIO_DEFINITIONS_YAML="$tmpfile" \
DISTRI="$distri" VERSION="$version" FLAVOR="$flavor" ARCH="$arch" \
BUILD="$(date -Im)" _GROUP_ID=0 \
HDD_1="$(openqa-cli api --host "$openqa_url" jobs version="$version" scope=relevant arch="$arch" flavor="$flavor" test="$test_name" latest=1 | jq -r '.jobs | map(select(.result == "passed")) | max_by(.settings.BUILD) .settings.HDD_1')"
HDD_1="$hdd"

0 comments on commit bf42bca

Please sign in to comment.