ceph-csi/jobs/commitlint.yaml
Niels de Vos fdb17ace76 ci: make members of the GitHub "ceph" organization admins
Not everyone can restart CI jobs, only members of the Ceph organization
in GitHub. All jibs (except "commitlint") are started automatically, so
there is no functional change.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-08-10 12:02:13 +00:00

38 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: commitlint.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))'
# only run on PRs where the trigger-phrase is posted
only-trigger-phrase: true
permit-all: false
# TODO: set github-hooks to true when it is configured in GitHub
github-hooks: false
cron: 'H/5 * * * *'
org-list:
- ceph
allow-whitelist-orgs-as-admins: true