Skip to content

Commit 7e3f052

Browse files
author
Joseph Palermo
authored
Merge pull request #31 from cloudfoundry/remove-old-style-gopath-stemcell-acceptance-tests
Update the path of the stemcell acceptance tests
2 parents a353928 + d079c65 commit 7e3f052

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tasks/test-stemcell.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ BOSH_ENVIRONMENT="$(bosh int director-state/director-creds.yml --path /internal_
99
SYSLOG_RELEASE_PATH="$(realpath syslog-release/*.tgz)"
1010
OS_CONF_RELEASE_PATH="$(realpath os-conf-release/*.tgz)"
1111
STEMCELL_PATH="$(realpath stemcell/*.tgz)"
12+
# Quote value since the bosh CLI YAML parses it which results in `0.40` becoming `0.4`
13+
# shellcheck disable=SC2089
1214
BOSH_stemcell_version="\"$(realpath stemcell/.resource/version | xargs -n 1 cat)\""
1315

1416
export BOSH_BINARY_PATH
@@ -30,6 +32,7 @@ if bosh int director-state/director-creds.yml --path /jumpbox_ssh > /dev/null 2>
3032
export BOSH_GW_HOST="${BOSH_ENVIRONMENT}"
3133
fi
3234

33-
pushd bosh-linux-stemcell-builder/src/github.com/cloudfoundry/stemcell-acceptance-tests
35+
pushd bosh-linux-stemcell-builder/acceptance-tests
36+
# shellcheck disable=SC2154
3437
go run github.com/onsi/ginkgo/v2/ginkgo --skip-package vendor -r "${package}"
3538
popd

0 commit comments

Comments
 (0)