Skip to content

Commit

Permalink
Make the db object sync job more reliable (#2567)
Browse files Browse the repository at this point in the history
It looks like /usr/bin/python *may* no longer exists in the latest cloud
builder git image. I ran the latest image and logged into it to verify
that /usr/bin/python3 does exist on 9/25, and again on 9/26 where it
re-appeared.

I think it is generally a good idea to not rely on it being there going
forward.
  • Loading branch information
jianglai authored Sep 26, 2024
1 parent d0482a8 commit 0820303
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions release/cloudbuild-sync-db-objects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ steps:
- |
set -e
git clone https://gerrit.googlesource.com/gcompute-tools
if [ ! -f /usr/bin/python ]; then
ln -s /usr/bin/python3 /usr/bin/python
fi
./gcompute-tools/git-cookie-authdaemon
git clone ${_INTERNAL_REPO_URL} nomulus-internal
# Download and decrypt the nomulus tool credential
Expand Down

0 comments on commit 0820303

Please sign in to comment.