File tree 2 files changed +3
-12
lines changed 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 1
1
# Format: //devtools/kokoro/config/proto/build.proto
2
2
3
+ # Download secrets from Cloud Storage.
4
+ gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/java-docs-samples"
5
+
3
6
# Configure the docker image for kokoro-trampoline.
4
7
env_vars: {
5
8
key: " TRAMPOLINE_IMAGE"
Original file line number Diff line number Diff line change @@ -32,18 +32,6 @@ source ${scriptDir}/common.sh
32
32
source ${KOKORO_GFILE_DIR} /secret_manager/java-bigquery-samples-secrets
33
33
echo " ********** Successfully Set All Environment Variables **********"
34
34
35
- # if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it
36
- if [[ ! -z " ${GOOGLE_APPLICATION_CREDENTIALS} " && " ${GOOGLE_APPLICATION_CREDENTIALS} " != /* ]]; then
37
- export GOOGLE_APPLICATION_CREDENTIALS=$( realpath ${KOKORO_GFILE_DIR} /secret_manager/${GOOGLE_APPLICATION_CREDENTIALS} )
38
- fi
39
-
40
- # Activate service account
41
- gcloud auth activate-service-account \
42
- --key-file=" $GOOGLE_APPLICATION_CREDENTIALS " \
43
- --project=" $GOOGLE_CLOUD_PROJECT "
44
-
45
- mvn clean install -DskipTests=true
46
-
47
35
# Move into the samples directory
48
36
cd samples/snippets
49
37
You can’t perform that action at this time.
0 commit comments