jenkins: use gs:// uri for DOWNLOAD_ROOT_SDK so that we can apply authentication

This commit is contained in:
Jeremi Piotrowski 2021-10-11 15:23:48 +02:00
parent dc4e4a8701
commit 93cf5aa5c3
5 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@ gpg --import verify.asc
# key imports fail, let's create it here as a workaround
mkdir -p --mode=0700 "${GNUPGHOME}/private-keys-v1.d/"
DOWNLOAD_ROOT_SDK="https://storage.googleapis.com${SDK_URL_PATH}"
DOWNLOAD_ROOT_SDK="${DOWNLOAD_ROOT}/sdk"
SCRIPTS_PATCH_ARG=""
OVERLAY_PATCH_ARG=""

View File

@ -10,7 +10,7 @@ set -ex
if [[ "${RELEASE_BASE_IS_DEV}" = "false" && "${GROUP}" = "developer" && "${RELEASE_BASE}" != "" ]]; then
DOWNLOAD_ROOT=$(echo ${DOWNLOAD_ROOT} | sed 's,/developer,,');
fi
DOWNLOAD_ROOT_SDK="https://storage.googleapis.com${SDK_URL_PATH}"
DOWNLOAD_ROOT_SDK="${DOWNLOAD_ROOT}/sdk"
# Set up GPG for verifying tags.
export GNUPGHOME="${PWD}/.gnupg"

View File

@ -27,7 +27,7 @@ then
fi
fi
DOWNLOAD_ROOT_SDK=https://storage.googleapis.com/flatcar-jenkins/sdk
DOWNLOAD_ROOT_SDK="${DOWNLOAD_ROOT}/sdk"
# We do not use a nightly SDK as seed for bootstrapping because the next major Alpha SDK release would also have to use the last published Alpha release SDK as seed.
# Also, we don't want compiler bugs to propagate from one nightly SDK to the next even though the commit in question was reverted.

View File

@ -17,7 +17,7 @@ gpg --import verify.asc
# key imports fail, let's create it here as a workaround
mkdir -p --mode=0700 "${GNUPGHOME}/private-keys-v1.d/"
DOWNLOAD_ROOT_SDK="https://storage.googleapis.com${SDK_URL_PATH}"
DOWNLOAD_ROOT_SDK="${DOWNLOAD_ROOT}/sdk"
SCRIPTS_PATCH_ARG=""
OVERLAY_PATCH_ARG=""

View File

@ -14,7 +14,7 @@ gpg --import verify.asc
# key imports fail, let's create it here as a workaround
mkdir -p --mode=0700 "${GNUPGHOME}/private-keys-v1.d/"
DOWNLOAD_ROOT_SDK="https://storage.googleapis.com${SDK_URL_PATH}"
DOWNLOAD_ROOT_SDK="${DOWNLOAD_ROOT}/sdk"
SCRIPTS_PATCH_ARG=""
OVERLAY_PATCH_ARG=""