OpenStack Release Bot
106e713ee5
This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for wallaby. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: Iac3273d68ffd93f3745d41fb31d2abd538d26711
47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
- job:
|
|
name: horizon-tox-python3-django
|
|
abstract: true
|
|
parent: horizon-openstack-tox-base
|
|
description: |
|
|
Run tox with different Django version.
|
|
|
|
.. zuul:jobvar: tox_envlist
|
|
|
|
Which tox environment to run
|
|
|
|
.. zuul:jobvar: django_version
|
|
|
|
Django version to be used.
|
|
pip version specifier like ``>=1.11,<2.0`` should be passed.
|
|
|
|
pre-run: playbooks/horizon-tox-django/pre.yaml
|
|
run: playbooks/horizon-tox-django/run.yaml
|
|
vars:
|
|
tox_envlist: py36
|
|
required-projects:
|
|
- name: openstack/horizon
|
|
|
|
- job:
|
|
name: horizon-tox-python3-django22
|
|
parent: horizon-tox-python3-django
|
|
vars:
|
|
django_version: '>=2.2,<3.0'
|
|
|
|
- project-template:
|
|
name: horizon-non-primary-django-jobs
|
|
description: |
|
|
Run unit tests with non-primary Django versions.
|
|
check:
|
|
jobs:
|
|
# Currently we only support Django 2.2, so there is no need
|
|
# to run tests with different versions of Django.
|
|
# We specify a job in openstack-python3-wallaby-jobs(-horizon)
|
|
# to keep this project template as it is used in horizon plugins.
|
|
- openstack-tox-py38
|
|
# NOTE: We keep it as a template even though it is not used now.
|
|
# - horizon-tox-python3-django22
|
|
gate:
|
|
jobs:
|
|
- openstack-tox-py38
|
|
# - horizon-tox-python3-django22
|