mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
chore(ci): show not completed required-checks jobs (#9503)
Seems we are still getting a hang on this workflow. Adding more output to see which job is hanging.
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
||||
- name: Plan jobs to run
|
||||
id: plan
|
||||
run: |
|
||||
set -xe
|
||||
set -e
|
||||
|
||||
jobs="static-analysis,elixir,rust,tauri,kotlin,swift,codeql,build-artifacts,build-perf-artifacts";
|
||||
|
||||
@@ -112,7 +112,7 @@ jobs:
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
set -xe
|
||||
set -e
|
||||
|
||||
while true; do
|
||||
jobs_json=$(gh run view ${{ github.run_id }} --json jobs --jq '.jobs | map(select(.name != "required-check"))')
|
||||
@@ -132,6 +132,9 @@ jobs:
|
||||
break
|
||||
fi
|
||||
|
||||
echo "Jobs not yet completed:"
|
||||
echo "$jobs_json" | jq -r '.[] | select(.status != "completed") | "- " + .name + " (Status: " + .status + ")" '
|
||||
|
||||
sleep 10
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user