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

Commit ac3042e

Browse files
chore: update common templates (#140)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/a069b96f-107b-4280-b093-3101f1baebc2/targets
1 parent 38fc0b9 commit ac3042e

File tree

4 files changed

+44
-10
lines changed

4 files changed

+44
-10
lines changed

.kokoro/common.sh

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,28 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
# set -eo pipefail
17-
1816
function retry_with_backoff {
1917
attempts_left=$1
2018
sleep_seconds=$2
2119
shift 2
2220
command=$@
2321

22+
23+
# store current flag state
24+
flags=$-
25+
26+
# allow a failures to continue
27+
set +e
2428
echo "${command}"
2529
${command}
2630
exit_code=$?
2731

32+
# restore "e" flag
33+
if [[ ${flags} =~ e ]]
34+
then set -e
35+
else set +e
36+
fi
37+
2838
if [[ $exit_code == 0 ]]
2939
then
3040
return 0

.kokoro/nightly/integration.cfg

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,26 @@ env_vars: {
66
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
77
}
88

9+
env_vars: {
10+
key: "JOB_TYPE"
11+
value: "integration"
12+
}
13+
14+
env_vars: {
15+
key: "GCLOUD_PROJECT"
16+
value: "gcloud-devel"
17+
}
18+
919
env_vars: {
1020
key: "ENABLE_BUILD_COP"
1121
value: "true"
1222
}
1323

24+
env_vars: {
25+
key: "GOOGLE_APPLICATION_CREDENTIALS"
26+
value: "keystore/73713_java_it_service_account"
27+
}
28+
1429
before_action {
1530
fetch_keystore {
1631
keystore_resource {

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
3131
</dependencies>
3232
```
3333

34-
[//]: # ({x-version-update-start:google-cloud-speech:released})
35-
3634
If you are using Maven without BOM, add this to your dependencies:
3735

3836
```xml
@@ -43,6 +41,8 @@ If you are using Maven without BOM, add this to your dependencies:
4341
</dependency>
4442
```
4543

44+
[//]: # ({x-version-update-start:google-cloud-speech:released})
45+
4646
If you are using Gradle, add this to your dependencies
4747
```Groovy
4848
compile 'com.google.cloud:google-cloud-speech:1.22.6'

0 commit comments

Comments
 (0)