summaryrefslogtreecommitdiff
path: root/.zuul.d/tempest-and-integrated.yaml
blob: 5457094ee6c203da21394626cccaf0ab93420301 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
- 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
    required-projects:
      - openstack/horizon
      - openstack/requirements
    irrelevant-files:
      - ^.*\.rst$
      - ^doc/.*$
      - ^releasenotes/.*$
      - ^.*/locale/.*$
      # Unit tests are not related to the integration tests
      - ^horizon/test/unit/.*$
      - ^openstack_auth/tests/unit/.*$
      - ^openstack_dashboard/test/unit/.*$
      - ^openstack_dashboard/contrib/.*/tests.py$
      - ^openstack_dashboard/dashboards/.*/tests.py$
      # JavaScript unit tests are not related to the integration tests
      - ^openstack_dashboard/.*/[^/]*\.spec\.js$
      - ^horizon/static/.*/[^/]*\.spec\.js$
    vars:
      devstack_services:
        horizon: true
      tox_envlist: integration
      tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"

- job:
    name: horizon-dsvm-tempest-plugin
    parent: devstack-tempest
    required-projects: &base_required_projects
      - name: openstack/horizon
      - name: openstack/tempest
      - name: openstack/tempest-horizon
    irrelevant-files: &base_irrelevant_files
      - ^.*\.rst$
      - ^doc/.*$
      - ^releasenotes/.*$
      - ^.*/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/contrib/.*/tests.py$
      - ^openstack_dashboard/dashboards/.*/tests.py$
      # JavaScript unit tests are not related to tempest tests
      - ^openstack_dashboard/.*/[^/]*\.spec\.js$
      - ^horizon/static/.*/[^/]*\.spec\.js$
    vars: &base_vars
      devstack_services:
        horizon: true
        tempest: true
      tempest_concurrency: 2
      tempest_test_regex: horizon
      tempest_plugins:
        - tempest-horizon
      tox_envlist: all

- job:
    name: horizon-tempest-plugin-ipv6
    parent: devstack-tempest-ipv6
    required-projects: *base_required_projects
    irrelevant-files: *base_irrelevant_files
    vars: *base_vars