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

Commit 60f9bce

Browse files
yoshi-automationchingor13
authored andcommitted
build: split clirr into separate check (#19)
1 parent 422ee1a commit 60f9bce

File tree

3 files changed

+25
-8
lines changed

3 files changed

+25
-8
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: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
2-
"updateTime": "2019-10-17T20:29:20.751034Z",
2+
"updateTime": "2019-10-19T07:53:14.562169Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.39.0",
8-
"dockerImage": "googleapis/artman@sha256:72554d0b3bdc0b4ac7d6726a6a606c00c14b454339037ed86be94574fb05d9f3"
7+
"version": "0.40.1",
8+
"dockerImage": "googleapis/artman@sha256:168646efbffe41e8f8fa86a60fa0d5724fab67fa37f35082cf6cfc85cedce3c7"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "a05f640453ac7b4e1361dfceeae15ee6e02317f1",
16-
"internalRef": "275258873"
15+
"sha": "0e9a6d15fcb944ed40921ba0aad2082ee1bc7edd",
16+
"internalRef": "275543900"
1717
}
1818
},
1919
{
2020
"template": {
2121
"name": "java_library",
2222
"origin": "synthtool.gcp",
23-
"version": "2019.5.2"
23+
"version": "2019.10.17"
2424
}
2525
}
2626
],

0 commit comments

Comments
 (0)