Add toggle for skipping tests
This commit is contained in:
1 parent
b45f138ff1
commit
a9db631836
6 files changed
+44
-29
No files matched your search
@@ -2,16 +2,21 @@
|
||||
|
||||
set -e
|
||||
|
||||
echo "SKIP_TESTS=1" > "$STATE"
|
||||
|
||||
source "$STATE"
|
||||
|
||||
sudo apt-get -q update && sudo apt-get -q install bc jq
|
||||
bin/setup-circleci-secrets "$SECRET_PASSWORD"
|
||||
mkdir -p $(dirname $SRCDIR) && cp -r $(pwd)/ $SRCDIR
|
||||
cd $SRCDIR; git submodule update --init
|
||||
if [ "$CIRCLE_NODE_INDEX" = "0" ] ; then
|
||||
cd $SRCDIR/test; ./gce.sh make_template
|
||||
|
||||
if [ -z "$SKIP_TESTS" ] ; then
|
||||
cd $SRCDIR; git submodule update --init
|
||||
if [ "$CIRCLE_NODE_INDEX" = "0" ] ; then
|
||||
cd $SRCDIR/test; ./gce.sh make_template
|
||||
fi
|
||||
cd $SRCDIR/build
|
||||
../tools/rebuild-image weaveworks/weavebuild . Dockerfile build.sh
|
||||
touch $SRCDIR/.build.uptodate
|
||||
sudo chown -R ubuntu /usr/local/go
|
||||
fi
|
||||
cd $SRCDIR/build
|
||||
../tools/rebuild-image weaveworks/weavebuild . Dockerfile build.sh
|
||||
touch $SRCDIR/.build.uptodate
|
||||
sudo chown -R ubuntu /usr/local/go
|
||||
Reference in new issue
Block a user