Skip to content

Commit

Permalink
Actually fix globbing
Browse files Browse the repository at this point in the history
[Finishes #156210676](https://www.pivotaltracker.com/story/show/156210676)

Signed-off-by: Luan Santos <[email protected]>
  • Loading branch information
jrussett authored and luan committed Mar 29, 2018
1 parent 61e2024 commit eb30c4e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions jobs/acceptance-tests/templates/run.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ ${BOSH_BINARY_PATH} cloud-config > ${TEST_CLOUD_CONFIG_PATH}

source /var/vcap/packages/golang-1.8-linux/bosh/runtime.env

mkdir -p $GOPATH/src
cp -R /var/vcap/packages/acceptance-tests/src/bosh-dns $GOPATH/src/bosh-dns
mkdir -p $GOPATH/src/bosh-dns
cp -R /var/vcap/packages/acceptance-tests/src/bosh-dns/. $GOPATH/src/bosh-dns/

go install bosh-dns/vendor/github.com/onsi/ginkgo/ginkgo

Expand Down
2 changes: 1 addition & 1 deletion packages/acceptance-tests/spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies: []
files:
- bosh-dns/acceptance_tests/**/*
- bosh-dns/healthcheck/healthclient/*
- bosh-dns/test_yml_assets/*
- bosh-dns/test_yml_assets/**/*
- bosh-dns/vendor/**/*
- bosh-cli/bosh-cli-2.0.16-linux-amd64

Expand Down
11 changes: 5 additions & 6 deletions scripts/test-acceptance-windows
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

set -e -o pipefail
set -x
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

clean_up() {
fly -t production execute -x --privileged \
fly -t production execute --privileged \
--config=$DIR/../ci/tasks/clean-up.yml \
--inputs-from=bosh-dns-release/test-acceptance-windows
}

trap "clean_up" EXIT

main() {
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
tarball_dir=$(mktemp -d)
bosh create-release --force --tarball=${tarball_dir}/bosh-windows-dns-release.tgz
pushd $tarball_dir
Expand All @@ -21,27 +21,26 @@ main() {

echo "### starting windows-specific tests..."
# windows specfic
fly -t production execute -x --privileged \
fly -t production execute --privileged \
--config=$DIR/../ci/tasks/test-acceptance-windows.yml \
--inputs-from=bosh-dns-release/test-acceptance-windows \
--input=bosh-dns-release=$DIR/../ \
--input=candidate-release=${tarball_dir}

# nameserver-disabled
echo "### tests: nameserver-disabled"
fly -t production execute -x --privileged \
fly -t production execute --privileged \
--config=$DIR/../ci/tasks/test-acceptance-windows-nameserver-disabled.yml \
--inputs-from=bosh-dns-release/test-acceptance-windows \
--input=bosh-dns-release=$DIR/../

# shared
echo "### tests: shared"
fly -t production execute -x --privileged \
fly -t production execute --privileged \
--config=$DIR/../ci/tasks/test-acceptance-windows-shared.yml \
--inputs-from=bosh-dns-release/test-acceptance-windows \
--input=bosh-dns-release=$DIR/../ \
--input=candidate-release=${tarball_dir}

}

main $@

0 comments on commit eb30c4e

Please sign in to comment.