Skip to content

Commit b6560d2

Browse files
chore: set env vars for tests and make it executable (#204)
1 parent f02d92c commit b6560d2

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

File renamed without changes.
File renamed without changes.

β€Žjava-pubsub/.kokoro/run_samples_tests.shβ€Ž

100644100755
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ cd ${scriptDir}/..
2828
# include common functions
2929
source ${scriptDir}/common.sh
3030

31+
# Setup required env variables
32+
source ${KOKORO_GFILE_DIR}/pubsub_secrets.txt
33+
echo "********** Successfully Set All Environment Variables **********"
34+
3135
# Attempt to install 3 times with exponential backoff (starting with 10 seconds)
3236
retry_with_backoff 3 10 \
3337
mvn install -B -V \
@@ -48,4 +52,4 @@ cd samples/
4852

4953
echo -e "\n******************** RUNNING SAMPLE TESTS ********************"
5054

51-
mvn --fail-at-end clean verify
55+
mvn --fail-at-end clean verify

0 commit comments

Comments
 (0)