File tree 3 files changed +7
-17
lines changed
3 files changed +7
-17
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: " python-api-core/.kokoro/trampoline .sh"
14
+ build_file: " python-api-core/.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/python-api-core
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 \
Original file line number Diff line number Diff line change 11
11
"git": {
12
12
"name": "synthtool",
13
13
"remote": "https://github.com/googleapis/synthtool.git",
14
- "sha": "5dfda5621df45b71b6e88544ebbb53b1a8c90214 "
14
+ "sha": "39b527a39f5cd56d4882b3874fc08eed4756cebe "
15
15
}
16
16
}
17
17
]
You can’t perform that action at this time.
0 commit comments