Skip to content

Commit 8fd3d4a

Browse files
committed
set application credentials env variable in graalvm b
1 parent 5fd11c1 commit 8fd3d4a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.kokoro/build.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,19 +72,15 @@ integration)
7272
;;
7373
graalvmA)
7474
# Run Unit and Integration Tests with Native Image
75-
echo "HELLOOOO"
7675
bash .kokoro/populate-secrets.sh
7776
export GOOGLE_APPLICATION_CREDENTIALS="${KOKORO_GFILE_DIR}/secret_manager/java-it-service-account"
78-
# if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then
79-
# echo "HELLO1"
80-
# export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_GFILE_DIR}/${GOOGLE_APPLICATION_CREDENTIALS})
81-
# fi
8277
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Pnative-test test -pl 'oauth2_http'
8378
RETURN_CODE=$?
8479
;;
8580
graalvmB)
8681
# Run Unit and Integration Tests with Native Image
87-
# bash .kokoro/populate-secrets.sh
82+
bash .kokoro/populate-secrets.sh
83+
export GOOGLE_APPLICATION_CREDENTIALS="${KOKORO_GFILE_DIR}/secret_manager/java-it-service-account"
8884
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Pnative-test test -pl 'oauth2_http'
8985
RETURN_CODE=$?
9086
;;

0 commit comments

Comments
 (0)