#!/bin/bash

set -exu
set -o pipefail


pushd /var/vcap/packages/performance-test-sd > /dev/null
  source /var/vcap/packages/golang-1-linux/bosh/compile.env
popd > /dev/null

DATA_DIR=/var/vcap/data/performance-test-sd
export CF_HOME=$DATA_DIR/cf-home
mkdir -p $CF_HOME

export CONFIG=/var/vcap/jobs/performance-test-sd/config.json
export APPS_DIR=$GOPATH/src/example-apps

go install github.com/onsi/ginkgo/ginkgo

cd $GOPATH/src/test/performance-sd
ginkgo -r -v


#!/bin/bash

set -exu
set -o pipefail

export GO111MODULE=auto

pushd /var/vcap/packages/performance-test-sd > /dev/null
  source /var/vcap/packages/golang-1-linux/bosh/compile.env
popd > /dev/null

DATA_DIR=/var/vcap/data/performance-test-sd
export CF_HOME=$DATA_DIR/cf-home
mkdir -p $CF_HOME

export CONFIG=/var/vcap/jobs/performance-test-sd/config.json
export APPS_DIR=$GOPATH/src/example-apps

go install github.com/onsi/ginkgo/ginkgo

cd $GOPATH/src/test/performance-sd
ginkgo -r -v


Add go mod flag so tests can be run using go 1.16
Add go mod flag so tests can be run using go 1.16

[#177498036](https://www.pivotaltracker.com/story/show/177498036)
