Skip to content

Commit

Permalink
Bump to Go1.22
Browse files Browse the repository at this point in the history
Signed-off-by: Ausaf Ahmed <[email protected]>
Co-authored-by: Ausaf Ahmed <[email protected]>
  • Loading branch information
mkocher and aqstack committed Jul 25, 2024
1 parent 465c67f commit 371c17e
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion packages/doppler/packaging
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set -ex

source /var/vcap/packages/golang-1.21-linux/bosh/compile.env
source /var/vcap/packages/golang-1.22-linux/bosh/compile.env
export GOPATH=/var/vcap

go build -o ${BOSH_INSTALL_TARGET}/doppler ./router/
2 changes: 1 addition & 1 deletion packages/doppler/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: doppler

dependencies:
- golang-1.21-linux
- golang-1.22-linux

files:
- diodes/**/*.go
Expand Down
2 changes: 0 additions & 2 deletions packages/golang-1.21-linux/spec.lock

This file was deleted.

2 changes: 1 addition & 1 deletion packages/loggregator_trafficcontroller/packaging
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set -ex

source /var/vcap/packages/golang-1.21-linux/bosh/compile.env
source /var/vcap/packages/golang-1.22-linux/bosh/compile.env
export GOPATH=/var/vcap

go build -o ${BOSH_INSTALL_TARGET}/trafficcontroller ./trafficcontroller/
2 changes: 1 addition & 1 deletion packages/loggregator_trafficcontroller/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: loggregator_trafficcontroller

dependencies:
- golang-1.21-linux
- golang-1.22-linux

files:
- metricemitter/**/*.go
Expand Down
2 changes: 1 addition & 1 deletion packages/reverse_log_proxy/packaging
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set -ex

source /var/vcap/packages/golang-1.21-linux/bosh/compile.env
source /var/vcap/packages/golang-1.22-linux/bosh/compile.env
export GOPATH=/var/vcap

go build -o ${BOSH_INSTALL_TARGET}/rlp ./rlp/
2 changes: 1 addition & 1 deletion packages/reverse_log_proxy/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: reverse_log_proxy

dependencies:
- golang-1.21-linux
- golang-1.22-linux

files:
- metricemitter/**/*.go
Expand Down
2 changes: 1 addition & 1 deletion packages/reverse_log_proxy_gateway/packaging
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set -ex

source /var/vcap/packages/golang-1.21-linux/bosh/compile.env
source /var/vcap/packages/golang-1.22-linux/bosh/compile.env
export GOPATH=/var/vcap

go build -o ${BOSH_INSTALL_TARGET}/rlp-gateway ./rlp-gateway/
2 changes: 1 addition & 1 deletion packages/reverse_log_proxy_gateway/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: reverse_log_proxy_gateway

dependencies:
- golang-1.21-linux
- golang-1.22-linux

files:
- metricemitter/**/*.go
Expand Down
4 changes: 1 addition & 3 deletions src/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module code.cloudfoundry.org/loggregator-release/src

go 1.21.0

toolchain go1.21.12
go 1.22.0

require (
code.cloudfoundry.org/go-batching v0.0.0-20240604201829-c8533406dd64
Expand Down

0 comments on commit 371c17e

Please sign in to comment.