- project:
    templates:
      - openstack-python-jobs
      - openstack-python35-jobs
      - openstack-python36-jobs
      - publish-openstack-docs-pti
      - check-requirements
      - release-notes-jobs-python3
      - openstackclient-plugin-jobs
    check:
      jobs:
        - python-saharaclient-scenario
        - python-saharaclient-tempest
        - openstack-tox-lower-constraints
    gate:
      queue: sahara
      jobs:
        - python-saharaclient-scenario
        - python-saharaclient-tempest
        - openstack-tox-lower-constraints
    post:
      jobs:
        - openstack-tox-cover
    experimental:
      jobs:
        - openstack-tox-pypy

- job:
    name: python-saharaclient-scenario
    description: |
      Run scenario tests for Sahara against python-saharaclient changes.
    parent: sahara-tests-scenario
    required-projects:
      - openstack/python-saharaclient
    vars:
      devstack_localrc:
        LIBS_FROM_GIT: python-saharaclient

- job:
    name: python-saharaclient-tempest
    description: |
      Run Tempest tests from the Sahara plugin against python-saharaclient
      changes.
    parent: sahara-tests-tempest
    required-projects:
      - openstack/python-saharaclient
    vars:
      devstack_localrc:
        LIBS_FROM_GIT: python-saharaclient

- project:
    templates:
      - openstack-cover-jobs
      - openstack-lower-constraints-jobs
      - openstack-python-jobs
      - openstack-python35-jobs
      - openstack-python36-jobs
      - publish-openstack-docs-pti
      - check-requirements
      - release-notes-jobs-python3
      - openstackclient-plugin-jobs
    check:
      jobs:
        - python-saharaclient-scenario
        - python-saharaclient-tempest
    gate:
      queue: sahara
      jobs:
        - python-saharaclient-scenario
        - python-saharaclient-tempest
    experimental:
      jobs:
        - openstack-tox-pypy

- job:
    name: python-saharaclient-scenario
    description: |
      Run scenario tests for Sahara against python-saharaclient changes.
    parent: sahara-tests-scenario
    required-projects:
      - openstack/python-saharaclient
    vars:
      devstack_localrc:
        LIBS_FROM_GIT: python-saharaclient

- job:
    name: python-saharaclient-tempest
    description: |
      Run Tempest tests from the Sahara plugin against python-saharaclient
      changes.
    parent: sahara-tests-tempest
    required-projects:
      - openstack/python-saharaclient
    vars:
      devstack_localrc:
        LIBS_FROM_GIT: python-saharaclient

Use templates for cover and lower-constraints
Use templates for cover and lower-constraints

Use openstack-tox-cover template, this runs the cover job as
non-voting in the check queue only.

Use openstack-lower-constraints-jobs template

Remove jobs that are part of the templates.

Change-Id: I0217788b2031eeb05e74e89225db32f503f15c62
