horizon/.zuul.yaml
Akihiro Motoki 55a51b2d66 Add horizon-dsvm-tempest-plugin-py27 job
We now support both python 2.7 and python 3 environments,
but bug 1814028 turns out that we cannot detect python2/3 difference
only with unit tests. It sounds reasonable to me to add python 2.7
version of the tempest job. Horizon runs only one devstack job now,
so I believe it is okay to add one more job.

Change-Id: I35fb6c04f67d68109fccd29af332f291b738d9b3
2019-01-31 12:14:39 +00:00

125 lines
3.3 KiB
YAML

- job:
name: horizon-openstack-tox-base
parent: openstack-tox
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- ^horizon/locale/.*$
- ^openstack_dashboard/locale/.*$
- ^openstack_auth/locale/.*$
- job:
name: horizon-openstack-tox-python3-django111
parent: horizon-openstack-tox-base
vars:
tox_envlist: py3-dj111
required-projects:
- name: openstack/horizon
- job:
name: horizon-selenium-headless
parent: horizon-openstack-tox-base
pre-run: playbooks/horizon-selenium-headless/pre.yaml
vars:
tox_envlist: selenium-headless
- job:
name: horizon-integration-tests
parent: devstack
pre-run: playbooks/horizon-devstack-integration/pre.yaml
run: playbooks/horizon-devstack-integration/run.yaml
post-run: playbooks/horizon-devstack-integration/post.yaml
roles:
- zuul: openstack-infra/devstack
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
vars:
devstack_services:
horizon: true
tox_envlist: py27integration
- job:
name: horizon-dsvm-tempest-plugin
parent: devstack-tempest
required-projects:
- name: openstack/horizon
- name: openstack/tempest
- name: openstack/tempest-horizon
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- ^horizon/locale/.*$
- ^openstack_dashboard/locale/.*$
- ^openstack_auth/locale/.*$
# Test codes are not related to tempest tests
# as tempest is defined in a separete repository
- ^horizon/test/.*$
- ^openstack_auth/tests/.*$
- ^openstack_dashboard/test/.*$
- ^openstack_dashboard/dashboards/.*/tests.py$
vars:
devstack_localrc:
TEMPEST_PLUGINS: "'{{ ansible_user_dir }}/src/git.openstack.org/openstack/tempest-horizon'"
USE_PYTHON3: true
devstack_services:
horizon: true
tempest: true
tempest_concurrency: 2
tempest_test_regex: horizon
tox_envlist: all
- job:
name: horizon-dsvm-tempest-plugin-py27
parent: horizon-dsvm-tempest-plugin
vars:
devstack_localrc:
USE_PYTHON3: false
- job:
# Security testing for known issues
name: horizon-tox-bandit-baseline
parent: openstack-tox
timeout: 2400
vars:
tox_envlist: bandit-baseline
irrelevant-files:
- ^.*\.rst$
- ^.*\locale/.*$
- ^doc/.*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^tools/.*$
- project:
templates:
- check-requirements
- nodejs4-jobs
- openstack-lower-constraints-jobs
- openstack-python-jobs
- openstack-python35-jobs
- openstack-python36-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- horizon-openstack-tox-python3-django111
- horizon-selenium-headless:
voting: false
- horizon-integration-tests:
voting: false
- horizon-dsvm-tempest-plugin
- horizon-dsvm-tempest-plugin-py27
- horizon-tox-bandit-baseline:
voting: false
gate:
queue: horizon
jobs:
- horizon-openstack-tox-python3-django111
- horizon-dsvm-tempest-plugin
- horizon-dsvm-tempest-plugin-py27