File tree Expand file tree Collapse file tree 5 files changed +55
-7
lines changed Expand file tree Collapse file tree 5 files changed +55
-7
lines changed Original file line number Diff line number Diff line change 14
14
15
15
# Format: //devtools/kokoro/config/proto/build.proto
16
16
17
- # Download trampoline resources. These will be in ${KOKORO_GFILE_DIR}
17
+ # Download secrets from Cloud Storage.
18
+ gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/java-docs-samples"
19
+
20
+ # Download trampoline resources.
18
21
gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/trampoline"
19
22
20
- # All builds use the trampoline script to run in docker.
23
+ # Use the trampoline script to run in docker.
21
24
build_file: " java-docs-samples/.kokoro/trampoline.sh"
22
25
23
26
# Configure the docker image for kokoro-trampoline.
24
27
env_vars: {
25
28
key: " TRAMPOLINE_IMAGE"
26
29
value: " gcr.io/cloud-devrel-kokoro-resources/java"
27
30
}
31
+
Original file line number Diff line number Diff line change
1
+ # Copyright 2017 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # Format: //devtools/kokoro/config/proto/build.proto
16
+
17
+ # Tell trampoline which tests to run.
18
+ env_vars: {
19
+ key: " TRAMPOLINE_BUILD_FILE"
20
+ value: " github/java-docs-samples/.kokoro/tests/run_tests.sh"
21
+ }
22
+
Original file line number Diff line number Diff line change 14
14
15
15
# Format: //devtools/kokoro/config/proto/build.proto
16
16
17
- # Download secrets from Cloud Storage.
18
- gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/java-docs-samples"
19
-
20
17
# Tell the trampoline which build file to use.
21
18
env_vars: {
22
19
key: " TRAMPOLINE_BUILD_FILE"
23
- value: " github/java-docs-samples/.kokoro/system_tests .sh"
20
+ value: " github/java-docs-samples/.kokoro/tests/run_tests .sh"
24
21
}
22
+
Original file line number Diff line number Diff line change
1
+ # Copyright 2017 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # Format: //devtools/kokoro/config/proto/build.proto
16
+
17
+ # Tell the trampoline which build file to use.
18
+ env_vars: {
19
+ key: " TRAMPOLINE_BUILD_FILE"
20
+ value: " github/java-docs-samples/.kokoro/tests/run_tests.sh"
21
+ }
22
+
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ function TestIt() {
44
44
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR} /service-acct.json
45
45
export GOOGLE_CLOUD_PROJECT=java-docs-samples-testing
46
46
export PATH=/google-cloud-sdk/bin:$PATH
47
+ source ${KOKORO_GFILE_DIR} /aws-secrets.sh
47
48
48
49
echo " ******** Environment *********"
49
50
env
@@ -65,7 +66,8 @@ gcloud config list
65
66
66
67
echo " ******** build everything ********"
67
68
cd github/java-docs-samples
68
- mvn -B --fail-at-end clean verify -Dbigtable.projectID=" ${GOOGLE_CLOUD_PROJECT} " \
69
+ mvn -B --fail-at-end clean verify -Dfile.encoding=" UTF-16" \
70
+ -Dbigtable.projectID=" ${GOOGLE_CLOUD_PROJECT} " \
69
71
-Dbigtable.instanceID=instance | \
70
72
grep -E -v " (^\[INFO\] Download|^\[INFO\].*skipping)"
71
73
You can’t perform that action at this time.
0 commit comments