File tree Expand file tree Collapse file tree 2 files changed +6
-16
lines changed
synthtool/gcp/templates/python_library/.kokoro Expand file tree Collapse file tree 2 files changed +6
-16
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ action {
11
11
gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/trampoline"
12
12
13
13
# 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"
15
15
16
16
# Configure the docker image for kokoro-trampoline.
17
17
env_vars: {
18
18
key: " TRAMPOLINE_IMAGE"
19
- value: " gcr.io/cloud-devrel-kokoro-resources/python-multi "
19
+ value: " gcr.io/cloud-devrel-kokoro-resources/python-lib-docs "
20
20
}
21
21
env_vars: {
22
22
key: " TRAMPOLINE_BUILD_FILE"
Original file line number Diff line number Diff line change @@ -18,26 +18,16 @@ set -eo pipefail
18
18
# Disable buffering, so that the logs stream through.
19
19
export PYTHONUNBUFFERED=1
20
20
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} "
25
22
26
23
# 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
29
26
30
27
# build docs
31
28
nox -s docs
32
29
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
41
31
42
32
# create metadata
43
33
python3 -m docuploader create-metadata \
You can’t perform that action at this time.
0 commit comments