ceph-csi/jobs/k8s-e2e-external-storage.yaml
Niels de Vos f9f3bb90a5 ci: remove /retest all command for Jenkins jobs
`/retest all` causes a spike in resource consumption in Jenkins and the
OpenShift cluster kills the Pod. That means tests are not fully running
yet, and results never arrive back in the PR. Instead of `/retest all`,
the `ok-to-test` label can be used to trigger required tests with a
slight delay between each command.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
2023-06-29 11:10:48 +00:00

53 lines
1.5 KiB
YAML

---
- project:
name: k8s-e2e-external-storage
k8s_version:
- '1.25':
only_run_on_request: true
- '1.26':
only_run_on_request: true
- '1.27':
only_run_on_request: true
jobs:
- 'k8s-e2e-external-storage-{k8s_version}'
- job-template:
name: k8s-e2e-external-storage-{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
k8s_version: '<unset>'
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: k8s-e2e-external-storage.groovy
lightweight-checkout: true
triggers:
- github-pull-request:
status-url: $RUN_DISPLAY_URL
status-context: 'ci/centos/k8s-e2e-external-storage/{k8s_version}'
# yamllint disable-line rule:line-length
trigger-phrase: '/(re)?test ci/centos/k8s-e2e-external-storage(/{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