File tree Expand file tree Collapse file tree
synthtool/gcp/templates/python_library/.kokoro Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ action {
1111gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/trampoline"
1212
1313# Use the trampoline script to run in docker.
14- build_file: " {{ metadata['repo']['repo'].split('/')[1] }}/.kokoro/trampoline .sh"
14+ build_file: " {{ metadata['repo']['repo'].split('/')[1] }}/.kokoro/trampoline_v2 .sh"
1515
1616# Configure the docker image for kokoro-trampoline.
1717env_vars: {
1818 key: " TRAMPOLINE_IMAGE"
19- value: " gcr.io/cloud-devrel-kokoro-resources/python-multi "
19+ value: " gcr.io/cloud-devrel-kokoro-resources/python-lib-docs "
2020}
2121env_vars: {
2222 key: " TRAMPOLINE_BUILD_FILE"
Original file line number Diff line number Diff line change @@ -18,26 +18,16 @@ set -eo pipefail
1818# Disable buffering, so that the logs stream through.
1919export PYTHONUNBUFFERED=1
2020
21- cd github/{{ metadata[' repo' ][' repo' ].split(' /' )[1] }}
22-
23- # Remove old nox
24- python3.6 -m pip uninstall --yes --quiet nox-automation
21+ export PATH=" ${HOME} /.local/bin:${PATH} "
2522
2623# Install nox
27- python3.6 -m pip install --upgrade --quiet nox
28- python3.6 -m nox --version
24+ python3 -m pip install --user --upgrade --quiet nox
25+ python3 -m nox --version
2926
3027# build docs
3128nox -s docs
3229
33- python3 -m pip install gcp-docuploader
34-
35- # install a json parser
36- sudo apt-get update
37- sudo apt-get -y install software-properties-common
38- sudo add-apt-repository universe
39- sudo apt-get update
40- sudo apt-get -y install jq
30+ python3 -m pip install --user gcp-docuploader
4131
4232# create metadata
4333python3 -m docuploader create-metadata \
You can’t perform that action at this time.
0 commit comments