Skip to content

Commit 07664b8

Browse files
author
Jon Wayne Parrott
authored
Use new Python image for Kokoro tests (GoogleCloudPlatform#1257)
1 parent 05849f3 commit 07664b8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.kokoro/common.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ build_file: "python-docs-samples/.kokoro/trampoline.sh"
99
# Use the Python worker docker iamge.
1010
env_vars: {
1111
key: "TRAMPOLINE_IMAGE"
12-
value: "gcr.io/silver-python2/python-worker"
12+
value: "gcr.io/cloud-devrel-kokoro-resources/python"
1313
}

.kokoro/system_tests.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/testing/service-account.json
2727
export GOOGLE_CLIENT_SECRETS=$(pwd)/testing/client-secrets.json
2828

2929
# Run tests
30-
pip install --user --upgrade pip setuptools
31-
~/.local/bin/pip install --user --upgrade nox-automation
32-
~/.local/bin/nox -k "${NOX_SESSION}" || ret_code=$?
30+
nox -k "${NOX_SESSION}" || ret_code=$?
3331

3432
# Workaround for Kokoro permissions issue: delete secrets
3533
rm testing/{test-env.sh,client-secrets.json,service-account.json}

0 commit comments

Comments
 (0)