Check if we have secrets before decrypting or running smoke tests

And enable running CircleCI on forked pull requests
This commit is contained in:
Bryan Boreham committed 2016-12-23 16:06:20 +00:00
1 parent 1e7afe3bec
commit ab55da47b6
5 files changed
+5 -5

No files matched your search

+1
View File
@@ -5,6 +5,7 @@ set -e
source "$STATE"
if [ -n "$TEST_AND_PUBLISH" ] ; then
[ -n "$SECRET_PASSWORD" ] || echo "Cannot run smoke tests: no secret key" && exit 1
cd $SRCDIR/test
eval $(./gce.sh hosts)
export COVERAGE=true