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
This commit is contained in:
Akihiro Motoki 2019-09-13 03:58:12 +09:00
parent 02d9a05eea
commit 02898d1bac
1 changed files with 14 additions and 4 deletions

View File

@ -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