10 files changed +7
-252
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -29,5 +29,5 @@ env_vars: {
29
29
30
30
env_vars: {
31
31
key: " SECRET_MANAGER_KEYS"
32
- value: " java-docs-samples-service-account"
32
+ value: " java-docs-samples-service-account, java-bigquery-samples-secrets "
33
33
}
Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ source ${scriptDir}/common.sh
30
30
31
31
# Setup required env variables
32
32
source ${KOKORO_GFILE_DIR} /secret_manager/java-bigquery-samples-secrets
33
+ # if GOOGLE_APPLICATION_CREDENTIALS is specified as a relative path, prepend Kokoro root directory onto it
34
+ if [[ ! -z " ${GOOGLE_APPLICATION_CREDENTIALS} " && " ${GOOGLE_APPLICATION_CREDENTIALS} " != /* ]]; then
35
+ export GOOGLE_APPLICATION_CREDENTIALS=$( realpath ${KOKORO_GFILE_DIR} /${GOOGLE_APPLICATION_CREDENTIALS} )
36
+ fi
33
37
echo " ********** Successfully Set All Environment Variables **********"
34
38
35
39
# Move into the samples directory
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 17
17
import synthtool .languages .java as java
18
18
19
19
java .common_templates (excludes = [
20
- '.kokoro/continuous/java8-samples.cfg' ,
21
- '.kokoro/continuous/java11-samples.cfg' ,
22
- '.kokoro/nightly/java8-samples.cfg' ,
23
- '.kokoro/nightly/java11-samples.cfg' ,
24
20
'.kokoro/nightly/samples.cfg' ,
25
- '.kokoro/presubmit/java8-samples.cfg' ,
26
- '.kokoro/presubmit/java11-samples.cfg' ,
21
+ '.kokoro/presubmit/samples.cfg' ,
27
22
'.kokoro/dependencies.sh' ,
28
23
'codecov.yaml' ,
29
24
'renovate.json' ,
30
- ])
25
+ ])
0 commit comments