From d3fea768a51a659e9f9d220f3350e2f013d370fe Mon Sep 17 00:00:00 2001 From: Bruno Bernardo Date: Fri, 19 Dec 2025 09:38:20 +0100 Subject: [PATCH] Revert "Reapply "Merge tezos/tezos!20210: scripts: add auth for sccache on protected branches"" This reverts commit 49c32745c5927e1cae9fd2a8dc8390af46872c10. --- scripts/ci/sccache-start.sh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/scripts/ci/sccache-start.sh b/scripts/ci/sccache-start.sh index 23be1c657ead..103dba7769c4 100755 --- a/scripts/ci/sccache-start.sh +++ b/scripts/ci/sccache-start.sh @@ -34,19 +34,3 @@ if [ "${attempts}" = 0 ]; then echo "Could not start sccache after ${max_attempts}, running without sccache." export RUSTC_WRAPPER="" fi - -# get access to GCS backend to store the cache on protected branches -if [ "$CI_COMMIT_REF_PROTECTED" = "true" ]; then - echo "### Logging into protected repo ..." - echo "${GCP_PROTECTED_SERVICE_ACCOUNT}" | base64 -d > protected_sa.json - gcloud auth activate-service-account --key-file=protected_sa.json - - # - GOOGLE_OAUTH_ACCESS_TOKEN=$(gcloud auth print-access-token) - export GOOGLE_OAUTH_ACCESS_TOKEN -else - echo "### Logging into standard repo ..." - # Nothing to do -fi - -echo "GCS sccache bucket: $GCP_SCCACHE_BUCKET" -- GitLab