Skip to content

Commit ade23dc

Browse files
yoshi-automationchingor13
authored andcommitted
build: split clirr into separate check (#852)
1 parent 087a428 commit ade23dc

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

.kokoro/build.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ echo ${JOB_TYPE}
2626

2727
mvn install -B -V \
2828
-DskipTests=true \
29+
-Dclirr.skip=true \
2930
-Dmaven.javadoc.skip=true \
3031
-Dgcloud.download.skip=true \
3132
-T 1C
@@ -37,7 +38,7 @@ fi
3738

3839
case ${JOB_TYPE} in
3940
test)
40-
mvn test -B
41+
mvn test -B -Dclirr.skip=true
4142
bash ${KOKORO_GFILE_DIR}/codecov.sh
4243
bash .kokoro/coerce_logs.sh
4344
;;
@@ -48,9 +49,12 @@ javadoc)
4849
mvn javadoc:javadoc javadoc:test-javadoc
4950
;;
5051
integration)
51-
mvn -B ${INTEGRATION_TEST_ARGS} -DtrimStackTrace=false -fae verify
52+
mvn -B ${INTEGRATION_TEST_ARGS} -DtrimStackTrace=false -Dclirr.skip=true -fae verify
5253
bash .kokoro/coerce_logs.sh
5354
;;
55+
clirr)
56+
mvn -B clirr:check
57+
;;
5458
*)
5559
;;
5660
esac

.kokoro/presubmit/clirr.cfg

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Configure the docker image for kokoro-trampoline.
4+
5+
env_vars: {
6+
key: "TRAMPOLINE_IMAGE"
7+
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
8+
}
9+
10+
env_vars: {
11+
key: "JOB_TYPE"
12+
value: "clirr"
13+
}

synth.metadata

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"updateTime": "2019-10-18T07:51:39.452073Z",
2+
"updateTime": "2019-10-19T07:50:26.035482Z",
33
"sources": [
44
{
55
"template": {

0 commit comments

Comments
 (0)