Skip to content

Commit

Permalink
Upgraded go version to 1.22.6
Browse files Browse the repository at this point in the history
  • Loading branch information
chan-tim-sumo committed Aug 26, 2024
1 parent d457102 commit 633e4c0
Show file tree
Hide file tree
Showing 26 changed files with 25 additions and 25 deletions.
1 change: 1 addition & 0 deletions .changelog/1662.2.changed.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
chore(deps): Upgrade go version to 1.22.6
2 changes: 1 addition & 1 deletion .github/workflows/dev_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ defaults:
shell: bash

env:
GO_VERSION: "1.21.11"
GO_VERSION: "1.22.6"

jobs:
get-version:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defaults:
shell: bash

env:
GO_VERSION: "1.21.11"
GO_VERSION: "1.22.6"

jobs:
build-changed:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defaults:
shell: bash

env:
GO_VERSION: "1.21.11"
GO_VERSION: "1.22.6"

jobs:
get-version:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workflow-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ defaults:
shell: bash

env:
GO_VERSION: "1.21.11"
GO_VERSION: "1.22.6"

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workflow-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ defaults:
shell: bash

env:
GO_VERSION: "1.21.11"
GO_VERSION: "1.22.6"

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile_local
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21.11-alpine AS builder
FROM golang:1.22.6-alpine AS builder
ADD . /src
WORKDIR /src/otelcolbuilder/
ENV CGO_ENABLED=0
Expand Down
2 changes: 1 addition & 1 deletion ci/build-fips-action/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV TARGETARCH=$TARGETARCH

RUN yum groupinstall -y "Development Tools" && yum install -y curl git

RUN curl -Lo go.tar.gz https://go.dev/dl/go1.21.11.linux-$TARGETARCH.tar.gz
RUN curl -Lo go.tar.gz https://go.dev/dl/go1.22.6.linux-$TARGETARCH.tar.gz
RUN tar -zxvf go.tar.gz -C /usr/local
ENV PATH="/usr/local/go/bin:${PATH}"

Expand Down
1 change: 0 additions & 1 deletion otelcolbuilder/.otelcol-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ excludes:
replaces:
# ----------------------------------------------------------------------------
# Needed for telegrafreceiver
# - github.com/influxdata/telegraf => github.com/SumoLogic/telegraf v1.28.3-sumo-3
- github.com/influxdata/telegraf => github.com/SumoLogic/telegraf v1.31.2-sumo-1

# This is to make sure we build the with the sumologicextension from the tree.
Expand Down
2 changes: 1 addition & 1 deletion pkg/configprovider/globprovider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/SumoLogic/sumologic-otel-collector/pkg/configprovider/globprov

go 1.21.0

toolchain go1.21.11
toolchain go1.22.6

require (
github.com/stretchr/testify v1.9.0
Expand Down
2 changes: 1 addition & 1 deletion pkg/configprovider/opampprovider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/SumoLogic/sumologic-otel-collector/pkg/configprovider/opamppro

go 1.21.0

toolchain go1.21.11
toolchain go1.22.6

require (
github.com/SumoLogic/sumologic-otel-collector/pkg/configprovider/globprovider v0.0.0-00010101000000-000000000000
Expand Down
2 changes: 1 addition & 1 deletion pkg/exporter/sumologicexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/SumoLogic/sumologic-otel-collector/pkg/exporter/sumologicexpor

go 1.21.0

toolchain go1.22.2
toolchain go1.22.6

require (
github.com/klauspost/compress v1.17.9
Expand Down
2 changes: 1 addition & 1 deletion pkg/exporter/syslogexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/SumoLogic/sumologic-otel-collector/pkg/exporter/syslogexporter

go 1.21.0

toolchain go1.21.11
toolchain go1.22.6

require (
github.com/stretchr/testify v1.9.0
Expand Down
2 changes: 1 addition & 1 deletion pkg/extension/opampextension/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/extension/opamp

go 1.21.0

toolchain go1.21.11
toolchain go1.22.6

require (
github.com/google/uuid v1.6.0
Expand Down
2 changes: 1 addition & 1 deletion pkg/extension/sumologicextension/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/SumoLogic/sumologic-otel-collector/pkg/extension/sumologicexte

go 1.21.0

toolchain go1.21.11
toolchain go1.22.6

require (
github.com/Showmax/go-fqdn v1.0.0
Expand Down
2 changes: 1 addition & 1 deletion pkg/processor/cascadingfilterprocessor/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/SumoLogic/sumologic-otel-collector/pkg/processor/cascadingfilt

go 1.21.0

toolchain go1.21.11
toolchain go1.22.6

require (
github.com/google/uuid v1.6.0
Expand Down
2 changes: 1 addition & 1 deletion pkg/processor/k8sprocessor/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8spr

go 1.21.0

toolchain go1.21.11
toolchain go1.22.6

require (
github.com/open-telemetry/opentelemetry-collector-contrib/internal/k8sconfig v0.106.1
Expand Down
2 changes: 1 addition & 1 deletion pkg/processor/metricfrequencyprocessor/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/SumoLogic/sumologic-otel-collector/processor/metricfrequencypr

go 1.21.0

toolchain go1.21.11
toolchain go1.22.6

require (
github.com/patrickmn/go-cache v2.1.0+incompatible
Expand Down
2 changes: 1 addition & 1 deletion pkg/processor/sourceprocessor/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/SumoLogic/sumologic-otel-collector/pkg/processor/sourceprocess

go 1.21.0

toolchain go1.21.11
toolchain go1.22.6

require (
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest v0.106.1
Expand Down
2 changes: 1 addition & 1 deletion pkg/processor/sumologicschemaprocessor/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/astencel-sumo/sumologicschemaprocessor

go 1.21.0

toolchain go1.21.11
toolchain go1.22.6

require (
github.com/davecgh/go-spew v1.1.1 // indirect
Expand Down
2 changes: 1 addition & 1 deletion pkg/processor/sumologicsyslogprocessor/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/SumoLogic/sumologic-otel-collector/pkg/processor/sumologicsysl

go 1.21.0

toolchain go1.21.11
toolchain go1.22.6

require (
github.com/stretchr/testify v1.9.0
Expand Down
2 changes: 1 addition & 1 deletion pkg/receiver/activedirectoryinvreceiver/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/SumoLogic/sumologic-otel-collector/pkg/receiver/activedirector

go 1.21.0

toolchain go1.21.11
toolchain go1.22.6

require (
github.com/go-adsi/adsi v0.0.0-20230315214257-4ff46d735e52
Expand Down
2 changes: 1 addition & 1 deletion pkg/receiver/jobreceiver/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/SumoLogic/sumologic-otel-collector/pkg/receiver/jobreceiver

go 1.21.0

toolchain go1.21.11
toolchain go1.22.6

require (
github.com/cenkalti/backoff/v4 v4.3.0
Expand Down
2 changes: 1 addition & 1 deletion pkg/receiver/rawk8seventsreceiver/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/SumoLogic/sumologic-otel-collector/pkg/receiver/rawk8seventsre

go 1.21.0

toolchain go1.21.11
toolchain go1.22.6

require (
github.com/cenkalti/backoff/v4 v4.3.0
Expand Down
2 changes: 1 addition & 1 deletion pkg/receiver/telegrafreceiver/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/SumoLogic/sumologic-otel-collector/pkg/receiver/telegrafreceiv

go 1.22.0

toolchain go1.22.2
toolchain go1.22.6

require (
github.com/cenkalti/backoff/v4 v4.3.0
Expand Down
2 changes: 1 addition & 1 deletion vagrant/provision.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

export GO_VERSION="1.21.11"
export GO_VERSION="1.22.6"

ARCH="$(dpkg --print-architecture)"

Expand Down

0 comments on commit 633e4c0

Please sign in to comment.