ceph-csi/jobs/commitlint.yaml
Niels de Vos 120bbc66ab ci: add commitlint fallback job
Each PR gets tested by the commitlint app (which is deprecated). On
occasion the app does not pickup the change in a PR, and the only way to
start a retest is to re-push the PR. All tests will then get executed
again, even if only commitlint was needed.

The new commitlint CI job introduces '/retest commitlint' and runs in
the CentOS CI like other Jenkins jobs. However, the job does not start
automatically on each (updated) PR, but needs manual starting with the
'/test commitlint' or '/retest commitlint' comments. The normal way of
running commitlint is with the app (at least for now).

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-08-07 12:52:05 +00:00

37 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
sandbox: true
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: containerized-tests.groovy
lightweight-checkout: true
triggers:
- github-pull-request:
# the "commitlint" status context is use by the commitlint app
status-context: commitlint
trigger-phrase: '/(re)?test ((all)|(commitlint))'
permit-all: false
# TODO: set github-hooks to true when it is configured in GitHub
github-hooks: false
cron: 'H/5 * * * *'
admin-list:
- nixpanic
org-list:
- ceph