From 9ababf93d174731c0d703983a18db46b0f96f9e9 Mon Sep 17 00:00:00 2001 From: Federico Ressi Date: Tue, 20 Jul 2021 12:13:19 +0200 Subject: [PATCH] Create tobiko-infrared zuul template Change-Id: If29bf6578617d6ead09081e8b26e0421f86e8f7c --- zuul.d/infrared.yaml | 23 +++++++++++++++++++++-- zuul.d/project.yaml | 10 +--------- 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/zuul.d/infrared.yaml b/zuul.d/infrared.yaml index ceae68713..8dc952247 100644 --- a/zuul.d/infrared.yaml +++ b/zuul.d/infrared.yaml @@ -1,5 +1,25 @@ --- +- project-template: + name: tobiko-infrared + description: | + Infrared jobs intended to gate infrared Tobiko plugin changes + check: + jobs: + - tobiko-infrared + - tobiko-infrared-centos-7 + gate: + jobs: + - tobiko-infrared + - tobiko-infrared-centos-7 + periodic: + jobs: + - tobiko-infrared + - tobiko-infrared-centos-7 + - tobiko-infrared-fedora + - tobiko-infrared-ubuntu + + - job: name: tobiko-infrared parent: tox @@ -12,6 +32,7 @@ required-projects: - name: openstack/requirements - name: x/tobiko + voting: true vars: ensure_pip_from_packages_with_python2: no test_collect_dir: '{{ zuul_output_dir }}/logs' @@ -55,7 +76,6 @@ description: | Run test cases using tobiko infrared plugin on CentOS - - nodeset: name: tobiko-infrared-centos-7 nodes: @@ -68,7 +88,6 @@ nodes: - secondary - - job: name: tobiko-infrared-fedora parent: tobiko-infrared diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index 964bd3030..d84aa109c 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -11,17 +11,9 @@ - openstack-lower-constraints-jobs - openstack-python3-wallaby-jobs - publish-to-pypi + - tobiko-infrared vars: rtd_webhook_id: '84947' - - check: &check_pipeline - jobs: - - tobiko-infrared - - tobiko-infrared-centos-7 - - tobiko-infrared-fedora - - gate: *check_pipeline - periodic: jobs: - tobiko-infrared