mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
ci: add mini-e2e-helm Jenkins job
The mini-e2e-helm.groovy script is mostly a copy of mini-e2e.groovy that does the deployment through the e2e.test executable. The new script installs Helm and deploys Ceph-CSI through that. Once the e2e tests have successfully finished, the deployment of Ceph-CSI is removed again. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
3d7784f75b
commit
020d3eb212
@ -6,6 +6,7 @@
|
||||
- '1.18.5'
|
||||
jobs:
|
||||
- 'mini-e2e_k8s-{k8s_version}'
|
||||
- 'mini-e2e-helm_k8s-{k8s_version}'
|
||||
|
||||
- job-template:
|
||||
name: 'mini-e2e_k8s-{k8s_version}'
|
||||
@ -50,3 +51,47 @@
|
||||
- nixpanic
|
||||
org-list:
|
||||
- ceph
|
||||
|
||||
- job-template:
|
||||
name: 'mini-e2e-helm_k8s-{k8s_version}'
|
||||
project-type: pipeline
|
||||
sandbox: true
|
||||
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.groovy
|
||||
lightweight-checkout: true
|
||||
triggers:
|
||||
- github-pull-request:
|
||||
status-context: 'ci/centos/mini-e2e-helm/k8s-{k8s_version}'
|
||||
# yamllint disable-line rule:line-length
|
||||
trigger-phrase: '/(re)?test ((all)|(ci/centos/mini-e2e-helm(/k8s-{k8s_version})?))'
|
||||
permit-all: true
|
||||
# TODO: set github-hooks to true when it is configured in GitHub
|
||||
github-hooks: false
|
||||
cron: 'H/5 * * * *'
|
||||
black-list-target-branches:
|
||||
- ci/centos
|
||||
admin-list:
|
||||
- nixpanic
|
||||
org-list:
|
||||
- ceph
|
||||
|
Reference in New Issue
Block a user