diff options
author | Akihiro Motoki <amotoki@gmail.com> | 2019-09-13 03:58:12 +0900 |
---|---|---|
committer | Akihiro Motoki <amotoki@gmail.com> | 2019-09-13 15:15:10 +0900 |
commit | 02898d1bac01d74228292175c852ae6e93eaef52 (patch) | |
tree | 20f65e06bc12acc13c727a219d4ec825e3f6148a | |
parent | 02d9a05eead268a2d02e8187a1ed52cfcceb184a (diff) | |
download | horizon-02898d1bac01d74228292175c852ae6e93eaef52.tar.gz |
Define zuul project-template for django22 job
This commit introduces a new zuul project-template which support
django22 in horizon plugins. By using the project-template,
we can add/change/drop some jobs related to Django versions
without changing all horizon plugin repos.
One possible example is the change of the primary
Django version in upper-constraints.txt.
My plan is to switch the current job defintions in horizon plugins
to the new template when supportnig Django 2.2.
Change-Id: Id0a7b57a19f46c3f1ed87d71ccbb17e0e4301755
-rw-r--r-- | .zuul.yaml | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/.zuul.yaml b/.zuul.yaml index 14eaa075b..19f9a3934 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -155,10 +155,24 @@ - nodejs10-npm-run-test: voting: false +- project-template: + name: horizon-non-primary-django-jobs + description: | + Run unit tests with non-primary Django versions. + check: + jobs: + - horizon-openstack-tox-python3-django111 + - horizon-openstack-tox-python3-django22 + gate: + jobs: + - horizon-openstack-tox-python3-django111 + - horizon-openstack-tox-python3-django22 + - project: templates: - check-requirements - horizon-nodejs10-jobs + - horizon-non-primary-django-jobs - openstack-lower-constraints-jobs - openstack-python-jobs - openstack-python3-train-jobs @@ -167,8 +181,6 @@ - release-notes-jobs-python3 check: jobs: - - horizon-openstack-tox-python3-django111 - - horizon-openstack-tox-python3-django22 - horizon-selenium-headless - horizon-integration-tests - horizon-dsvm-tempest-plugin @@ -178,8 +190,6 @@ gate: queue: horizon jobs: - - horizon-openstack-tox-python3-django111 - - horizon-openstack-tox-python3-django22 - horizon-dsvm-tempest-plugin - horizon-dsvm-tempest-plugin-py27 - horizon-selenium-headless |