Skip to content

Commit

Permalink
move to go 1.23 (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
jotak authored Dec 20, 2024
1 parent bb70b5a commit ecdb840
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.22']
go: ['1.23']
steps:
- uses: actions/checkout@v3
- name: Set up Go
Expand All @@ -26,7 +26,7 @@ jobs:
- name: check clean vendors
run: go mod vendor
- name: Report coverage
if: ${{ matrix.go == '1.22' }}
if: ${{ matrix.go == '1.23' }}
uses: codecov/codecov-action@v4
with:
files: ./cover.out
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.22']
go: ['1.23']
steps:
- name: install make
run: sudo apt-get install make
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.22']
go: ['1.23']
steps:
- name: install make
run: sudo apt-get install make
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push_image_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.22']
go: ['1.23']
steps:
- name: install make
run: sudo apt-get install make
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.22']
go: ['1.23']
steps:
- name: checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG TARGETARCH

# Build the manager binary
FROM docker.io/library/golang:1.22 as builder
FROM docker.io/library/golang:1.23 as builder

ARG TARGETARCH
ARG LDFLAGS
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile.downstream
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Build the manager binary
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:v1.22.5-202407301806.g4c8b32d.el9 as builder

FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:v1.23 as builder

ARG VERSION="unknown"
ARG COMMIT
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ endif
LOCAL_GENERATOR_IMAGE ?= ebpf-generator:latest
CILIUM_EBPF_VERSION := v0.16.0
GOLANGCI_LINT_VERSION = v1.61.0
GO_VERSION = "1.22.4"
GO_VERSION = "1.23.4"
PROTOC_VERSION = "3.19.4"
PROTOC_GEN_GO_VERSION="v1.35.1"
PROTOC_GEN_GO_GRPC_VERSION="v1.5.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/performance/Dockerfile_packet_counter
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# this file has to be built from the project root directory

FROM golang:1.22 as builder
FROM golang:1.23 as builder

WORKDIR /app

Expand Down
2 changes: 0 additions & 2 deletions hack/update-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@ LABEL upstream-vcs-ref="${COMMIT}"
LABEL upstream-vcs-type="git"
LABEL description="The Network Observability eBPF Agent allows collecting and aggregating all the ingress and egress flows on a Linux host."
EOF

sed -i 's/\(FROM.*\)docker.io\/library\/golang:1.22\(.*\)/\1brew.registry.redhat.io\/rh-osbs\/openshift-golang-builder:v1.22.5-202407301806.g4c8b32d.el9\2/g' ./Dockerfile
2 changes: 1 addition & 1 deletion scripts/generators.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM fedora:40

ARG GOVERSION="1.22.4"
ARG GOVERSION="1.23.4"
ARG PROTOCVERSION
ARG TARGETARCH
ARG EXTENSION
Expand Down

0 comments on commit ecdb840

Please sign in to comment.