Skip to content

Commit 88fcaa5

Browse files
ludochgae-java-bot
authored andcommitted
Update Kokoro Javadoc script, adjust test parameters, and remove an obsolete test.
PiperOrigin-RevId: 819408189 Change-Id: I3b35cdf6a4986428a5f7ca5832120a6eda34a33a
1 parent 9b95095 commit 88fcaa5

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

kokoro/gcp_ubuntu/publish_javadoc.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@ setup_docuploader() {
2222
curl -fsSL --retry 10 -o /tmp/jar1.jar https://github.com/googleapis/java-docfx-doclet/releases/download/1.9.0/docfx-doclet-1.9.0-jar-with-dependencies.jar
2323
# Update Python 3 and Maven
2424
sudo apt-get update
25-
sudo apt-get install -y python3 python3-pip maven
25+
sudo apt-get install -y python3 python3-pip python3-venv maven
2626
# install docuploader package with upgrade to get latest correct versions.
2727
echo "Trying to install gcp-docuploader."
28-
python3 -m pip install --require-hashes --upgrade pip --user
29-
python3 -m pip install --require-hashes gcp-docuploader --user
30-
python3 -m pip install --require-hashes --upgrade protobuf --user
28+
python3 -m venv env
29+
source env/bin/activate
30+
python3 -m pip install --require-hashes --upgrade pip
31+
python3 -m pip install --require-hashes gcp-docuploader==0.7.2
32+
python3 -m pip install --require-hashes --upgrade protobuf
3133
}
3234

3335
if [[ -z "${CREDENTIALS}" ]]; then

0 commit comments

Comments
 (0)