Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

Commit 1592c01

Browse files
author
Micah Young
committed
Bump golang to 1.13
1 parent 0644432 commit 1592c01

File tree

9 files changed

+23
-12
lines changed

9 files changed

+23
-12
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
builds:
2+
85ce18fed88a80406c39632edd58587e63f71eae0895357d7c61a5d69b62193c:
3+
version: 85ce18fed88a80406c39632edd58587e63f71eae0895357d7c61a5d69b62193c
4+
blobstore_id: 57403cbd-6569-49e9-44c6-87cd725ccb62
5+
sha1: sha256:b287896eaeb92f54c66eb855f52798097d60256d3f6a829d753405794e5326d1
6+
format-version: "2"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
builds:
2+
90d508f7ad90706425b804c6de711d88ecff40b95cf0edbe2a42181ce2e26c40:
3+
version: 90d508f7ad90706425b804c6de711d88ecff40b95cf0edbe2a42181ce2e26c40
4+
blobstore_id: 302ba43c-0707-45ca-68a2-03e8fee350b4
5+
sha1: sha256:827a74ac02868dbee1da9fa37c5876cd66f341034a554c55dfa1424c8994fac1
6+
format-version: "2"

packages/golang-1.11-darwin/spec.lock

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/golang-1.11-linux/spec.lock

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
name: golang-1.13-darwin
2+
fingerprint: 85ce18fed88a80406c39632edd58587e63f71eae0895357d7c61a5d69b62193c
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
name: golang-1.13-linux
2+
fingerprint: 90d508f7ad90706425b804c6de711d88ecff40b95cf0edbe2a42181ce2e26c40

packages/vmrun_cpi/packaging

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ set -e -x
22

33
platform=$(uname | tr '[:upper:]' '[:lower:]')
44
if [ -z "$BOSH_PACKAGES_DIR" ]; then
5-
pkg_dir=$(readlink -nf /var/vcap/packages/golang-1.11-${platform})
5+
pkg_dir=$(readlink -nf /var/vcap/packages/golang-1.13-${platform})
66
else
7-
pkg_dir=$BOSH_PACKAGES_DIR/golang-1.11-${platform}
7+
pkg_dir=$BOSH_PACKAGES_DIR/golang-1.13-${platform}
88
fi
99

1010
source ${pkg_dir}/bosh/compile.env.generic
@@ -15,22 +15,21 @@ mkdir -p $BOSH_INSTALL_TARGET/bin
1515

1616
VERSION=$(cat bosh-vmrun-cpi/VERSION)
1717

18+
export GOCACHE=$GOROOT/cache
1819
export GOARCH=amd64
20+
1921
export GOOS=darwin
2022
export GOTOOLDIR=$GOROOT/pkg/darwin_amd64
2123

2224
go build -ldflags "-X main.version=$VERSION" -o $BOSH_INSTALL_TARGET/bin/cpi-darwin src/bosh-vmrun-cpi/cmd/cpi/*.go
2325
go build -ldflags "-X main.version=$VERSION" -o $BOSH_INSTALL_TARGET/bin/installer-darwin src/bosh-vmrun-cpi/cmd/installer/*.go
2426

25-
export GOARCH=amd64
2627
export GOOS=linux
2728
export GOTOOLDIR=$GOROOT/pkg/linux_amd64
2829

29-
3030
go build -ldflags "-X main.version=$VERSION" -o $BOSH_INSTALL_TARGET/bin/cpi-linux src/bosh-vmrun-cpi/cmd/cpi/*.go
3131
go build -ldflags "-X main.version=$VERSION" -o $BOSH_INSTALL_TARGET/bin/installer-linux src/bosh-vmrun-cpi/cmd/installer/*.go
3232

33-
export GOARCH=amd64
3433
export GOOS=windows
3534
export GOTOOLDIR=$GOROOT/pkg/windows_amd64
3635

packages/vmrun_cpi/spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
name: vmrun_cpi
33

44
dependencies:
5-
- golang-1.11-linux
6-
- golang-1.11-darwin
5+
- golang-1.13-linux
6+
- golang-1.13-darwin
77

88
files:
99
- "**/*"

src/bosh-vmrun-cpi/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.0
1+
1.2.1

0 commit comments

Comments
 (0)