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

Commit 605e789

Browse files
chore: update common templates
1 parent c436505 commit 605e789

File tree

8 files changed

+53
-28
lines changed

8 files changed

+53
-28
lines changed

.kokoro/build.sh

+6-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ case ${JOB_TYPE} in
4444
test)
4545
mvn test -B -Dclirr.skip=true -Denforcer.skip=true
4646
RETURN_CODE=$?
47-
bash ${KOKORO_GFILE_DIR}/codecov.sh
4847
;;
4948
lint)
5049
mvn \
@@ -91,6 +90,11 @@ clirr)
9190
;;
9291
esac
9392

93+
if [ "${REPORT_COVERAGE}" == "true" ]
94+
then
95+
bash ${KOKORO_GFILE_DIR}/codecov.sh
96+
fi
97+
9498
# fix output location of logs
9599
bash .kokoro/coerce_logs.sh
96100

@@ -101,4 +105,4 @@ then
101105
fi
102106

103107
echo "exiting with ${RETURN_CODE}"
104-
exit ${RETURN_CODE}
108+
exit ${RETURN_CODE}

.kokoro/continuous/java8.cfg

+5
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ env_vars: {
55
key: "TRAMPOLINE_IMAGE"
66
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
77
}
8+
9+
env_vars: {
10+
key: "REPORT_COVERAGE"
11+
value: "true"
12+
}

.kokoro/nightly/integration.cfg

+14
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,17 @@ env_vars: {
55
key: "TRAMPOLINE_IMAGE"
66
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
77
}
8+
9+
env_vars: {
10+
key: "ENABLE_BUILD_COP"
11+
value: "true"
12+
}
13+
14+
before_action {
15+
fetch_keystore {
16+
keystore_resource {
17+
keystore_config_id: 73713
18+
keyname: "java_it_service_account"
19+
}
20+
}
21+
}

.kokoro/nightly/java8.cfg

+5
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ env_vars: {
55
key: "TRAMPOLINE_IMAGE"
66
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
77
}
8+
9+
env_vars: {
10+
key: "REPORT_COVERAGE"
11+
value: "true"
12+
}

.kokoro/nightly/samples.cfg

+13-8
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,28 @@
22

33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
5-
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
5+
key: "TRAMPOLINE_IMAGE"
6+
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
77
}
88

99
env_vars: {
10-
key: "JOB_TYPE"
11-
value: "samples"
10+
key: "JOB_TYPE"
11+
value: "samples"
1212
}
1313

1414
env_vars: {
15-
key: "GCLOUD_PROJECT"
16-
value: "gcloud-devel"
15+
key: "GCLOUD_PROJECT"
16+
value: "gcloud-devel"
1717
}
1818

1919
env_vars: {
20-
key: "GOOGLE_APPLICATION_CREDENTIALS"
21-
value: "keystore/73713_java_it_service_account"
20+
key: "GOOGLE_APPLICATION_CREDENTIALS"
21+
value: "keystore/73713_java_it_service_account"
22+
}
23+
24+
env_vars: {
25+
key: "ENABLE_BUILD_COP"
26+
value: "true"
2227
}
2328

2429
before_action {

.kokoro/presubmit/java8.cfg

+5
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ env_vars: {
55
key: "TRAMPOLINE_IMAGE"
66
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
77
}
8+
9+
env_vars: {
10+
key: "REPORT_COVERAGE"
11+
value: "true"
12+
}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
1717
<dependency>
1818
<groupId>com.google.cloud</groupId>
1919
<artifactId>libraries-bom</artifactId>
20-
<version>4.1.0</version>
20+
<version>4.1.1</version>
2121
<type>pom</type>
2222
<scope>import</scope>
2323
</dependency>

synth.metadata

+4-17
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"updateTime": "2020-02-22T10:11:57.289557Z",
2+
"updateTime": "2020-02-24T23:11:14.681906Z",
33
"sources": [
44
{
55
"generator": {
@@ -8,26 +8,13 @@
88
"dockerImage": "googleapis/artman@sha256:36956ca6a4dc70a59de5d5d0fd35061b050bb56884516f0898f46d8220f25738"
99
}
1010
},
11-
{
12-
"git": {
13-
"name": ".",
14-
"remote": "https://github.com/googleapis/java-translate.git",
15-
"sha": "09c0e77352587bb7809e6a6c54ece785212e991a"
16-
}
17-
},
1811
{
1912
"git": {
2013
"name": "googleapis",
2114
"remote": "https://github.com/googleapis/googleapis.git",
22-
"sha": "7f910bcc4fc4704947ccfd3ceed015d16b9e00c2",
23-
"internalRef": "296451205"
24-
}
25-
},
26-
{
27-
"git": {
28-
"name": "synthtool",
29-
"remote": "rpc://devrel/cloud/libraries/tools/autosynth",
30-
"sha": "706a38c26db42299845396cdae55db635c38794a"
15+
"sha": "1e47e676cddbbd8d93f19ba0665af15b5532417e",
16+
"internalRef": "296901854",
17+
"log": "1e47e676cddbbd8d93f19ba0665af15b5532417e\nFix: Restore a method signature for UpdateCluster\n\nPiperOrigin-RevId: 296901854\n\n"
3118
}
3219
},
3320
{

0 commit comments

Comments
 (0)