From 7a74e5a3bfbb4e975eee4aedcc5a1471939070fc Mon Sep 17 00:00:00 2001 From: David Varvel <dvarvel@pivotallabs.com> Date: Wed, 17 Sep 2014 16:06:07 -0700 Subject: [PATCH] Update herd-cats-linux64 script to dynamically generate config --- ci/scripts/herd-cats-linux64 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ci/scripts/herd-cats-linux64 b/ci/scripts/herd-cats-linux64 index 414295bd9e0..dd9354ad4d3 100755 --- a/ci/scripts/herd-cats-linux64 +++ b/ci/scripts/herd-cats-linux64 @@ -1,5 +1,7 @@ #!/usr/bin/env bash +export CONFIG_DIR=`pwd` + set -e export CF_RAISE_ERROR_ON_WARNINGS=true @@ -7,6 +9,9 @@ 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 @@ -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"