Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Commit 8dc367c

Browse files
ci: linkage monitor CI job to use build.sh
This PR updates the GitHub Actions configuration for Linkage Monitor. Before this change, the CI configuration has "mvn install" command with 6 options. It turned out that a slight difference in the command line option from "build.sh" fails the build in google-auth-library-java repository (GoogleCloudPlatform/cloud-opensource-java#1941). (@Neenu1995 found the build failure. Thanks!) Therefore, this change updates the configuration so that Linkage Monitor job just uses "build.sh" to install the artifacts into local Maven repository. # How did I test? I tested this change in java-spanner repository with this draft PR: googleapis/java-spanner#868 <img width="889" alt="Screen Shot 2021-02-12 at 16 54 18" src="https://user-images.githubusercontent.com/28604/107826467-f3cd5c80-6d52-11eb-86f1-1a8053326978.png"> It succeeded. Source-Author: Tomo Suzuki <[email protected]> Source-Date: Tue Feb 16 15:56:09 2021 -0500 Source-Repo: googleapis/synthtool Source-Sha: f327d3b657a63ae4a8efd7f011a15eacae36b59c Source-Link: googleapis/synthtool@f327d3b
1 parent 814c7dd commit 8dc367c

2 files changed

Lines changed: 5 additions & 12 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,10 @@ jobs:
5555
java-version: 8
5656
- run: java -version
5757
- name: Install artifacts to local Maven repository
58-
run: |
59-
source .kokoro/common.sh
60-
retry_with_backoff 3 10 \
61-
mvn install -B -V \
62-
-Dmaven.test.skip -DskipTests=true \
63-
-Dclirr.skip=true \
64-
-Denforcer.skip=true \
65-
-Dmaven.javadoc.skip=true \
66-
-Dgcloud.download.skip=true
58+
run: .kokoro/build.sh
6759
shell: bash
68-
- uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor
60+
- name: Validate any conflicts with regard to com.google.cloud:libraries-bom (latest release)
61+
uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor
6962
lint:
7063
runs-on: ubuntu-latest
7164
steps:

synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"git": {
1212
"name": ".",
1313
"remote": "https://github.com/googleapis/java-bigquerystorage.git",
14-
"sha": "88b9f6c1dd58e15e63a5014437398252babb3c3e"
14+
"sha": "814c7ddd38d2b8027466f3d3c1e3722b431159f1"
1515
}
1616
},
1717
{
@@ -50,7 +50,7 @@
5050
"git": {
5151
"name": "synthtool",
5252
"remote": "https://github.com/googleapis/synthtool.git",
53-
"sha": "2414b817065726eae0bc525346c7e874f969369d"
53+
"sha": "f327d3b657a63ae4a8efd7f011a15eacae36b59c"
5454
}
5555
}
5656
],

0 commit comments

Comments
 (0)