Skip to content

Commit

Permalink
chore: set env vars for tests and make it executable (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
anguillanneuf committed May 20, 2020
1 parent d2ff18c commit b488dbc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
File renamed without changes.
File renamed without changes.
6 changes: 5 additions & 1 deletion .kokoro/run_samples_tests.sh 100644 → 100755
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 b488dbc

Please sign in to comment.