ci: linkage monitor CI job to use build.sh #947
Merged
gcf-merge-on-green[bot] merged 1 commit intogoogleapis:masterfrom Feb 16, 2021
Merged
ci: linkage monitor CI job to use build.sh #947gcf-merge-on-green[bot] merged 1 commit intogoogleapis:masterfrom
gcf-merge-on-green[bot] merged 1 commit intogoogleapis:masterfrom
Conversation
suztomo
commented
Feb 12, 2021
| -Denforcer.skip=true \ | ||
| -Dmaven.javadoc.skip=true \ | ||
| -Dgcloud.download.skip=true | ||
| run: .kokoro/build.sh |
Member
Author
There was a problem hiding this comment.
The build.sh has the following mvn command.
retry_with_backoff 3 10 \
mvn install -B -V \
-DskipTests=true \
-Dclirr.skip=true \
-Denforcer.skip=true \
-Dmaven.javadoc.skip=true \
-Dgcloud.download.skip=true \
-T 1C
Without JOB_TYPE environment variable, the script just finishes the installation of the artifacts to the local Maven repository. Suitable behavior for Linkage Monitor.
elharo
approved these changes
Feb 12, 2021
chingor13
approved these changes
Feb 16, 2021
Neenu1995
approved these changes
Feb 16, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
It succeeded.