From 020ed33003160a4ddd7489f32595f7e9e0186d61 Mon Sep 17 00:00:00 2001 From: Lai Jiang Date: Mon, 14 Oct 2024 11:42:15 -0400 Subject: [PATCH] Fix releases (#2591) It seems like `/usr/bin/python` is no longer symlinked to the `python3` binary in the `gcr.io/cloud-builders/git` image. I've sent out a separate fix to upstream to change the shebang. https://gerrit-review.git.corp.google.com/c/gcompute-tools/+/439501 But in the meantime, we need this temporary fix for the release to build. --- release/cloudbuild-release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/release/cloudbuild-release.yaml b/release/cloudbuild-release.yaml index e5569aebb..e2c2f7b7c 100644 --- a/release/cloudbuild-release.yaml +++ b/release/cloudbuild-release.yaml @@ -18,6 +18,7 @@ steps: - | set -e git clone https://gerrit.googlesource.com/gcompute-tools + sed -i s@/usr/bin/python@/usr/bin/python3@g ./gcompute-tools/git-cookie-authdaemon ./gcompute-tools/git-cookie-authdaemon git clone ${_INTERNAL_REPO_URL} nomulus-internal # Tag and push the internal repo.