- project-template:
    name: infra-puppet-check-jobs
    check:
      jobs:
        - legacy-puppet-lint
    gate:
      jobs:
        - legacy-puppet-lint

- project-template:
    name: integrated-gate
    description: |
      Jobs that are run across several projects to test the base
      OpenStack functionality.
    check:
      jobs:
        - legacy-tempest-dsvm-neutron-full:
            branches: ^stable/(newton|ocata)$
        - tempest-full
        - neutron-grenade:
            # NOTE(gmann): Do not run the grenade job for
            # Extended Maintainance or oldest stable branch.
            # Now this is only needed for stable/train as
            # stable/ussuri onwards we use integrated-gate-py3.
            branches: stable/train
    gate:
      jobs:
        - legacy-tempest-dsvm-neutron-full:
            branches: ^stable/(newton|ocata)$
        - tempest-full
        - neutron-grenade:
            # NOTE(gmann): Do not run the grenade job for
            # Extended Maintainance or oldest stable branch.
            # Now this is only needed for stable/train as
            # stable/ussuri onwards we use integrated-gate-py3.
            branches: stable/train

- project-template:
    name: puppet-module-unit-jobs
    check:
      jobs:
        - legacy-puppet-unit-4.8-centos-7
        - legacy-puppet-unit-latest-centos-7
    gate:
      jobs:
        - legacy-puppet-unit-4.8-centos-7