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 golang to 1.23 for Luigi #276

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all 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 Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.22 AS builder
FROM golang:1.23 AS builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ $(ENVTEST): $(LOCALBIN)
GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest

img-test:
docker run --rm -v $(SRCROOT):/luigi -w /luigi golang:1.22 bash -c "GOFLAGS=-buildvcs=false make test"
docker run --rm -v $(SRCROOT):/luigi -w /luigi golang:1.23 bash -c "GOFLAGS=-buildvcs=false make test"

img-build: $(BUILD_DIR) img-test
docker build --network host . -t ${IMG}
Expand Down
2 changes: 1 addition & 1 deletion dhcp-controller/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.22 AS builder
FROM golang:1.23 AS builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
2 changes: 1 addition & 1 deletion dhcp-controller/dhcpserver/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.22 AS builder
FROM golang:1.23 AS builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
2 changes: 1 addition & 1 deletion dhcp-controller/dhcpserver/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module dhcpserver

go 1.21
go 1.23

require (
github.com/fsnotify/fsnotify v1.6.0
Expand Down
2 changes: 1 addition & 1 deletion dhcp-controller/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module dhcp-controller

go 1.21
go 1.23

require (
github.com/apparentlymart/go-cidr v1.1.0
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/platform9/luigi

go 1.22.0
go 1.23

toolchain go1.22.7
toolchain go1.23.3

require (
github.com/dustin/go-humanize v1.0.1
Expand Down
2 changes: 1 addition & 1 deletion hostplumber/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.22 AS builder
FROM golang:1.23 AS builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
2 changes: 1 addition & 1 deletion hostplumber/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ $(ENVTEST): $(LOCALBIN)
GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest

img-test:
docker run --rm -v $(SRCROOT):/hostplumber -w /hostplumber golang:1.22 bash -c "make test"
docker run --rm -v $(SRCROOT):/hostplumber -w /hostplumber golang:1.23 bash -c "make test"

img-build: $(BUILD_DIR) img-test
docker build --network host . -t ${IMG}
Expand Down
4 changes: 2 additions & 2 deletions hostplumber/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module hostplumber

go 1.22.0
go 1.23

toolchain go1.22.7
toolchain go1.23.3

require github.com/vishvananda/netlink v1.1.0

Expand Down
2 changes: 1 addition & 1 deletion yoshi/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.22 AS builder
FROM golang:1.23 AS builder
ARG TARGETOS
ARG TARGETARCH

Expand Down
4 changes: 2 additions & 2 deletions yoshi/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/platform9/luigi/yoshi

go 1.22
go 1.23

toolchain go1.22.7
toolchain go1.23.3

require (
github.com/go-logr/logr v1.3.0
Expand Down