ceph-csi/containerized-tests.yaml
Niels de Vos d66ca07721 ci: trigger containerized-tests from GitHub PRs
These additional settings are required to trigger the job to run when a
GitHub PR gets created or updated. It is also possible to manually run
the job by leaving one of the following comments:

    /test ci/centos/containerized-tests
    /retest ci/centos/containerized-tests
    /test all
    /retest all

The 'all' has been added so that future jobs can catch this comment as
well and act on it.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-05-18 11:34:28 +02:00

40 lines
1.1 KiB
YAML

---
- job:
name: containerized-tests
project-type: pipeline
sandbox: true
# TODO: enable 'concurrent' when the pipeline has a re-try on reserving
# bare-metal machines
concurrent: false
properties:
- github:
url: https://github.com/ceph/ceph-csi
- build-discarder:
days-to-keep: 7
artifact-days-to-keep: 7
pipeline-scm:
scm:
- git:
url: https://github.com/ceph/ceph-csi
branches:
- ci/centos
script-path: containerized-tests.groovy
lightweight-checkout: true
parameters:
- string:
name: ghprbPullId
default: ''
triggers:
- github-pull-request:
status-context: ci/centos/containerized-tests
trigger-phrase: '/(re)?test ((all)|(ci/centos/containerized-tests))'
permit-all: true
github-hooks: true
cron: 'H/5 * * * *'
black-list-target-branches:
- ci/centos
admin-list:
- nixpanic
org-list:
- ceph