Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: canonical/testflinger
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a9a7fab42e24c245fbc8707f4e4661abedae4122
Choose a base ref
..
head repository: canonical/testflinger
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 98e8f6bdba66a554825a8bacc6ed4ad193209550
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 .github/actions/poll-multi/action.yaml
4 changes: 2 additions & 2 deletions .github/actions/poll-multi/action.yaml
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ runs:
exit 1
fi
JOB_IDS=$(jq -r '.provision_output' <<< "$RESULTS" | sed -n 's/^.*Created job \(.*\)$/\1/p')
echo "ids=$JOB_IDS" >> $GITHUB_OUTPUT
echo "$JOB_IDS" > JOB_IDS_FILE
echo "::notice::" $JOB_IDS
echo "::endgroup::"
echo "::group::Retrieve IPs of reserved devices"
@@ -62,10 +62,10 @@ runs:
- name: Hold until all child jobs reach the ${{ inputs.sentinel-phase }} phase
shell: bash
env:
JOB_IDS: ${{ steps.data.outputs.ids }}
SENTINEL_PHASE: ${{ inputs.sentinel-phase }}
run: |
echo "::group::Wait for child jobs to reach the ${{ inputs.sentinel-phase }} phase"
JOB_IDS=$(cat JOB_IDS_FILE)
while [ -n "$JOB_IDS" ]; do
REMAINING_JOB_IDS=
for JOB_ID in $JOB_IDS; do