mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-01-18 02:39:30 +00:00
ci: provide k8s-e2e-external-storage jobs for different k8s versions
The Kubernetes e2e external storage tests from v1.21 do not work yet with Ceph-CSI. In order to address the issues, the job is now provided and can be run with: /test ci/centos/k8s-e2e-external-storage/1.21 The job for v1.20 is enabled by default, and identified by the ci/centos/k8s-e2e-external-storage/1.20 context in PRs. Updates: #2017 Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
ddd10c3245
commit
2fb24c3c4c
@ -1,6 +1,16 @@
|
|||||||
---
|
---
|
||||||
- job:
|
- project:
|
||||||
name: k8s-e2e-external-storage
|
name: k8s-e2e-external-storage
|
||||||
|
k8s_version:
|
||||||
|
- '1.20':
|
||||||
|
only_run_on_request: false
|
||||||
|
- '1.21':
|
||||||
|
only_run_on_request: true
|
||||||
|
jobs:
|
||||||
|
- 'k8s-e2e-external-storage-{k8s_version}'
|
||||||
|
|
||||||
|
- job-template:
|
||||||
|
name: k8s-e2e-external-storage-{k8s_version}
|
||||||
project-type: pipeline
|
project-type: pipeline
|
||||||
concurrent: true
|
concurrent: true
|
||||||
properties:
|
properties:
|
||||||
@ -9,10 +19,11 @@
|
|||||||
- build-discarder:
|
- build-discarder:
|
||||||
days-to-keep: 7
|
days-to-keep: 7
|
||||||
artifact-days-to-keep: 7
|
artifact-days-to-keep: 7
|
||||||
|
k8s_version: '<unset>'
|
||||||
parameters:
|
parameters:
|
||||||
- string:
|
- string:
|
||||||
name: k8s_version
|
name: k8s_version
|
||||||
default: '1.20'
|
default: '{k8s_version}'
|
||||||
description: Kubernetes version to deploy in the test cluster.
|
description: Kubernetes version to deploy in the test cluster.
|
||||||
pipeline-scm:
|
pipeline-scm:
|
||||||
scm:
|
scm:
|
||||||
@ -25,11 +36,11 @@
|
|||||||
lightweight-checkout: true
|
lightweight-checkout: true
|
||||||
triggers:
|
triggers:
|
||||||
- github-pull-request:
|
- github-pull-request:
|
||||||
status-url: ${RUN_DISPLAY_URL}
|
status-url: $RUN_DISPLAY_URL
|
||||||
status-context: ci/centos/k8s-e2e-external-storage
|
status-context: 'ci/centos/k8s-e2e-external-storage/{k8s_version}'
|
||||||
# yamllint disable-line rule:line-length
|
# yamllint disable-line rule:line-length
|
||||||
trigger-phrase: '/(re)?test ci/centos/k8s-e2e-external-storage'
|
trigger-phrase: '/(re)?test ((all)|(ci/centos/k8s-e2e-external-storage(/{k8s_version})?))'
|
||||||
only-trigger-phrase: false
|
only-trigger-phrase: '{only_run_on_request}'
|
||||||
permit-all: true
|
permit-all: true
|
||||||
github-hooks: true
|
github-hooks: true
|
||||||
black-list-target-branches:
|
black-list-target-branches:
|
||||||
|
Loading…
Reference in New Issue
Block a user