Skip to content

Commit

Permalink
chore: read env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
anguillanneuf committed May 19, 2020
1 parent d2ff18c commit 2c16757
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .kokoro/run_samples_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ cd ${scriptDir}/..
# include common functions
source ${scriptDir}/common.sh

# Setup required env variables
source ${KOKORO_GFILE_DIR}/pubsub_secrets.txt
echo "********** Successfully Set All Environment Variables **********"

# Attempt to install 3 times with exponential backoff (starting with 10 seconds)
retry_with_backoff 3 10 \
mvn install -B -V \
Expand All @@ -48,4 +52,4 @@ cd samples/

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

mvn --fail-at-end clean verify
mvn --fail-at-end clean verify

0 comments on commit 2c16757

Please sign in to comment.