Skip to content

Commit

Permalink
ci(spanner): use airlock for presubmit jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
sakthivelmanii committed Jan 9, 2025
1 parent fcbc14c commit 5fc6885
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ fi

set -x
if [[ $USE_AIRLOCK = 'true' ]]; then
python3 -m pip install --upgrade pip
python3 -m pip install -r .kokoro/requirements-auth.txt -i https://pypi.org/simple/ --require-hashes --only-binary :all:
cat > $HOME/.pypirc <<EOL
[distutils]
index-servers =
Expand All @@ -61,6 +63,7 @@ EOL
[global]
index-url = https://us-python.pkg.dev/artifact-foundry-prod/python-3p-trusted/simple/
EOL
python3 -m pip install 'grpcio' --verbose
fi

# If NOX_SESSION is set, it only runs the specified session,
Expand Down

0 comments on commit 5fc6885

Please sign in to comment.