Skip to content

Commit

Permalink
chore: restore monorepo check to be pinned at latest version (#2019)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeddada1 committed Sep 21, 2023
1 parent 2b45049 commit 4d68e44
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .kokoro/presubmit/downstream-compatibility.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,9 @@ echo "Install complete. java-shared-dependencies = $SHARED_DEPS_VERSION"

pushd java-shared-dependencies/target
for repo in ${REPOS_UNDER_TEST//,/ }; do # Split on comma
# Perform testing on HEAD for google-cloud-java
if [ $repo == "google-cloud-java" ]; then
git clone "https://github.com/googleapis/$repo.git" --depth=1
else
# Perform testing on last release, not HEAD
last_release=$(find_last_release_version "$repo")
git clone "https://github.com/googleapis/$repo.git" --depth=1 --branch "v$last_release"
fi
# Perform testing on last release, not HEAD
last_release=$(find_last_release_version "$repo")
git clone "https://github.com/googleapis/$repo.git" --depth=1 --branch "v$last_release"
update_all_poms_dependency "$repo" google-cloud-shared-dependencies "$SHARED_DEPS_VERSION"
pushd "$repo"
JOB_TYPE="test" ./.kokoro/build.sh
Expand Down

0 comments on commit 4d68e44

Please sign in to comment.