mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 16:20:28 +00:00
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>
This commit is contained in:
parent
07679210da
commit
d66ca07721
@ -3,6 +3,15 @@
|
|||||||
name: containerized-tests
|
name: containerized-tests
|
||||||
project-type: pipeline
|
project-type: pipeline
|
||||||
sandbox: true
|
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:
|
pipeline-scm:
|
||||||
scm:
|
scm:
|
||||||
- git:
|
- git:
|
||||||
@ -18,8 +27,9 @@
|
|||||||
triggers:
|
triggers:
|
||||||
- github-pull-request:
|
- github-pull-request:
|
||||||
status-context: ci/centos/containerized-tests
|
status-context: ci/centos/containerized-tests
|
||||||
trigger-phrase: '^/(re)?test( ci/centos/containerized-tests)?$'
|
trigger-phrase: '/(re)?test ((all)|(ci/centos/containerized-tests))'
|
||||||
permit-all: true
|
permit-all: true
|
||||||
|
github-hooks: true
|
||||||
cron: 'H/5 * * * *'
|
cron: 'H/5 * * * *'
|
||||||
black-list-target-branches:
|
black-list-target-branches:
|
||||||
- ci/centos
|
- ci/centos
|
||||||
|
Loading…
Reference in New Issue
Block a user