diff --git a/INSTALL.md b/INSTALL.md index 9f994f3bd..49688ffa2 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -184,12 +184,11 @@ These options should **not** be used if there are any changes to code which is s storage providers. If there is any risk of affecting another storage provider, all tests should be executed in the CI. -### [test ceph min] +### [test full] -By default all the ceph test suites run on all versions of K8s. For more efficient -CI times, we can choose to run each test suite on only one K8s version by using the tag: +In master and release builds, all test suites will run on all supported versions of K8s. +In PR builds, all the test suites will run on some version of K8s. For bigger changes, +it is recommended to run all test suites on all versions of K8s by using the tag: ``` -[test ceph min] +[test full] ``` - -This option should only be used for changes with lower risk. diff --git a/Jenkinsfile b/Jenkinsfile index f8e8e059c..a4d616b9a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -30,14 +30,18 @@ pipeline { if (body.contains("[all logs]")) { env.getLogs = "all" } + + if (!body.contains("[test full]")) { + // By default run the min test matrix (all tests run, but will be distributed on different versions of K8s). + // This only affects the PR builds. The master and release builds will always run the full matrix. + env.testArgs = "min-test-matrix" + } + // extract which specific storage provider to test if (body.contains("[test cassandra]")) { env.testProvider = "cassandra" } else if (body.contains("[test ceph]")) { env.testProvider = "ceph" - } else if (body.contains("[test ceph min]")) { - env.testProvider = "ceph" - env.testArgs = "min-test-matrix" } else if (body.contains("[test cockroachdb]")) { env.testProvider = "cockroachdb" } else if (body.contains("[test edgefs]")) {