From 3063f0a5ed373947badd0af056db310283c76e37 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 11 Jul 2021 22:28:03 -0700 Subject: [PATCH] ci: disable netbsd tarballs until the false positives stop --- ci/srht/index.json | 5 ----- ci/srht/update_download_page | 13 +++++++------ 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/ci/srht/index.json b/ci/srht/index.json index 32eb103d17..5c5b8ab882 100644 --- a/ci/srht/index.json +++ b/ci/srht/index.json @@ -14,11 +14,6 @@ "shasum": "{{X86_64_FREEBSD_SHASUM}}", "size": "{{X86_64_FREEBSD_BYTESIZE}}" }, - "x86_64-netbsd": { - "tarball": "https://ziglang.org/builds/{{X86_64_NETBSD_TARBALL}}", - "shasum": "{{X86_64_NETBSD_SHASUM}}", - "size": "{{X86_64_NETBSD_BYTESIZE}}" - }, "x86_64-macos": { "tarball": "https://ziglang.org/builds/{{X86_64_MACOS_TARBALL}}", "shasum": "{{X86_64_MACOS_SHASUM}}", diff --git a/ci/srht/update_download_page b/ci/srht/update_download_page index 490388ca78..b1cdbd4305 100755 --- a/ci/srht/update_download_page +++ b/ci/srht/update_download_page @@ -15,7 +15,8 @@ X86_64_WINDOWS_JSON_URL="https://ziglang.org/builds/x86_64-windows-$VERSION.json AARCH64_MACOS_JSON_URL="https://ziglang.org/builds/aarch64-macos-$VERSION.json" X86_64_MACOS_JSON_URL="https://ziglang.org/builds/x86_64-macos-$VERSION.json" X86_64_FREEBSD_JSON_URL="https://ziglang.org/builds/x86_64-freebsd-$VERSION.json" -X86_64_NETBSD_JSON_URL="https://ziglang.org/builds/x86_64-netbsd-$VERSION.json" +# NetBSD is disabled until the CI stops reporting false positives for success. +#X86_64_NETBSD_JSON_URL="https://ziglang.org/builds/x86_64-netbsd-$VERSION.json" # If any of these fail, it's not really this job failing; rather we have detected # that this job will be called again later when other jobs have completed. @@ -25,7 +26,7 @@ curl --fail -I "$X86_64_WINDOWS_JSON_URL" >/dev/null || exit 0 curl --fail -I "$AARCH64_MACOS_JSON_URL" >/dev/null || exit 0 curl --fail -I "$X86_64_MACOS_JSON_URL" >/dev/null || exit 0 curl --fail -I "$X86_64_FREEBSD_JSON_URL" >/dev/null || exit 0 -curl --fail -I "$X86_64_NETBSD_JSON_URL" >/dev/null || exit 0 +#curl --fail -I "$X86_64_NETBSD_JSON_URL" >/dev/null || exit 0 # Without --user, this gave me: # ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied @@ -86,10 +87,10 @@ export X86_64_FREEBSD_TARBALL="$(echo "$X86_64_FREEBSD_JSON" | jq .tarball -r)" export X86_64_FREEBSD_BYTESIZE="$(echo "$X86_64_FREEBSD_JSON" | jq .size -r)" export X86_64_FREEBSD_SHASUM="$(echo "$X86_64_FREEBSD_JSON" | jq .shasum -r)" -X86_64_NETBSD_JSON=$(curl --fail "$X86_64_NETBSD_JSON_URL" || exit 1) -export X86_64_NETBSD_TARBALL="$(echo "$X86_64_NETBSD_JSON" | jq .tarball -r)" -export X86_64_NETBSD_BYTESIZE="$(echo "$X86_64_NETBSD_JSON" | jq .size -r)" -export X86_64_NETBSD_SHASUM="$(echo "$X86_64_NETBSD_JSON" | jq .shasum -r)" +#X86_64_NETBSD_JSON=$(curl --fail "$X86_64_NETBSD_JSON_URL" || exit 1) +#export X86_64_NETBSD_TARBALL="$(echo "$X86_64_NETBSD_JSON" | jq .tarball -r)" +#export X86_64_NETBSD_BYTESIZE="$(echo "$X86_64_NETBSD_JSON" | jq .size -r)" +#export X86_64_NETBSD_SHASUM="$(echo "$X86_64_NETBSD_JSON" | jq .shasum -r)" export MASTER_DATE="$(date +%Y-%m-%d)" export MASTER_VERSION="$VERSION"