From: Andrew Schoen Date: Tue, 26 Sep 2017 14:38:09 +0000 (-0500) Subject: ceph-ansible-prs: allow for tests to be auto started or only triggered X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F871%2Fhead;p=ceph-build.git ceph-ansible-prs: allow for tests to be auto started or only triggered This creates two different projects, one which lists scenarios that will auto start on every PR and another which lists scenarios that will only start if a comment is made on the PR with its trigger phrase. Signed-off-by: Andrew Schoen --- diff --git a/ceph-ansible-prs/config/definitions/ceph-ansible-prs.yml b/ceph-ansible-prs/config/definitions/ceph-ansible-prs.yml index 80d64e645..f13e1affd 100644 --- a/ceph-ansible-prs/config/definitions/ceph-ansible-prs.yml +++ b/ceph-ansible-prs/config/definitions/ceph-ansible-prs.yml @@ -1,5 +1,6 @@ +# tests that will auto start for every PR created - project: - name: ceph-ansible-prs + name: ceph-ansible-prs-auto release: - luminous ansible_version: @@ -7,6 +8,20 @@ scenario: - centos7_cluster - xenial_cluster + only_trigger_phrase: + - false + jobs: + - 'ceph-ansible-prs-{release}-{ansible_version}-{scenario}' + +# tests that will not auto start when a PR is created, but +# they can be requested with a trigger phrase +- project: + name: ceph-ansible-prs-trigger + release: + - luminous + ansible_version: + - ansible2.3 + scenario: - journal_collocation - journal_collocation_auto - journal_collocation_auto_dmcrypt @@ -32,9 +47,14 @@ - shrink_mon_container - shrink_osd - shrink_osd_container + only_trigger_phrase: + - true jobs: - 'ceph-ansible-prs-{release}-{ansible_version}-{scenario}' +# tests that use packages from shaman.ceph.com and +# do not auto start when a PR is created, but can be +# requested with a trigger phrase - project: name: ceph-ansible-prs-dev release: @@ -44,6 +64,8 @@ scenario: - lvm_osds - purge_lvm_osds + only_trigger_phrase: + - true jobs: - 'ceph-ansible-prs-{release}-{ansible_version}-{scenario}' @@ -79,7 +101,7 @@ - ceph skip-build-phrase: '^jenkins do not test.*' trigger-phrase: 'jenkins test {release}-{ansible_version}-{scenario}' - only-trigger-phrase: false + only-trigger-phrase: {only_trigger_phrase} github-hooks: true permit-all: true auto-close-on-fail: false