Skip to content

Commit

Permalink
build: split clirr into separate check (#1394)
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 56b72fa commit 420d9da
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 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"
}
4 changes: 2 additions & 2 deletions synth.metadata
@@ -1,11 +1,11 @@
{
"updateTime": "2019-10-17T20:26:06.515366Z",
"updateTime": "2019-10-19T07:50:20.310494Z",
"sources": [
{
"template": {
"name": "java_library",
"origin": "synthtool.gcp",
"version": "2019.5.2"
"version": "2019.10.17"
}
}
]
Expand Down

0 comments on commit 420d9da

Please sign in to comment.