- project:
    templates:
      - check-requirements
      - openstack-lower-constraints-jobs
      - openstack-python-jobs
      - openstack-python3-train-jobs
      - publish-openstack-docs-pti
      - release-notes-jobs-python3
    check:
      jobs:
        - vitrage-dsvm-api-py27
        - vitrage-dsvm-datasources-py27
        - vitrage-dsvm-mock-py27
        - vitrage-dsvm-api-py3
        - vitrage-dsvm-datasources-py3
        - vitrage-dsvm-mock-py3
        - grenade-vitrage
    gate:
      queue: vitrage
      jobs:
        - vitrage-dsvm-api-py27
        - vitrage-dsvm-datasources-py27
        - vitrage-dsvm-api-py3
        - vitrage-dsvm-datasources-py3
        - grenade-vitrage

- job:
    name: vitrage-dsvm-api-py27
    parent: legacy-dsvm-base
    voting: false
    run: playbooks/legacy/vitrage-dsvm-api-py27/run.yaml
    post-run: playbooks/legacy/vitrage-dsvm-api-py27/post.yaml
    timeout: 7800
    required-projects:
      - openstack/devstack-gate
      - openstack/aodh
      - openstack/mistral
      - openstack/python-vitrageclient
      - openstack/vitrage
      - openstack/vitrage-tempest-plugin
    irrelevant-files:
      - ^.*\.rst$
      - ^doc/.*$
      - ^releasenotes/.*$

- job:
    name: vitrage-dsvm-api-py3
    parent: legacy-dsvm-base
    run: playbooks/legacy/vitrage-dsvm-api-py3/run.yaml
    post-run: playbooks/legacy/vitrage-dsvm-api-py3/post.yaml
    timeout: 7800
    required-projects:
      - openstack/devstack-gate
      - openstack/aodh
      - openstack/mistral
      - openstack/python-vitrageclient
      - openstack/vitrage
      - openstack/vitrage-tempest-plugin
    irrelevant-files:
      - ^.*\.rst$
      - ^doc/.*$
      - ^releasenotes/.*$

- job:
    name: vitrage-dsvm-datasources-py27
    parent: legacy-dsvm-base
    voting: false
    run: playbooks/legacy/vitrage-dsvm-datasources-py27/run.yaml
    post-run: playbooks/legacy/vitrage-dsvm-datasources-py27/post.yaml
    timeout: 7800
    required-projects:
      - openstack/devstack-gate
      - openstack/aodh
      - openstack/mistral
      - openstack/python-vitrageclient
      - openstack/vitrage
      - openstack/vitrage-tempest-plugin
    irrelevant-files:
      - ^.*\.rst$
      - ^doc/.*$
      - ^releasenotes/.*$

- job:
    name: vitrage-dsvm-datasources-py3
    parent: legacy-dsvm-base
    run: playbooks/legacy/vitrage-dsvm-datasources-py3/run.yaml
    post-run: playbooks/legacy/vitrage-dsvm-datasources-py3/post.yaml
    timeout: 7800
    required-projects:
      - openstack/devstack-gate
      - openstack/aodh
      - openstack/mistral
      - openstack/python-vitrageclient
      - openstack/vitrage
      - openstack/vitrage-tempest-plugin
    irrelevant-files:
      - ^.*\.rst$
      - ^doc/.*$
      - ^releasenotes/.*$

- job:
    name: vitrage-dsvm-mock-py27
    parent: legacy-dsvm-base
    voting: false
    run: playbooks/legacy/vitrage-dsvm-mock-py27/run.yaml
    post-run: playbooks/legacy/vitrage-dsvm-mock-py27/post.yaml
    timeout: 7800
    required-projects:
      - openstack/devstack-gate
      - openstack/python-vitrageclient
      - openstack/vitrage
      - openstack/vitrage-tempest-plugin
    irrelevant-files:
      - ^.*\.rst$
      - ^doc/.*$
      - ^releasenotes/.*$

- job:
    name: vitrage-dsvm-mock-py3
    parent: legacy-dsvm-base
    voting: false
    run: playbooks/legacy/vitrage-dsvm-mock-py3/run.yaml
    post-run: playbooks/legacy/vitrage-dsvm-mock-py3/post.yaml
    timeout: 7800
    required-projects:
      - openstack/devstack-gate
      - openstack/python-vitrageclient
      - openstack/vitrage
      - openstack/vitrage-tempest-plugin
    irrelevant-files:
      - ^.*\.rst$
      - ^doc/.*$
      - ^releasenotes/.*$

- job:
    name: grenade-vitrage
    parent: legacy-dsvm-base
    voting: false
    run: playbooks/legacy/vitrage-grenade/run.yaml
    post-run: playbooks/legacy/vitrage-grenade/post.yaml
    timeout: 7800
    required-projects:
      - openstack/grenade
      - openstack/devstack-gate
      - openstack/vitrage
      - openstack/python-vitrageclient
    irrelevant-files:
      - ^(test-|)requirements.txt$
      - ^.*\.rst$
      - ^doc/.*$
      - ^releasenotes/.*$
      - ^setup.cfg$
    vars:
      branch_override: default
