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 10, 2025
1 parent 4d1b8d3 commit cebb6f3
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 116 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
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def install_systemtest_dependencies(session, *constraints):
# Exclude version 1.52.0rc1 which has a known issue.
# See https://github.com/grpc/grpc/issues/32163
install_default_packages(session)
session.install("--pre", "grpcio!=1.52.0rc1")
session.install("--pre", "grpcio!=1.52.0rc1", "--verbose")

session.install(*SYSTEM_TEST_STANDARD_DEPENDENCIES, *constraints)

Expand Down
14 changes: 0 additions & 14 deletions requirements.in

This file was deleted.

96 changes: 0 additions & 96 deletions requirements.txt

This file was deleted.

5 changes: 0 additions & 5 deletions spanner/pyvenv.cfg

This file was deleted.

0 comments on commit cebb6f3

Please sign in to comment.