From 212c2b813841a9a378a5ca114f98dc8f03325cf7 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 14 Oct 2017 12:35:55 +0200 Subject: [PATCH] Add horizon templates Similar to the -neutron templates, add -horizon templates that include openstack/horizon. Change-Id: I3ba9058be730ef5128faf0653bf7a30ac0b06b16 --- zuul.d/project-templates.yaml | 124 ++++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) diff --git a/zuul.d/project-templates.yaml b/zuul.d/project-templates.yaml index 25321eea..3f0f77e1 100644 --- a/zuul.d/project-templates.yaml +++ b/zuul.d/project-templates.yaml @@ -33,6 +33,28 @@ jobs: - publish-openstack-sphinx-docs +- project-template: + name: publish-openstack-sphinx-docs-horizon + description: | + Runs normal OpenStack PTI doc build and publication jobs with horizon + added to required-projects for the various dashboard projects that + need that. + check: + jobs: + - build-openstack-sphinx-docs: + required-projects: + - openstack/horizon + gate: + jobs: + - build-openstack-sphinx-docs: + required-projects: + - openstack/horizon + post: + jobs: + - publish-openstack-sphinx-docs: + required-projects: + - openstack/horizon + - project-template: name: publish-openstack-sphinx-docs-neutron description: | @@ -55,6 +77,7 @@ required-projects: - openstack/neutron + - project-template: name: publish-openstack-sphinx-docs-infra description: | @@ -138,6 +161,35 @@ dependencies: - release-openstack-python +- project-template: + name: publish-to-pypi-horizon + description: | + Publish a Python package to PyPI with horizon added to required-projects + for the various dashboard projects that need that, then send release + announcement emails and propose updates to upper-constraints as needed. + pre-release: + jobs: + - release-openstack-python: + required-projects: + - openstack/horizon + - announce-release: + dependencies: + - release-openstack-python + - propose-update-constraints: + dependencies: + - release-openstack-python + release: + jobs: + - release-openstack-python: + required-projects: + - openstack/horizon + - announce-release: + dependencies: + - release-openstack-python + - propose-update-constraints: + dependencies: + - release-openstack-python + - project-template: name: publish-xstatic-to-pypi description: | @@ -212,6 +264,33 @@ jobs: - publish-openstack-releasenotes +- project-template: + name: release-notes-jobs-horizon + description: | + The standard release-notes-jobs but with horizon added as a + required-projects. The dashboard projects currently need this + due to how the tox_install.sh zuul-cloner's dashboard for them. + check: + jobs: + - build-openstack-releasenotes: + required-projects: + - openstack/horizon + gate: + jobs: + - build-openstack-releasenotes: + required-projects: + - openstack/horizon + post: + jobs: + - publish-openstack-releasenotes: + required-projects: + - openstack/horizon + tag: + jobs: + - publish-openstack-releasenotes: + required-projects: + - openstack/horizon + - project-template: name: release-notes-jobs-neutron description: | @@ -253,6 +332,34 @@ jobs: - publish-openstack-python-branch-tarball +- project-template: + name: openstack-python-jobs-horizon + description: | + The standard openstack-python-jobs but with horizon added as a + required-projects. The dashboard projects currently need this + due to how the tox_install.sh zuul-cloner's horizon for them. + check: + jobs: + - openstack-tox-pep8: + required-projects: + - openstack/horizon + - openstack-tox-py27: + required-projects: + - openstack/horizon + gate: + jobs: + - openstack-tox-pep8: + required-projects: + - openstack/horizon + - openstack-tox-py27: + required-projects: + - openstack/horizon + post: + jobs: + - publish-openstack-python-branch-tarball: + required-projects: + - openstack/horizon + - project-template: name: openstack-python-jobs-neutron description: | @@ -299,6 +406,23 @@ jobs: - openstack-tox-py35 +- project-template: + name: openstack-python35-jobs-horizon + description: | + The standard openstack-python35-jobs but with horizon added as a + required-projects. The dashboard projects currently need this + due to how the tox_install.sh zuul-cloner's horizon for them. + check: + jobs: + - openstack-tox-py35: + required-projects: + - openstack/horizon + gate: + jobs: + - openstack-tox-py35: + required-projects: + - openstack/horizon + - project-template: name: openstack-python35-jobs-neutron description: |