File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,11 @@ ln -s "${REAL_PLAN_DIR}" "${PLANSHOME}"
3131# testground --endpoint "$BACKEND" run composition -f "$REAL_COMP_FILE" --wait
3232# However, --wait doesn't always work well particularly for long-running jobs
3333# so instead, do a long poll.
34- /testground --endpoint " ${BACKEND} " run composition -f " ${REAL_COMP_FILE} " | tee run.out
34+ /testground --endpoint " ${BACKEND} " run composition \
35+ -f " ${REAL_COMP_FILE} " \
36+ --metadata-repo " ${GITHUB_REPOSITORY} " \
37+ --metadata-branch " ${GITHUB_REF# refs/ heads/ } " \
38+ --metadata-commit " ${GITHUB_SHA} " | tee run.out \
3539TGID=$( awk ' /run is queued with ID/ {print $10}' < run.out)
3640echo " ${OUTPUT_ID}${TGID} "
3741
@@ -41,7 +45,7 @@ echo "Waiting for job to complete."
4145
4246while [ " ${status} " != " complete" -a " ${status} " != " canceled" ]
4347do
44- sleep 30
48+ sleep 120
4549 status=$( /testground --endpoint " ${BACKEND} " status -t " ${TGID} " | awk ' /Status/ {print $2}' )
4650 echo " last polled status is ${status} "
4751 echo " ${OUTPUT_STATUS}${status} "
You can’t perform that action at this time.
0 commit comments