- project:
    templates:
      - tripleo-undercloud-jobs
      - tripleo-multinode-container-minimal
      - check-requirements
      - release-notes-jobs-python3
      - openstack-python-jobs
      - tripleo-standalone-scenarios-full
      - openstack-python3-train-jobs
    check:
      jobs:
        - openstack-tox-pep8
        - openstack-tox-lower-constraints
        - tripleo-ci-centos-7-containers-multinode:
            dependencies: &deps_unit_lint
              - openstack-tox-pep8
              - openstack-tox-tht
        - tripleo-ci-centos-7-undercloud-containers:
            dependencies: *deps_unit_lint
        - tripleo-ci-centos-7-standalone:
            dependencies: *deps_unit_lint
        - tripleo-ci-centos-7-standalone-upgrade-stein:
            dependencies: *deps_unit_lint
        - tripleo-ci-centos-7-scenario000-multinode-oooq-container-upgrades:
            dependencies: *deps_unit_lint
        - tripleo-ci-centos-7-scenario000-multinode-oooq-container-updates:
            dependencies: *deps_unit_lint
            files:
              - ci/environments/scenario000-multinode-containers.yaml
              - ^ci/common/.*$
              - ^deployed-server/.*$
              - ^deployment/container-image-prepare/.*$
              - ^(deployment|docker|puppet)/.*ca-certs.*$
              - ^(deployment|docker|puppet)/.*clustercheck.*$
              - ^(deployment|docker|puppet)/.*docker.*$
              - ^(deployment|docker|puppet)/.*haproxy.*$
              - ^(deployment|docker|puppet)/.*kernel.*$
              - ^(deployment|docker|puppet)/.*keystone.*$
              - ^(deployment|docker|puppet)/.*memcached.*$
              - ^(deployment|docker|puppet)/.*mysql.*$
              - ^(deployment|docker|puppet)/.*ntp.*$
              - ^(deployment|docker|puppet)/.*pacemaker.*$
              - ^(deployment|docker|puppet)/.*rabbitmq.*$
              - ^(deployment|docker|puppet)/.*snmp.*$
              - ^(deployment|docker|puppet)/.*timezone.*$
              - ^(deployment|docker|puppet)/.*tripleo-packages.*$
              - ^(deployment|docker|puppet)/.*tripleo-firewall.*$
              - ^(deployment|docker|puppet)/.*sshd.*$
              - ^environments\/.*.yaml
              - ^network/endpoints/.*$
              - zuul.d/*
        - tripleo-ci-centos-7-scenario007-multinode-oooq-container:
            dependencies: *deps_unit_lint
            files:
              - ci/environments/scenario007-multinode-containers.yaml
              - ^(deployment|docker|puppet)/neutron-plugin-ml2.yaml #LP1765975
              - ^(deployment|docker|puppet)/.*.*ovn.*$
              - ^(deployment|docker|puppet)/.*tacker.*$
              - ^ci/common/.*$
              - ^environments\/.*.yaml
              - ^deployed-server/.*$
              - ^common/.*$
              - zuul.d/*
        - tripleo-ci-centos-7-scenario010-multinode-oooq-container:
            dependencies: *deps_unit_lint
            files:
              - ^(deployment|docker|puppet)/.*octavia.*$
              - ^deployment/ceph-ansible.*$
              - ^deployment/octavia/*$
              - ci/environments/scenario010-multinode-containers.yaml
              - ^ci/common/.*$
              - ^environments\/.*.yaml
              - ^deployed-server/.*$
              - ^network/endpoints/.*$
              - ^common/.*$
              - zuul.d/*
        - tripleo-ci-centos-7-standalone-upgrade:
            dependencies: *deps_unit_lint
        - tripleo-ci-centos-7-scenario001-standalone:
            dependencies: *deps_unit_lint
        - tripleo-ci-centos-7-scenario002-standalone:
            dependencies: *deps_unit_lint
        - tripleo-ci-centos-7-scenario003-standalone:
            dependencies: *deps_unit_lint
        - tripleo-ci-centos-7-scenario004-standalone:
            dependencies: *deps_unit_lint
        - tripleo-ci-centos-7-scenario012-standalone:
            dependencies: *deps_unit_lint
        - tripleo-ci-centos-7-containerized-undercloud-upgrades:
            dependencies: *deps_unit_lint
        - openstack-tox-tht
    gate:
      queue: tripleo
      jobs:
        - openstack-tox-lower-constraints
        - openstack-tox-pep8
        - tripleo-ci-centos-7-scenario000-multinode-oooq-container-updates:
            files:
              - ci/environments/scenario000-multinode-containers.yaml
              - ^ci/common/.*$
              - ^deployed-server/.*$
              - ^deployment/container-image-prepare/.*$
              - ^(deployment|docker|puppet)/.*ca-certs.*$
              - ^(deployment|docker|puppet)/.*clustercheck.*$
              - ^(deployment|docker|puppet)/.*docker.*$
              - ^(deployment|docker|puppet)/.*haproxy.*$
              - ^(deployment|docker|puppet)/.*kernel.*$
              - ^(deployment|docker|puppet)/.*keystone.*$
              - ^(deployment|docker|puppet)/.*memcached.*$
              - ^(deployment|docker|puppet)/.*mysql.*$
              - ^(deployment|docker|puppet)/.*ntp.*$
              - ^(deployment|docker|puppet)/.*pacemaker.*$
              - ^(deployment|docker|puppet)/.*rabbitmq.*$
              - ^(deployment|docker|puppet)/.*snmp.*$
              - ^(deployment|docker|puppet)/.*timezone.*$
              - ^(deployment|docker|puppet)/.*tripleo-packages.*$
              - ^(deployment|docker|puppet)/.*tripleo-firewall.*$
              - ^(deployment|docker|puppet)/.*sshd.*$
              - ^environments\/.*.yaml
              - ^network/endpoints/.*$
              - zuul.d/*
    experimental:
      jobs:
        - tripleo-ci-centos-7-scenario011-multinode-oooq-container:
            files:
              - ci/environments/scenario011-multinode-containers.yaml
              - ^(deployment|docker|puppet)/.*ironic.*$
              - ^environments\/.*ironic.*$
        - tripleo-ci-centos-7-scenario006-multinode-oooq-container:
            dependencies: *deps_unit_lint
            files:
              - ^ci/common/.*$
              - ^coe/kubernetes.*$
              - ^environments/kubernetes.*$
              - ^deployment/.*kubernetes/.*$
              - ci/environments/scenario006-multinode.yaml
              - ^deployed-server/.*$
              - ^common/.*$
              - zuul.d/*
- job:
    name: openstack-tox-tht
    parent: openstack-tox
    description: Runs syntax tht tests. Uses tox with the ``tht`` environment.
    success-url: "reports.html"
    failure-url: "reports.html"
    voting: true
    vars:
      tox_envlist: tht
      bindep_profile: test tht
      test_setup_skip: true
