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 <ausaf.ahmed@broadcom.com>
Co-authored-by: Ausaf Ahmed <ausaf.ahmed@broadcom.com>
  • Loading branch information
mkocher and aqstack committed Jul 26, 2024
1 parent 138c65f commit 47b6b88
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 9 deletions.
2 changes: 0 additions & 2 deletions packages/golang-1.21-linux/spec.lock

This file was deleted.

2 changes: 0 additions & 2 deletions packages/golang-1.21-windows/spec.lock

This file was deleted.

2 changes: 1 addition & 1 deletion packages/otel-collector-windows/packaging
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
. ./exiter.ps1
. C:\var\vcap\packages\golang-1.21-windows\bosh\compile.ps1
. C:\var\vcap\packages\golang-1.22-windows\bosh\compile.ps1
$env:CGO_ENABLED="0"

$ErrorActionPreference = "Stop";
Expand Down
2 changes: 1 addition & 1 deletion packages/otel-collector-windows/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: otel-collector-windows

dependencies:
- golang-1.21-windows
- golang-1.22-windows

files:
- exiter.ps1
Expand Down
2 changes: 1 addition & 1 deletion packages/otel-collector/packaging
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e -x

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

export CGO_ENABLED=0

Expand Down
2 changes: 1 addition & 1 deletion packages/otel-collector/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: otel-collector

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

files:
- otel-collector-builder/**/*
Expand Down
2 changes: 1 addition & 1 deletion src/otel-collector-builder/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module code.cloudfoundry.org/otel-collector-release/src/otel-collector-builder

go 1.21.0
go 1.22.0

require go.opentelemetry.io/collector/cmd/builder v0.104.0

Expand Down

0 comments on commit 47b6b88

Please sign in to comment.