Skip to content
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
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
unit-test:
strategy:
matrix:
go-version: [1.20.x]
go-version: [1.23.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -24,7 +24,7 @@ jobs:
build-test:
strategy:
matrix:
go-version: [1.20.x]
go-version: [1.23.x]
platform: [ubuntu-latest]
arch: [386, amd64, arm, arm64]
runs-on: ${{ matrix.platform }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20-alpine as builder
FROM golang:1.23-alpine as builder

RUN apk update && apk add --no-cache git ca-certificates && update-ca-certificates

Expand Down
6 changes: 0 additions & 6 deletions driver/sanity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,6 @@ func (s *fakeHelper) CreateVolume(req *instance.CreateVolumeRequest, opts ...scw
volume.VolumeType = req.VolumeType
if req.Size != nil {
volume.Size = *req.Size
} else if req.BaseVolume != nil {
baseVol, ok := s.volumesMap[*req.BaseVolume]
if !ok {
return nil, &scw.ResourceNotFoundError{}
}
volume.Size = baseVol.Size
} else if req.BaseSnapshot != nil {
baseSnap, ok := s.snapshotsMap[*req.BaseSnapshot]
if !ok {
Expand Down
34 changes: 18 additions & 16 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
module github.com/scaleway/scaleway-csi

go 1.20
go 1.23.0

toolchain go1.23.3

require (
github.com/container-storage-interface/spec v1.6.0
github.com/golang/protobuf v1.5.3
github.com/google/uuid v1.3.0
github.com/golang/protobuf v1.5.4
github.com/google/uuid v1.6.0
github.com/kubernetes-csi/csi-test/v5 v5.0.0
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.21.0.20230918151823-4f048611ed7c
golang.org/x/sys v0.9.0
google.golang.org/grpc v1.56.1
google.golang.org/protobuf v1.30.0
k8s.io/klog/v2 v2.100.1
k8s.io/mount-utils v0.27.3
k8s.io/utils v0.0.0-20230505201702-9f6742963106
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30
golang.org/x/sys v0.29.0
google.golang.org/grpc v1.69.4
google.golang.org/protobuf v1.36.3
k8s.io/klog/v2 v2.130.1
k8s.io/mount-utils v0.32.1
k8s.io/utils v0.0.0-20241210054802-24370beab758
)

require (
github.com/go-logr/logr v1.2.3 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/moby/sys/mountinfo v0.6.2 // indirect
github.com/moby/sys/mountinfo v0.7.2 // indirect
github.com/moby/sys/userns v0.1.0 // indirect
github.com/onsi/ginkgo/v2 v2.1.4 // indirect
github.com/onsi/gomega v1.20.0 // indirect
github.com/rogpeppe/go-internal v1.10.0 // indirect
golang.org/x/net v0.9.0 // indirect
golang.org/x/text v0.9.0 // indirect
golang.org/x/net v0.30.0 // indirect
golang.org/x/text v0.19.0 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
Loading
Loading