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:
parent
02d9a05eea
commit
02898d1bac
18
.zuul.yaml
18
.zuul.yaml
@ -155,10 +155,24 @@
|
|||||||
- nodejs10-npm-run-test:
|
- nodejs10-npm-run-test:
|
||||||
voting: false
|
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:
|
- project:
|
||||||
templates:
|
templates:
|
||||||
- check-requirements
|
- check-requirements
|
||||||
- horizon-nodejs10-jobs
|
- horizon-nodejs10-jobs
|
||||||
|
- horizon-non-primary-django-jobs
|
||||||
- openstack-lower-constraints-jobs
|
- openstack-lower-constraints-jobs
|
||||||
- openstack-python-jobs
|
- openstack-python-jobs
|
||||||
- openstack-python3-train-jobs
|
- openstack-python3-train-jobs
|
||||||
@ -167,8 +181,6 @@
|
|||||||
- release-notes-jobs-python3
|
- release-notes-jobs-python3
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- horizon-openstack-tox-python3-django111
|
|
||||||
- horizon-openstack-tox-python3-django22
|
|
||||||
- horizon-selenium-headless
|
- horizon-selenium-headless
|
||||||
- horizon-integration-tests
|
- horizon-integration-tests
|
||||||
- horizon-dsvm-tempest-plugin
|
- horizon-dsvm-tempest-plugin
|
||||||
@ -178,8 +190,6 @@
|
|||||||
gate:
|
gate:
|
||||||
queue: horizon
|
queue: horizon
|
||||||
jobs:
|
jobs:
|
||||||
- horizon-openstack-tox-python3-django111
|
|
||||||
- horizon-openstack-tox-python3-django22
|
|
||||||
- horizon-dsvm-tempest-plugin
|
- horizon-dsvm-tempest-plugin
|
||||||
- horizon-dsvm-tempest-plugin-py27
|
- horizon-dsvm-tempest-plugin-py27
|
||||||
- horizon-selenium-headless
|
- horizon-selenium-headless
|
||||||
|
Loading…
x
Reference in New Issue
Block a user