Skip to content

Commit cebb6f3

Browse files
ci(spanner): use airlock for presubmit jobs
1 parent 4d1b8d3 commit cebb6f3

File tree

5 files changed

+4
-116
lines changed

5 files changed

+4
-116
lines changed

.kokoro/build.sh

+3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ fi
4848

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

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

noxfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def install_systemtest_dependencies(session, *constraints):
279279
# Exclude version 1.52.0rc1 which has a known issue.
280280
# See https://github.com/grpc/grpc/issues/32163
281281
install_default_packages(session)
282-
session.install("--pre", "grpcio!=1.52.0rc1")
282+
session.install("--pre", "grpcio!=1.52.0rc1", "--verbose")
283283

284284
session.install(*SYSTEM_TEST_STANDARD_DEPENDENCIES, *constraints)
285285

requirements.in

-14
This file was deleted.

requirements.txt

-96
This file was deleted.

spanner/pyvenv.cfg

-5
This file was deleted.

0 commit comments

Comments
 (0)