Skip to content

Commit

Permalink
Bump to Go1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
aqstack committed Jul 24, 2024
1 parent d6e17c9 commit 77a63b6
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 15 deletions.
2 changes: 0 additions & 2 deletions packages/golang-1.21-linux/spec.lock

This file was deleted.

2 changes: 1 addition & 1 deletion packages/log-cache-cf-auth-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 -mod=vendor -o ${BOSH_INSTALL_TARGET}/log-cache-cf-auth-proxy ./cmd/cf-auth-proxy
2 changes: 1 addition & 1 deletion packages/log-cache-cf-auth-proxy/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: log-cache-cf-auth-proxy

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

files:
- cmd/cf-auth-proxy/**/*.go
Expand Down
2 changes: 1 addition & 1 deletion packages/log-cache-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

VERSION=$(cat version)
Expand Down
2 changes: 1 addition & 1 deletion packages/log-cache-gateway/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: log-cache-gateway

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

files:
- cmd/gateway/**/*.go
Expand Down
2 changes: 1 addition & 1 deletion packages/log-cache-nozzle/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 -mod=vendor -o ${BOSH_INSTALL_TARGET}/log-cache-nozzle ./cmd/nozzle
2 changes: 1 addition & 1 deletion packages/log-cache-nozzle/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: log-cache-nozzle

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

files:
- cmd/nozzle/**/*.go
Expand Down
2 changes: 1 addition & 1 deletion packages/log-cache-syslog-server/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 -mod=vendor -o ${BOSH_INSTALL_TARGET}/log-cache-syslog-server ./cmd/syslog-server
2 changes: 1 addition & 1 deletion packages/log-cache-syslog-server/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: log-cache-syslog-server

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

files:
- cmd/syslog-server/**/*.go
Expand Down
2 changes: 1 addition & 1 deletion packages/log-cache/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 -mod=vendor -o ${BOSH_INSTALL_TARGET}/log-cache ./cmd/log-cache
2 changes: 1 addition & 1 deletion packages/log-cache/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: log-cache

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

files:
- cmd/log-cache/**/*.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/log-cache

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 77a63b6

Please sign in to comment.