Skip to content

Commit

Permalink
Update herd-cats-linux64 script to dynamically generate config
Browse files Browse the repository at this point in the history
  • Loading branch information
lvarvel authored and David Varvel committed Sep 17, 2014
1 parent 4cf624e commit 7a74e5a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ci/scripts/herd-cats-linux64
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
#!/usr/bin/env bash

export CONFIG_DIR=`pwd`

set -e

export CF_RAISE_ERROR_ON_WARNINGS=true

export GOPATH=~/go
rm -rf $GOPATH/pkg/*

rm -f config.json
$(dirname $0)/create-cats-config

go get -d github.com/cloudfoundry/cf-acceptance-tests/
export CATSPATH=$GOPATH/src/github.com/cloudfoundry/cf-acceptance-tests

Expand All @@ -30,4 +35,7 @@ export PATH=$local_gopath/bin:$PATH

go install -v github.com/onsi/ginkgo/ginkgo
echo "CATS STRAPPED WITH GATS"
rm -f *.json
cp $CONFIG_DIR/config.json unix-cats.json
export CONFIG=`pwd`/unix-cats.json
ginkgo -r -slowSpecThreshold=120 -skipPackage=diego -skip="Can mount a fuse endpoint|transparently proxies both reserved characters and unsafe characters|go makes the app reachable via its bound route|SSO|takes effect after a restart, not requiring a push|doesn't die when printing 32MB"

0 comments on commit 7a74e5a

Please sign in to comment.