From 590186e0de2c54c7ff7b546d938aeee26663a688 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Tue, 7 Feb 2023 11:18:35 -0500 Subject: [PATCH] Cirrus: Fix & remove GraphQL API tests These tests don't need to run for every PR, and the thing they're testing never runs on any branch except `main`. Stop them from running on this branch. In case someone decides to try and use them, also fix the errant API call which triggered the original problem. Ref: https://github.com/containers/podman/pull/17383 Signed-off-by: Chris Evich --- .github/actions/check_cirrus_cron/cron_failures.sh | 2 +- contrib/cirrus/prebuild.sh | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/actions/check_cirrus_cron/cron_failures.sh b/.github/actions/check_cirrus_cron/cron_failures.sh index 2d007d0a71..f4d11613ec 100755 --- a/.github/actions/check_cirrus_cron/cron_failures.sh +++ b/.github/actions/check_cirrus_cron/cron_failures.sh @@ -19,7 +19,7 @@ confirm_gha_environment mkdir -p ./artifacts cat > ./artifacts/query_raw.json << "EOF" query { - ownerRepository(platform: "LINUX", owner: "@@OWNER@@", name: "@@REPO@@") { + ownerRepository(platform: "github", owner: "@@OWNER@@", name: "@@REPO@@") { cronSettings { name lastInvocationBuild { diff --git a/contrib/cirrus/prebuild.sh b/contrib/cirrus/prebuild.sh index d4306a17ac..83c6c9e74b 100755 --- a/contrib/cirrus/prebuild.sh +++ b/contrib/cirrus/prebuild.sh @@ -44,9 +44,6 @@ if [[ "${DISTRO_NV}" =~ fedora ]]; then # Tests for lib.sh showrun ${SCRIPT_BASE}/lib.sh.t - - export PREBUILD=1 - showrun bash ${CIRRUS_WORKING_DIR}/.github/actions/check_cirrus_cron/test.sh fi msg "Checking 3rd party network service connectivity"