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 to Go 1.23 including go module, Dockerfile, Workflows #2942

Merged
merged 1 commit into from
Jan 6, 2025
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
6 changes: 3 additions & 3 deletions .github/workflows/ocs-operator-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: ["1.22"]
go: ["1.23"]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -46,7 +46,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: ["1.22"]
go: ["1.23"]
steps:
- uses: actions/setup-go@v5
with:
Expand All @@ -66,7 +66,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: ["1.22"]
go: ["1.23"]
steps:
- uses: actions/setup-go@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build stage 1

FROM docker.io/library/golang:1.22 as builder
FROM docker.io/library/golang:1.23 as builder

WORKDIR /workspace

Expand Down
4 changes: 3 additions & 1 deletion api/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/red-hat-storage/ocs-operator/api/v4

go 1.22.7
go 1.23.0

toolchain go1.23.4

require (
github.com/noobaa/noobaa-operator/v5 v5.0.0-20241112075542-b62bb7eb535d
Expand Down
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/red-hat-storage/ocs-operator/v4

go 1.22.7
go 1.23.0

toolchain go1.23.4

replace github.com/red-hat-storage/ocs-operator/api/v4 => ./api

Expand Down
2 changes: 1 addition & 1 deletion metrics/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build stage 1

FROM docker.io/library/golang:1.22 as builder
FROM docker.io/library/golang:1.23 as builder

WORKDIR /workspace

Expand Down
4 changes: 3 additions & 1 deletion metrics/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/red-hat-storage/ocs-operator/metrics/v4

go 1.22.7
go 1.23.0

toolchain go1.23.4

replace github.com/red-hat-storage/ocs-operator/api/v4 => ../api

Expand Down
4 changes: 2 additions & 2 deletions metrics/vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -303,11 +303,11 @@ github.com/prometheus/procfs
github.com/prometheus/procfs/internal/fs
github.com/prometheus/procfs/internal/util
# github.com/red-hat-storage/ocs-operator/api/v4 v4.0.0-20241115141546-9ae360a1030f => ../api
## explicit; go 1.22.7
## explicit; go 1.23.0
github.com/red-hat-storage/ocs-operator/api/v4/v1
github.com/red-hat-storage/ocs-operator/api/v4/v1alpha1
# github.com/red-hat-storage/ocs-operator/v4 v4.0.0-20240731064750-930a78b89d84 => ../
## explicit; go 1.22.7
## explicit; go 1.23.0
github.com/red-hat-storage/ocs-operator/v4/controllers/util
github.com/red-hat-storage/ocs-operator/v4/services
github.com/red-hat-storage/ocs-operator/v4/version
Expand Down
4 changes: 3 additions & 1 deletion services/provider/api/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/red-hat-storage/ocs-operator/services/provider/api/v4

go 1.22.7
go 1.23.0

toolchain go1.23.4

require (
google.golang.org/grpc v1.68.0
Expand Down
4 changes: 2 additions & 2 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -397,11 +397,11 @@ github.com/prometheus/procfs/internal/util
## explicit; go 1.22.5
github.com/red-hat-storage/ocs-client-operator/api/v1alpha1
# github.com/red-hat-storage/ocs-operator/api/v4 v4.0.0-20241115141546-9ae360a1030f => ./api
## explicit; go 1.22.7
## explicit; go 1.23.0
github.com/red-hat-storage/ocs-operator/api/v4/v1
github.com/red-hat-storage/ocs-operator/api/v4/v1alpha1
# github.com/red-hat-storage/ocs-operator/services/provider/api/v4 v4.0.0-20241119193523-84da60595b49 => ./services/provider/api
## explicit; go 1.22.7
## explicit; go 1.23.0
github.com/red-hat-storage/ocs-operator/services/provider/api/v4
github.com/red-hat-storage/ocs-operator/services/provider/api/v4/client
github.com/red-hat-storage/ocs-operator/services/provider/api/v4/interfaces
Expand Down
Loading