ceph-csi/jobs/commitlint.yaml
Niels de Vos 629a8e0166 ci: do not run commitlint on "/retest all"
The commitlint job is not used normally, so there is no need to run it
when all CI jobs need retesting.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-11-17 10:16:46 +00:00

36 lines
1.1 KiB
YAML

---
- job:
name: commitlint
description: Allow re-running commitlint tests, in case the commitlint app
does not work correctly.
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
pipeline-scm:
scm:
- git:
name: origin
url: https://github.com/ceph/ceph-csi
branches:
- ci/centos
script-path: commitlint.groovy
lightweight-checkout: true
triggers:
- github-pull-request:
status-url: ${RUN_DISPLAY_URL}
# the "commitlint" status context is use by the commitlint app
status-context: commitlint
trigger-phrase: '/(re)?test commitlint'
# only run on PRs where the trigger-phrase is posted
only-trigger-phrase: true
permit-all: true
github-hooks: true
org-list:
- ceph
allow-whitelist-orgs-as-admins: true