From 3b0fce1da31a44701ae7a9599276776aa2be0c4e Mon Sep 17 00:00:00 2001 From: Alban Crequy Date: Sat, 27 Feb 2016 21:47:21 +0100 Subject: [PATCH] circle.yml: disable GCE builds when credentials are missing Another call to gce.sh was added in commit abebb0f197f3 ("Build new test VM (to pickup latest Docker version)") but without the guard on $SECRET_PASSWORD. Add the guard to be able to test on CircleCI without Weaveworks' credentials. --- circle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index d886538c7..334d1b134 100644 --- a/circle.yml +++ b/circle.yml @@ -27,7 +27,7 @@ dependencies: cp -r $(pwd)/ $SRCDIR - "cd $SRCDIR/client; ../tools/rebuild-image weaveworks/scope-ui-build . Dockerfile package.json webpack.production.config.js .eslintrc .babelrc && touch $SRCDIR/.scope_ui_build.uptodate" - "cd $SRCDIR/backend; ../tools/rebuild-image weaveworks/scope-backend-build . Dockerfile build.sh && touch $SRCDIR/.scope_backend_build.uptodate" - - cd $SRCDIR/integration; ./gce.sh make_template: + - test -z "$SECRET_PASSWORD" || (cd $SRCDIR/integration; ./gce.sh make_template): parallel: false test: