Skip to content

Commit 7033dc8

Browse files
yoshi-automationkolea2
authored andcommitted
[CHANGE ME] Re-generated to pick up changes in the API or client library generator. (#26)
1 parent a138a0f commit 7033dc8

40 files changed

+128
-82
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,18 @@ Thanks for stopping by to let us know something could be better!
1010

1111
Please run down the following list and make sure you've tried the usual "quick fixes":
1212

13-
- Search the issues already opened: https://github.com/googleapis//issues
13+
- Search the issues already opened: https://github.com/googleapis/java-bigtable/issues
1414
- Check for answers on StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform
1515

1616
If you are still having issues, please include as much information as possible:
1717

1818
#### Environment details
1919

20-
1. OS type and version:
21-
2. Java version:
22-
3. version(s):
20+
1. Specify the API at the beginning of the title. For example, "BigQuery: ...").
21+
General, Core, and Other are also allowed as types
22+
2. OS type and version:
23+
3. Java version:
24+
4. bigtable version(s):
2325

2426
#### Steps to reproduce
2527

@@ -46,4 +48,4 @@ Any relevant stacktrace here.
4648

4749
Following these steps guarantees the quickest resolution possible.
4850

49-
Thanks!
51+
Thanks!

.github/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1+
releaseType: java-yoshi

.kokoro/build.sh

Lines changed: 9 additions & 3 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,8 +38,9 @@ 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
43+
bash .kokoro/coerce_logs.sh
4244
;;
4345
lint)
4446
mvn com.coveo:fmt-maven-plugin:check
@@ -47,8 +49,12 @@ javadoc)
4749
mvn javadoc:javadoc javadoc:test-javadoc
4850
;;
4951
integration)
50-
mvn -B ${INTEGRATION_TEST_ARGS} -DtrimStackTrace=false -fae verify
52+
mvn -B ${INTEGRATION_TEST_ARGS} -DtrimStackTrace=false -Dclirr.skip=true -fae verify
53+
bash .kokoro/coerce_logs.sh
54+
;;
55+
clirr)
56+
mvn -B clirr:check
5157
;;
5258
*)
5359
;;
54-
esac
60+
esac

.kokoro/coerce_logs.sh

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#!/bin/bash
2+
# Copyright 2019 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
# This script finds and moves sponge logs so that they can be found by placer
17+
# and are not flagged as flaky by sponge.
18+
19+
set -eo pipefail
20+
21+
## Get the directory of the build script
22+
scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}"))
23+
## cd to the parent directory, i.e. the root of the git repo
24+
cd ${scriptDir}/..
25+
26+
job=$(basename ${KOKORO_JOB_NAME})
27+
28+
echo "coercing sponge logs..."
29+
for xml in `find . -name *-sponge_log.xml`
30+
do
31+
echo "processing ${xml}"
32+
class=$(basename ${xml} | cut -d- -f2)
33+
dir=$(dirname ${xml})/${job}/${class}
34+
text=$(dirname ${xml})/${class}-sponge_log.txt
35+
mkdir -p ${dir}
36+
mv ${xml} ${dir}/sponge_log.xml
37+
mv ${text} ${dir}/sponge_log.txt
38+
done

.kokoro/continuous/common.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
action {
55
define_artifacts {
66
regex: "**/*sponge_log.xml"
7+
regex: "**/*sponge_log.txt"
78
}
89
}
910

.kokoro/continuous/lint.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ env_vars: {
1010
env_vars: {
1111
key: "JOB_TYPE"
1212
value: "lint"
13-
}
13+
}

.kokoro/continuous/propose_release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ export NPM_CONFIG_PREFIX=/home/node/.npm-global
2121
if [ -f ${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please ]; then
2222
# Groom the release PR as new commits are merged.
2323
npx release-please release-pr --token=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-token-release-please \
24-
--repo-url= \
25-
--package-name="" \
24+
--repo-url=googleapis/java-bigtable \
25+
--package-name="bigtable" \
2626
--api-url=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please \
2727
--proxy-key=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-key-release-please \
2828
--release-type=java-yoshi

.kokoro/nightly/common.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
action {
55
define_artifacts {
66
regex: "**/*sponge_log.xml"
7+
regex: "**/*sponge_log.txt"
78
}
89
}
910

.kokoro/nightly/lint.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ env_vars: {
1010
env_vars: {
1111
key: "JOB_TYPE"
1212
value: "lint"
13-
}
13+
}

.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+
}

0 commit comments

Comments
 (0)