Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
build: split clirr into separate check (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and chingor13 committed Oct 21, 2019
1 parent b8d446c commit 0f03e1a
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 8 deletions.
8 changes: 6 additions & 2 deletions .kokoro/build.sh
Expand Up @@ -26,6 +26,7 @@ echo ${JOB_TYPE}

mvn install -B -V \
-DskipTests=true \
-Dclirr.skip=true \
-Dmaven.javadoc.skip=true \
-Dgcloud.download.skip=true \
-T 1C
Expand All @@ -37,7 +38,7 @@ fi

case ${JOB_TYPE} in
test)
mvn test -B
mvn test -B -Dclirr.skip=true
bash ${KOKORO_GFILE_DIR}/codecov.sh
bash .kokoro/coerce_logs.sh
;;
Expand All @@ -48,9 +49,12 @@ javadoc)
mvn javadoc:javadoc javadoc:test-javadoc
;;
integration)
mvn -B ${INTEGRATION_TEST_ARGS} -DtrimStackTrace=false -fae verify
mvn -B ${INTEGRATION_TEST_ARGS} -DtrimStackTrace=false -Dclirr.skip=true -fae verify
bash .kokoro/coerce_logs.sh
;;
clirr)
mvn -B clirr:check
;;
*)
;;
esac
13 changes: 13 additions & 0 deletions .kokoro/presubmit/clirr.cfg
@@ -0,0 +1,13 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Configure the docker image for kokoro-trampoline.

env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
}

env_vars: {
key: "JOB_TYPE"
value: "clirr"
}
12 changes: 6 additions & 6 deletions synth.metadata
@@ -1,26 +1,26 @@
{
"updateTime": "2019-10-17T20:28:09.307255Z",
"updateTime": "2019-10-19T07:51:37.211347Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.39.0",
"dockerImage": "googleapis/artman@sha256:72554d0b3bdc0b4ac7d6726a6a606c00c14b454339037ed86be94574fb05d9f3"
"version": "0.40.1",
"dockerImage": "googleapis/artman@sha256:168646efbffe41e8f8fa86a60fa0d5724fab67fa37f35082cf6cfc85cedce3c7"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "a05f640453ac7b4e1361dfceeae15ee6e02317f1",
"internalRef": "275258873"
"sha": "0e9a6d15fcb944ed40921ba0aad2082ee1bc7edd",
"internalRef": "275543900"
}
},
{
"template": {
"name": "java_library",
"origin": "synthtool.gcp",
"version": "2019.5.2"
"version": "2019.10.17"
}
}
],
Expand Down

0 comments on commit 0f03e1a

Please sign in to comment.