- project:
    name: x/group-based-policy-ui
    templates:
      - openstack-python-jobs
      - publish-to-pypi
    # REVISIT: In the jobs below, the required-projects clause is needed on
    # the master branch to select the correct version of the requirements
    # repository. Otherwise, the master version will be used. It can be
    # eliminated on the stable branches, and on the master branch once this
    # repository's master branch is based on the neutron repository's master
    # branch.
    check:
      jobs:
        - openstack-tox-pep8:
            required-projects:
              - name: openstack/requirements
                override-checkout: stable/train
        - openstack-tox-py27:
            required-projects:
              - name: openstack/requirements
                override-checkout: stable/train
        - openstack-tox-py35:
            required-projects:
              - name: openstack/requirements
                override-checkout: stable/train
        - test-release-openstack:
            required-projects:
              - name: openstack/requirements
                override-checkout: stable/train
    gate:
      jobs:
        - openstack-tox-pep8:
            required-projects:
              - name: openstack/requirements
                override-checkout: stable/train
        - openstack-tox-py27:
            required-projects:
              - name: openstack/requirements
                override-checkout: stable/train
        - openstack-tox-py35:
            required-projects:
              - name: openstack/requirements
                override-checkout: stable/train
        - test-release-openstack:
            required-projects:
              - name: openstack/requirements
                override-checkout: stable/train
