From edf912055941c581446f5cee855fae0db3a5d90b Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Mon, 16 Nov 2020 11:37:55 +0100 Subject: [PATCH] release-0.8: disable 0.7.x 0.7.x was declared obsolete by the end of October when releasing 0.8.0. We no longer need to test or support it. --- README.md | 3 +-- test/e2e/versionskew/versionskew.go | 7 +++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 99e6b46c04..bac3b2084b 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,7 @@ module (NVDIMM). The [v0.8.0 release](https://github.com/intel/pmem-csi/releases/latest) is the latest feature release and is [regularly updated](docs/DEVELOPMENT.md#release-management) with newer base images -and bug fixes. The v0.7.0 release will stop receiving updates -end of October 2020. +and bug fixes. Older releases are no longer supported. Documentation is part of the source code for each release and also available in rendered form for easier reading: diff --git a/test/e2e/versionskew/versionskew.go b/test/e2e/versionskew/versionskew.go index 1e6baf08eb..9b7fc84427 100644 --- a/test/e2e/versionskew/versionskew.go +++ b/test/e2e/versionskew/versionskew.go @@ -39,8 +39,8 @@ import ( ) const ( - // base is the release branch used for version skew testing. - base = "0.7" + // base is the release branch used for version skew testing. Empty if none. + base = "" ) func baseSupportsKubernetes(ver version.Version) bool { @@ -170,6 +170,9 @@ func (p *skewTestSuite) DefineTests(driver testsuites.TestDriver, pattern testpa BeforeEach(func() { ver, err := k8sutil.GetKubernetesVersion(f.ClientConfig()) framework.ExpectNoError(err, "get Kubernetes version") + if base == "" { + skipper.Skipf("version skew testing disabled") + } if !baseSupportsKubernetes(*ver) { skipper.Skipf("%s not supported by release-%s", ver, base) }