e2e: force deploy storageclass and secret

Add a temp job to test the deployment
of sc and secret via helm.

Signed-off-by: Yug <yuggupta27@gmail.com>
This commit is contained in:
Yug
2021-06-30 20:47:18 +05:30
committed by mergify[bot]
parent 432ff08758
commit 4a102b44cb
2 changed files with 260 additions and 0 deletions

View File

@ -0,0 +1,51 @@
---
- project:
name: mini-e2e-helm-sc
k8s_version:
- '1.20':
only_run_on_request: true
jobs:
- 'mini-e2e-helm-sc_k8s-{k8s_version}'
- job-template:
name: 'mini-e2e-helm-sc_k8s-{k8s_version}'
project-type: pipeline
concurrent: true
properties:
- github:
url: https://github.com/ceph/ceph-csi
- build-discarder:
days-to-keep: 7
artifact-days-to-keep: 7
# default variables
k8s_version: '<unset>'
# generated parameters for the job (used in the groovy script)
parameters:
- string:
name: k8s_version
default: '{k8s_version}'
description: Kubernetes version to deploy in the test cluster.
pipeline-scm:
scm:
- git:
name: origin
url: https://github.com/ceph/ceph-csi
branches:
- ci/centos
script-path: mini-e2e-helm-sc.groovy
lightweight-checkout: true
triggers:
- github-pull-request:
status-url: $RUN_DISPLAY_URL
status-context: 'ci/centos/mini-e2e-helm-sc/k8s-{k8s_version}'
# yamllint disable-line rule:line-length
trigger-phrase: '/(re)?test (ci/centos/mini-e2e-helm-sc(/k8s-{k8s_version})?)'
only-trigger-phrase: '{only_run_on_request}'
permit-all: true
github-hooks: true
black-list-target-branches:
- ci/centos
org-list:
- ceph
allow-whitelist-orgs-as-admins: true