File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ outputs:
2121 description : ' status of the testground run, i.e. completed/cancled'
2222 outcome :
2323 description : ' high-level result of the test'
24+ testground_id :
25+ description : ' testground identifier'
2426runs :
2527 using : ' docker'
2628 image : ' ./Dockerfile'
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ FAILURE=1
1111# Note that if you echo these strings, they will not be visible in the action log.
1212OUTPUT_STATUS=" ::set-output name=status::"
1313OUTPUT_OUTCOME=" ::set-output name=outcome::"
14+ OUTPUT_ID=" ::set-output name=testground_id"
1415
1516BACKEND=" ${INPUT_BACKEND_PROTO} " ' ://' " ${INPUT_BACKEND_ADDR} "
1617
@@ -32,6 +33,7 @@ ln -s "${REAL_PLAN_DIR}" "${PLANSHOME}"
3233# so instead, do a long poll.
3334/testground --endpoint " ${BACKEND} " run composition -f " ${REAL_COMP_FILE} " | tee run.out
3435TGID=$( awk ' /run is queued with ID/ {print $10}' < run.out)
36+ echo " ${OUTPUT_ID}${TGID} "
3537
3638echo " Got testground ID ${TGID} "
3739echo -n " Testground started: " ; date
You can’t perform that action at this time.
0 commit comments