summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-25 19:49:44 -0500
committerGitHub <noreply@github.com>2022-01-25 19:49:44 -0500
commit9f8c0975eda7fe3acd91992f8285b68b731929e0 (patch)
tree100374d7f3c3e7a93382fa4c9c3700bea8b7793f
parent7003d334e8a4971c2de269070c2d4e7cffb61ec7 (diff)
parent72ddacdbe91b87683ef1c712e6c9e49e9d4d0c79 (diff)
downloadpodman-9f8c0975eda7fe3acd91992f8285b68b731929e0.tar.gz
podman-9f8c0975eda7fe3acd91992f8285b68b731929e0.tar.bz2
podman-9f8c0975eda7fe3acd91992f8285b68b731929e0.zip
Merge pull request #13008 from cevich/fix_jq
[CI:DOCS] Github workflow: Fix parsing of GraphQL response JSON
-rwxr-xr-x.github/actions/check_cirrus_cron/cron_failures.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/actions/check_cirrus_cron/cron_failures.sh b/.github/actions/check_cirrus_cron/cron_failures.sh
index 1d8f532d8..4fb3af98f 100755
--- a/.github/actions/check_cirrus_cron/cron_failures.sh
+++ b/.github/actions/check_cirrus_cron/cron_failures.sh
@@ -75,7 +75,7 @@ fi
# e.x. reply.json
# {
# "data": {
-# "githubRepository": {
+# "ownerRepository": {
# "cronSettings": [
# {
# "name": "Keepalive_v2.0",
@@ -102,7 +102,7 @@ fi
# }
# }
# }
-_filt='.data.githubRepository.cronSettings | map(select(.lastInvocationBuild.status=="FAILED") | { name:.name, id:.lastInvocationBuild.id} | join(" ")) | join("\n")'
+_filt='.data.ownerRepository.cronSettings | map(select(.lastInvocationBuild.status=="FAILED") | { name:.name, id:.lastInvocationBuild.id} | join(" ")) | join("\n")'
jq --raw-output "$_filt" ./artifacts/reply.json > "$NAME_ID_FILEPATH"
echo "<Cron Name> <Failed Build ID>"