Skip to content

Commit

Permalink
Merge pull request #2942 from malayparida2000/1_23
Browse files Browse the repository at this point in the history
Update to Go 1.23 including go module, Dockerfile, Workflows
  • Loading branch information
openshift-merge-bot[bot] authored Jan 6, 2025
2 parents 7b44102 + 129911e commit 327c9f1
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 13 deletions.
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

0 comments on commit 327c9f1

Please sign in to comment.