Skip to content

Commit fbb7e69

Browse files
committed
ci: Skip the GAPIC monorepo
1 parent c370f77 commit fbb7e69

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.kokoro/nightly/downstream-protobuf-binary-compatibility.sh

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,23 @@ mvn -B -ntp clean compile
3636
pushd dependencies
3737

3838
for repo in ${REPOS_UNDER_TEST//,/ }; do # Split on comma
39+
# Skip the GAPIC monorepo as it's autogenerated
40+
# TODO(lawrenceqiu): Test using the showcase module for GAPIC coverage
41+
if [[ "$repo" == "google-cloud-java" ]]; then
42+
continue
43+
fi
44+
3945
repo_name=$(echo "$repo" | cut -d '-' -f 2-)
4046
# Perform source-compatibility testing on main (latest changes)
4147
git clone "https://github.com/googleapis/$repo.git" --depth=1
4248
pushd "$repo"
4349

44-
mvn -B -ntp clean install -T 1C -DskipTests
50+
mvn -B -ntp clean install -T 1C -DskipTests -Dclirr.skip
4551

46-
# For google-cloud-java monorepo, use the parent google-cloud-java version.
47-
# Otherwise, use the first google-cloud-* artifact's version.
48-
if [[ "$repo" == "google-cloud-java" ]]; then
49-
primary_artifact=$(grep -E "^${repo}" "versions.txt" | head -n 1)
50-
else
51-
primary_artifact=$(grep -E "^google-cloud-${repo_name}" "versions.txt" | head -n 1)
52+
if [[ "$repo" == "java-storage-nio" ]]; then
53+
repo_name="nio"
5254
fi
55+
primary_artifact=$(grep -E "^google-cloud-${repo_name}" "versions.txt" | head -n 1)
5356
version=$(echo "${primary_artifact}" | tr ':' '\n' | tail -n 1)
5457
echo "Using ${repo} v${version}"
5558
popd

0 commit comments

Comments
 (0)