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

Commit

Permalink
build: split clirr into separate check (#6)
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 e6e5f35 commit f20e15a
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:30:40.820124Z",
"updateTime": "2019-10-19T07:53:50.299230Z",
"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-private",
"remote": "https://github.com/googleapis/googleapis-private.git",
"sha": "d82e5b14d9fd9ce30556eeb4519626968c0eb33c",
"internalRef": "274626545"
"sha": "5ad985bffaac84d2ecae790c32f380810f1933e8",
"internalRef": "275509215"
}
},
{
"template": {
"name": "java_library",
"origin": "synthtool.gcp",
"version": "2019.5.2"
"version": "2019.10.17"
}
}
],
Expand Down

0 comments on commit f20e15a

Please sign in to comment.