Skip to content
This repository was archived by the owner on Dec 3, 2023. It is now read-only.

Commit 5bb41da

Browse files
yoshi-automationchingor13
authored andcommitted
build: move clirr to separate check (#64)
1 parent 7b1e6d7 commit 5bb41da

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"updateTime": "2019-10-17T20:33:19.417356Z",
2+
"updateTime": "2019-10-19T07:59:22.603125Z",
33
"sources": [
44
{
55
"template": {
66
"name": "java_library",
77
"origin": "synthtool.gcp",
8-
"version": "2019.5.2"
8+
"version": "2019.10.17"
99
}
1010
}
1111
]

0 commit comments

Comments
 (0)