Skip to content

Commit

Permalink
prepare v5.0.0 release
Browse files Browse the repository at this point in the history
The switching to Gingko v2 is potentially breaking users, so it gets
treated as an API change.
  • Loading branch information
pohly committed Aug 3, 2022
1 parent 9968d08 commit 060d97f
Show file tree
Hide file tree
Showing 11 changed files with 51 additions and 11 deletions.
40 changes: 40 additions & 0 deletions CHANGELOG/CHANGELOG-5.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Release notes for v5.0.0

# Changelog since v4.4.0

## Changes by Kind

### API Changes
- csi-sanity is now built with Ginkgo v2. All camel case flags
(e.g. -ginkgo.randomizeAllSpecs) are replaced with kebab case flags
(e.g. -ginkgo.randomize-all-specs). The camel case versions continue to work but
emit a deprecation warning. The "junitfile" configuration file option was
removed because ginkgo now handles JUnit report creation
itself. "-csi.junitfile" continues to work, but is only an alias for
"-ginkgo.junit-report" and should be replaced by that.
([#366](https://github.com/kubernetes-csi/csi-test/pull/366),
[@pohly](https://github.com/pohly))

## Dependencies

### Added
_Nothing has changed._

### Changed
- github.com/google/go-cmp: [v0.5.6 → v0.5.8](https://github.com/google/go-cmp/compare/v0.5.6...v0.5.8)
- github.com/onsi/ginkgo/v2: [v2.1.3 → v2.1.4](https://github.com/onsi/ginkgo/v2/compare/v2.1.3...v2.1.4)
- github.com/onsi/ginkgo: [v1.16.5 → v1.16.4](https://github.com/onsi/ginkgo/compare/v1.16.5...v1.16.4)
- github.com/onsi/gomega: [v1.19.0 → v1.20.0](https://github.com/onsi/gomega/compare/v1.19.0...v1.20.0)
- github.com/yuin/goldmark: [v1.3.5 → v1.4.1](https://github.com/yuin/goldmark/compare/v1.3.5...v1.4.1)
- golang.org/x/crypto: 75b2880 → 089bfa5
- golang.org/x/mod: v0.4.2 → 9b9b3d8
- golang.org/x/net: 27dd868 → 0bcc04d
- golang.org/x/sys: 1d35b9e → a90be44
- golang.org/x/tools: v0.1.1 → v0.1.10
- google.golang.org/grpc: v1.47.0 → v1.48.0
- google.golang.org/protobuf: v1.27.1 → v1.28.0
- gopkg.in/yaml.v3: 9f266ea → v3.0.1
- k8s.io/klog/v2: v2.60.1 → v2.70.1

### Removed
_Nothing has changed._
2 changes: 1 addition & 1 deletion cmd/csi-sanity/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/onsi/ginkgo/v2"
"k8s.io/klog/v2"

"github.com/kubernetes-csi/csi-test/v4/pkg/sanity"
"github.com/kubernetes-csi/csi-test/v5/pkg/sanity"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion driver/mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package driver
import (
"net"

"github.com/kubernetes-csi/csi-test/v4/utils"
"github.com/kubernetes-csi/csi-test/v5/utils"
"google.golang.org/grpc"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/kubernetes-csi/csi-test/v4
module github.com/kubernetes-csi/csi-test/v5

go 1.16

Expand Down
2 changes: 1 addition & 1 deletion hack/_apitest/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package apitest
import (
"testing"

"github.com/kubernetes-csi/csi-test/v4/pkg/sanity"
"github.com/kubernetes-csi/csi-test/v5/pkg/sanity"
)

func TestMyDriver(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion hack/_apitest2/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"path"
"testing"

"github.com/kubernetes-csi/csi-test/v4/pkg/sanity"
"github.com/kubernetes-csi/csi-test/v5/pkg/sanity"
)

// TestMyDriverWithCustomTargetPaths verifies that CreateTargetDir and
Expand Down
2 changes: 1 addition & 1 deletion hack/_embedded/embedded_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package embedded
import (
"testing"

"github.com/kubernetes-csi/csi-test/v4/pkg/sanity"
"github.com/kubernetes-csi/csi-test/v5/pkg/sanity"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import (

"k8s.io/klog/v2"

"github.com/kubernetes-csi/csi-test/v4/internal/endpoint"
"github.com/kubernetes-csi/csi-test/v5/internal/endpoint"
)

// New listens on both endpoints and starts accepting connections
Expand Down
2 changes: 1 addition & 1 deletion pkg/sanity/sanity.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"strings"
"time"

"github.com/kubernetes-csi/csi-test/v4/utils"
"github.com/kubernetes-csi/csi-test/v5/utils"
yaml "gopkg.in/yaml.v2"

"google.golang.org/grpc"
Expand Down
4 changes: 2 additions & 2 deletions test/co_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (
"github.com/container-storage-interface/spec/lib/go/csi"
"github.com/golang/mock/gomock"
"github.com/golang/protobuf/proto"
mock_driver "github.com/kubernetes-csi/csi-test/v4/driver"
mock_utils "github.com/kubernetes-csi/csi-test/v4/utils"
mock_driver "github.com/kubernetes-csi/csi-test/v5/driver"
mock_utils "github.com/kubernetes-csi/csi-test/v5/utils"
)

func TestPluginInfoResponse(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion test/driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"testing"

"github.com/container-storage-interface/spec/lib/go/csi"
"github.com/kubernetes-csi/csi-test/v4/utils"
"github.com/kubernetes-csi/csi-test/v5/utils"
"google.golang.org/grpc"
"google.golang.org/grpc/reflection"
)
Expand Down

0 comments on commit 060d97f

Please sign in to comment.