Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Go version to 1.23 #1105

Merged
merged 7 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ issues:
- revive
text: indent-error-flow
run:
go: "1.22"
go: "1.23"
build-tags:
- integration
linters:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the autoinstrumenter binary
FROM golang:1.22 AS builder
FROM golang:1.23 AS builder

# TODO: embed software version in executable

Expand Down
2 changes: 1 addition & 1 deletion configs/offsets/kafkago/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module kafkago_off

go 1.22.2
go 1.23

require github.com/segmentio/kafka-go v0.4.47

Expand Down
2 changes: 1 addition & 1 deletion configs/offsets/redis/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module grafana.com/goredis

go 1.22.2
go 1.23

require github.com/redis/go-redis/v9 v9.5.1

Expand Down
2 changes: 1 addition & 1 deletion configs/offsets/sarama/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module sarama_off

go 1.22.2
go 1.23

require github.com/IBM/sarama v1.43.2

Expand Down
2 changes: 1 addition & 1 deletion configs/offsets/shopify/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module shopify_sarama_off

go 1.22.2
go 1.23

require github.com/Shopify/sarama v1.37.1

Expand Down
2 changes: 1 addition & 1 deletion generator.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu:latest

ARG GOVERSION="1.22.2"
ARG GOVERSION="1.23.0"

ARG TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/grafana/beyla

go 1.22
go 1.23

require (
github.com/AlessandroPomponio/go-gibberish v0.0.0-20191004143433-a2d4156f0396
Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/beyla/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Development version of the beyla Dockerfile that compiles for coverage
# and allows retrieving coverage files.
# The production-ready minimal image is in the project root's dockerfile.
FROM golang:1.22 as builder
FROM golang:1.23 as builder

ARG TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/beyla/Dockerfile_dbg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Development version of the beyla Dockerfile that compiles for coverage
# and allows retrieving coverage files.
# The production-ready minimal image is in the project root's dockerfile.
FROM golang:1.22 as builder
FROM golang:1.23 as builder

ARG TARGETARCH

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build the testserver binary
# Docker command must be invoked from the projec root directory
FROM golang:1.22 AS builder
FROM golang:1.23 AS builder

ARG TARGETARCH

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build the testserver binary
# Docker command must be invoked from the projec root directory
FROM golang:1.22 AS builder
FROM golang:1.23 AS builder

ARG TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/go_grpc_server_mux/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module grpc_mux

go 1.22.5
go 1.23

require (
golang.org/x/net v0.27.0
Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/gohttp2/client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build the testserver binary
# Docker command must be invoked from the projec root directory
FROM golang:1.22 as builder
FROM golang:1.23 as builder

ARG TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/gohttp2/client/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module http2client

go 1.22
go 1.23

require (
golang.org/x/net v0.20.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/gohttp2/server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build the testserver binary
# Docker command must be invoked from the projec root directory
FROM golang:1.22 as builder
FROM golang:1.23 as builder

ARG TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/gohttp2/server/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module http2srv

go 1.22
go 1.23

require (
golang.org/x/net v0.20.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/gokafka-seg/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build the testserver binary
# Docker command must be invoked from the projec root directory
FROM golang:1.22 AS builder
FROM golang:1.23 AS builder

ARG TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/gokafka-seg/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module grafana.com/gokafka-seg

go 1.22.2
go 1.23

require github.com/segmentio/kafka-go v0.4.47

Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/gokafka/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build the testserver binary
# Docker command must be invoked from the projec root directory
FROM golang:1.22 as builder
FROM golang:1.23 as builder

ARG TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/gokafka/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module grafana.com/gokafka

go 1.22.2
go 1.23

require (
github.com/IBM/sarama v1.43.2 // indirect
Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/goredis/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build the testserver binary
# Docker command must be invoked from the projec root directory
FROM golang:1.22 as builder
FROM golang:1.23 as builder

ARG TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/goredis/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module grafana.com/goredis

go 1.22.2
go 1.23

require github.com/redis/go-redis/v9 v9.5.1

Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/grpcpinger/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build the testserver binary
# Docker command must be invoked from the projec root directory
FROM golang:1.22 as builder
FROM golang:1.23 as builder

ARG TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/httppinger/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build the testserver binary
# Docker command must be invoked from the projec root directory
FROM golang:1.22 as builder
FROM golang:1.23 as builder

ARG TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/old_grpc/backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22 as builder
FROM golang:1.23 as builder

WORKDIR /src

Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/old_grpc/worker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22 as builder
FROM golang:1.23 as builder

WORKDIR /src

Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/pingclient/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build the testserver binary
# Docker command must be invoked from the projec root directory
FROM golang:1.22 as builder
FROM golang:1.23 as builder

ARG TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/sqlclient/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build the testserver binary
# Docker command must be invoked from the projec root directory
FROM golang:1.22 as builder
FROM golang:1.23 as builder

ARG TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/testserver/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build the testserver binary
# Docker command must be invoked from the projec root directory
FROM golang:1.22 AS builder
FROM golang:1.23 AS builder

ARG TARGETARCH

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build the testserver binary
# Docker command must be invoked from the projec root directory
FROM golang:1.22 as builder
FROM golang:1.23 as builder

ARG TARGETARCH

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build the testserver binary
# Docker command must be invoked from the projec root directory
FROM golang:1.22 as builder
FROM golang:1.23 as builder

ARG TARGETARCH

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build the testserver binary
# Docker command must be invoked from the projec root directory
FROM golang:1.22 as builder
FROM golang:1.23 as builder

ARG TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion test/integration/components/testserver/Dockerfile_static
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build the testserver binary
# Docker command must be invoked from the projec root directory
FROM golang:1.22 as builder
FROM golang:1.23 as builder

ARG TARGETARCH

Expand Down
2 changes: 1 addition & 1 deletion test/oats/kafka/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/grafana/beyla/test/oats

go 1.22
go 1.23

require (
github.com/grafana/oats v0.0.3
Expand Down
2 changes: 1 addition & 1 deletion test/oats/redis/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/grafana/beyla/test/oats

go 1.22
go 1.23

require (
github.com/grafana/oats v0.0.3
Expand Down
2 changes: 1 addition & 1 deletion test/oats/sql/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/grafana/beyla/test/oats

go 1.22
go 1.23

require (
github.com/grafana/oats v0.0.3
Expand Down
Loading