Skip to content

Commit

Permalink
fix for go 1.18
Browse files Browse the repository at this point in the history
- letting the pipeline do the actual golang bump and tests

- go tries to include git information but stemcells do not include git binary
  golang/go#51748

- go install instead of go get for installing in go 1.18

Signed-off-by: Ben Fuller <benjaminf@vmware.com>
Co-authored-by: Ben Fuller <benjaminf@vmware.com>
  • Loading branch information
acrmp and Ben Fuller committed Apr 7, 2022
1 parent 00e2668 commit ef7314a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions packages/blackbox-windows/spec
@@ -1,6 +1,8 @@
---
name: blackbox-windows
dependencies:
- golang-1-windows
- golang-1-windows
files:
- blackbox/**/*
- blackbox/**/*
excluded_files:
- blackbox/.git
8 changes: 4 additions & 4 deletions scripts/test
Expand Up @@ -6,11 +6,11 @@ pushd "$(dirname "$0")/.."
bosh create-release --force --version="$(date "+%s")"
bosh upload-release
popd
bosh upload-stemcell --sha1 256e2629f2f949d3fc1b9f03a4b9f60ce88520a8 https://bosh.io/d/stemcells/bosh-google-kvm-windows2019-go_agent?v=2019.36
bosh upload-release --sha1 9bf48ad25843e29dc76437fe89a35c550746fd22 https://bosh.io/d/github.com/cloudfoundry/syslog-release?v=11.7.0
bosh upload-release --sha1 7886ffd43b84d4eced06560ba601ce1eb97c6616 https://bosh.io/d/github.com/cloudfoundry-incubator/windows-utilities-release?v=0.14.0
bosh upload-stemcell https://bosh.io/d/stemcells/bosh-google-kvm-windows2019-go_agent
bosh upload-release https://bosh.io/d/github.com/cloudfoundry/syslog-release
bosh upload-release https://bosh.io/d/github.com/cloudfoundry-incubator/windows-utilities-release

go get -u github.com/onsi/ginkgo/ginkgo
pushd "$(dirname "$0")/../tests"
go install github.com/onsi/ginkgo/ginkgo@latest
ginkgo -r -nodes=2 "$@"
popd

0 comments on commit ef7314a

Please sign in to comment.