Skip to content

Commit

Permalink
chore(java): restore release requirements file changes (#1121)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeddada1 authored and cherylEnkidu committed Dec 11, 2023
1 parent 2d3af63 commit f160aed
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .kokoro/release/publish_javadoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fi
pushd $(dirname "$0")/../../

# install docuploader package
python3 -m pip install gcp-docuploader
python3 -m pip install --require-hashes -r .kokoro/requirements.txt

# compile all packages
mvn clean install -B -q -DskipTests=true
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/release/publish_javadoc11.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fi
pushd $(dirname "$0")/../../

# install docuploader package
python3 -m pip install gcp-docuploader
python3 -m pip install --require-hashes -r .kokoro/requirements.txt

# compile all packages
mvn clean install -B -q -DskipTests=true
Expand Down
3 changes: 2 additions & 1 deletion .kokoro/release/stage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
set -eo pipefail

# Start the releasetool reporter
python3 -m pip install gcp-releasetool
requirementsFile=$(realpath $(dirname "${BASH_SOURCE[0]}")/../requirements.txt)
python3 -m pip install --require-hashes -r $requirementsFile
python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script

source $(dirname "$0")/common.sh
Expand Down
6 changes: 5 additions & 1 deletion owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,9 @@
'.kokoro/nightly/java11-integration.cfg',
'.kokoro/nightly/samples.cfg',
'.kokoro/build.sh',
'samples/snapshot/pom.xml'
'samples/snapshot/pom.xml',
'.kokoro/release/publish_javadoc.sh',
'.kokoro/release/publish_javadoc11.sh',
'.kokoro/release/stage.sh',
'renovate.json'
])
1 change: 1 addition & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
":maintainLockFilesDisabled",
":autodetectPinVersions"
],
"ignorePaths": [".kokoro/requirements.txt"],
"packageRules": [
{
"packagePatterns": [
Expand Down

0 comments on commit f160aed

Please sign in to comment.