Skip to content

Commit 776d2d6

Browse files
authored
Bump minimum go version to 1.23 (#5920)
* Bump minimum go version to 1.23 * make gendependabot * Update CHANGELOG.md
1 parent 0c7920d commit 776d2d6

File tree

28 files changed

+35
-49
lines changed

28 files changed

+35
-49
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ updates:
136136
directory: "/docker/elasticsearch"
137137
schedule:
138138
interval: "weekly"
139+
- package-ecosystem: "docker"
140+
directory: "/docker/envoy"
141+
schedule:
142+
interval: "weekly"
139143
- package-ecosystem: "docker"
140144
directory: "/docker/haproxy"
141145
schedule:

.github/workflows/auto-instrumentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222
PYTHON_VERSION: '3.13'
2323
PIP_VERSION: '24.2'
2424
REQUIREMENTS_PATH: "packaging/tests/requirements.txt"
25-
GO_VERSION: 1.22.10
25+
GO_VERSION: 1.23.6
2626

2727
jobs:
2828
cross-compile:

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ concurrency:
2525
cancel-in-progress: true
2626

2727
env:
28-
GO_VERSION: 1.22.10
28+
GO_VERSION: 1.23.6
2929

3030
jobs:
3131
setup-environment:

.github/workflows/darwin-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
- '!packaging/**'
2020

2121
env:
22-
GO_VERSION: '1.22.10'
22+
GO_VERSION: '1.23.6'
2323

2424
concurrency:
2525
group: darwin-test-${{ github.event.pull_request.number || github.ref }}

.github/workflows/gendependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- '.github/workflows/scripts/gendependabot.sh'
99

1010
env:
11-
GO_VERSION: 1.22.10
11+
GO_VERSION: 1.23.6
1212

1313
jobs:
1414
gendependabot:

.github/workflows/integration-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ concurrency:
2727
cancel-in-progress: true
2828

2929
env:
30-
GO_VERSION: "1.22.10"
30+
GO_VERSION: "1.23.6"
3131
jobs:
3232
agent-bundle-linux:
3333
runs-on: ${{ fromJSON('["ubuntu-24.04", "otel-arm64"]')[matrix.ARCH == 'arm64'] }}

.github/workflows/lint-examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ concurrency:
1414
cancel-in-progress: true
1515

1616
env:
17-
GO_VERSION: 1.22.10
17+
GO_VERSION: 1.23.6
1818

1919
jobs:
2020
lint:

.github/workflows/linux-package-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222
PYTHON_VERSION: '3.13'
2323
PIP_VERSION: '24.2'
2424
REQUIREMENTS_PATH: "packaging/tests/requirements.txt"
25-
GO_VERSION: 1.22.10
25+
GO_VERSION: 1.23.6
2626

2727
jobs:
2828
setup-environment:

.github/workflows/otelcol-fips.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ concurrency:
2323
cancel-in-progress: true
2424

2525
env:
26-
GO_VERSION: "1.22.10"
26+
GO_VERSION: "1.23.6"
2727

2828
jobs:
2929
otelcol-fips:

.github/workflows/splunk-ta-otel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919
cancel-in-progress: true
2020

2121
env:
22-
GO_VERSION: 1.22.10
22+
GO_VERSION: 1.23.6
2323

2424
jobs:
2525
setup-environment:

.github/workflows/vuln-scans.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
- cron: '0 0 * * 1-5' # Every weekday at midnight UTC
1515

1616
env:
17-
GO_VERSION: '1.22.10'
17+
GO_VERSION: '1.23.6'
1818

1919
concurrency:
2020
group: vuln-scans-${{ github.event.pull_request.number || github.ref }}

.github/workflows/win-package-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ concurrency:
2121
cancel-in-progress: true
2222

2323
env:
24-
GO_VERSION: 1.22.10
24+
GO_VERSION: 1.23.6
2525

2626
jobs:
2727
setup-environment:

.github/workflows/windows-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
- '!packaging/**'
1919

2020
env:
21-
GO_VERSION: '1.22.10'
21+
GO_VERSION: '1.23.6'
2222

2323
concurrency:
2424
group: windows-test-${{ github.event.pull_request.number || github.ref }}

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ fossa:
163163
fi
164164
165165
.go-cache:
166-
image: '${DOCKER_HUB_REPO}/golang:1.22.10'
166+
image: '${DOCKER_HUB_REPO}/golang:1.23.6'
167167
variables:
168168
GOPATH: "$CI_PROJECT_DIR/.go"
169169
before_script:
@@ -325,7 +325,7 @@ compile:
325325
- bin/migratecheckpoint_*
326326

327327
otelcol-fips:
328-
image: '${DOCKER_CICD_REPO}/ci-container/golang-1.22:3.5.0'
328+
image: '${DOCKER_CICD_REPO}/ci-container/golang-1.23:3.9.0'
329329
extends:
330330
- .trigger-filter
331331
stage: build

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### 🛑 Breaking changes 🛑
6+
7+
- (all) Bump minimum go version to 1.23 ([#5920](https://github.com/signalfx/splunk-otel-collector/pull/5920))
8+
59
## v0.119.0
610

711
This Splunk OpenTelemetry Collector release includes changes from the [opentelemetry-collector v0.119.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.119.0) and the [opentelemetry-collector-contrib v0.119.0](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.119.0) releases where appropriate.

cmd/otelcol/fips/build/Dockerfile.linux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG DOCKER_REPO=docker.io
2-
ARG GO_VERSION=1.22.10
2+
ARG GO_VERSION=1.23
33
FROM ${DOCKER_REPO}/golang:${GO_VERSION}
44

55
# https://splunk.atlassian.net/wiki/x/qYqRDfs

cmd/otelcol/fips/build/Dockerfile.windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GO_VERSION=1.22.10
1+
ARG GO_VERSION=1.23
22
FROM mcr.microsoft.com/oss/go/microsoft/golang:${GO_VERSION}
33

44
ARG TARGETARCH

examples/prometheus-federation/prom-counter/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/signalfx/splunk-otel-collector/examples/prometheus-federation/prom-counter
22

3-
go 1.22.5
4-
5-
toolchain go1.22.7
3+
go 1.23.0
64

75
require (
86
go.opentelemetry.io/otel v0.20.0

examples/splunk-hec-traces/tracing/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/signalfx/splunk-otel-collector/examples/splunk-hec-traces/tracing
22

3-
go 1.22.5
4-
5-
toolchain go1.22.7
3+
go 1.23.0
64

75
require (
86
go.opentelemetry.io/otel v1.1.0

examples/splunk-hec/logging/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/signalfx/splunk-otel-collector/examples/splunk-hec/logging
22

3-
go 1.22.5
4-
5-
toolchain go1.22.7
3+
go 1.23.0
64

75
require go.uber.org/zap v1.27.0
86

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/signalfx/splunk-otel-collector
22

3-
go 1.22.7
4-
5-
toolchain go1.22.10
3+
go 1.23.0
64

75
require (
86
github.com/alecthomas/participle/v2 v2.1.1

internal/signalfx-agent/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/signalfx/signalfx-agent
22

3-
go 1.22.5
4-
5-
toolchain go1.22.7
3+
go 1.23.0
64

75
replace (
86
code.cloudfoundry.org/go-loggregator => github.com/signalfx/go-loggregator v1.0.1-0.20200205155641-5ba5ca92118d

internal/tools/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/signalfx/splunk-otel-collector/internal/tools
22

3-
go 1.22.5
4-
5-
toolchain go1.22.7
3+
go 1.23.0
64

75
require (
86
github.com/client9/misspell v0.3.4

pkg/extension/smartagentextension/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/signalfx/splunk-otel-collector/pkg/extension/smartagentextension
22

3-
go 1.22.5
4-
5-
toolchain go1.22.7
3+
go 1.23.0
64

75
require (
86
github.com/signalfx/defaults v1.2.2-0.20180531161417-70562fe60657

pkg/processor/timestampprocessor/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/signalfx/splunk-otel-collector/pkg/processor/timestampprocessor
22

3-
go 1.22.5
4-
5-
toolchain go1.22.7
3+
go 1.23.0
64

75
require (
86
github.com/stretchr/testify v1.10.0

pkg/receiver/smartagentreceiver/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/signalfx/splunk-otel-collector/pkg/receiver/smartagentreceiver
22

3-
go 1.22.7
4-
5-
toolchain go1.22.10
3+
go 1.23.0
64

75
require (
86
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/experimentalmetricmetadata v0.119.0

tests/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/signalfx/splunk-otel-collector/tests
22

3-
go 1.22.5
4-
5-
toolchain go1.22.7
3+
go 1.23.0
64

75
require (
86
github.com/docker/docker v27.4.0+incompatible

tests/tools/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/signalfx/splunk-otel-collector/tests/tools
22

3-
go 1.22.5
4-
5-
toolchain go1.22.7
3+
go 1.23.0
64

75
require github.com/Songmu/gotesplit v0.3.1
86

0 commit comments

Comments
 (0)