- project-template:
    name: neutron-tox-override-jobs
    check:
      jobs:
        - openstack-tox-py310:  # from openstack-python3-jobs template
            timeout: 3600
            irrelevant-files:  &irrelevant-files
              - ^\.pre-commit-config\.yaml$
              - ^\.pylintrc$
              - ^.*\.conf\.sample$
              - ^.*\.rst$
              - ^doc/.*$
              - ^neutron/locale/.*$
              - ^neutron/tests/fullstack/.*$
              - ^neutron/tests/functional/.*$
              - ^releasenotes/.*$
              - ^setup.cfg$
              - ^plugin.spec$
              - ^pyproject.toml$
              - ^tools/ovn_migration/.*$
              - ^tools/.*$
              - ^vagrant/.*$
              - ^devstack/.*$
              - ^playbooks/.*$
              - ^roles/.*$
              - ^rally-jobs/.*$
              # Ignore everything except for zuul.d/job-templates.yaml
              - ^zuul.d/base.yaml
              - ^zuul.d/grenade.yaml
              - ^zuul.d/project.yaml
              - ^zuul.d/rally.yaml
              - ^zuul.d/tempest-multinode.yaml
              - ^zuul.d/tempest-singlenode.yaml
        - openstack-tox-py312: # from openstack-python3-jobs template
            timeout: 3600
            irrelevant-files:  *irrelevant-files
        - openstack-tox-py313: # from openstack-python3-jobs template
            timeout: 3600
            irrelevant-files:  *irrelevant-files
        - openstack-tox-cover:  # from openstack-cover-jobs template
            timeout: 4800
            pre-run: playbooks/configure_swap.yaml
            vars:
              configure_swap_size: 4096
            irrelevant-files:  *irrelevant-files
    check-arm64:
      jobs:
        - openstack-tox-py310-arm64: # from openstack-python3-jobs-arm64 template
            timeout: 4800
            irrelevant-files:  *irrelevant-files
        - openstack-tox-py312-arm64: # from openstack-python3-jobs-arm64 template
            timeout: 4800
            irrelevant-files:  *irrelevant-files
        - openstack-tox-py313-arm64: # from openstack-python3-jobs-arm64 template
            timeout: 4800
            irrelevant-files:  *irrelevant-files
    gate:
      jobs:
        - openstack-tox-py310:  # from openstack-python3-jobs template
            timeout: 3600
            irrelevant-files:  *irrelevant-files
        - openstack-tox-py312: # from openstack-python3-jobs template
            timeout: 3600
            irrelevant-files:  *irrelevant-files
    periodic:
      jobs:
        - openstack-tox-py311:  # from openstack-python3-jobs template
            timeout: 3600
            irrelevant-files:  *irrelevant-files

- project-template:
    name: neutron-experimental-jobs
    experimental:
      jobs:
        - neutron-functional-with-neutron-lib-master
        - neutron-ovn-tempest-ovs-release
        - neutron-ovs-tempest-with-neutron-lib-master
        - neutron-ovn-tempest-loki
        # Jobs added to the periodic queue by templates defined in
        # https://opendev.org/openstack/openstack-zuul-jobs/src/branch/master/zuul.d/project-templates.yaml
        - openstack-tox-py312-with-neutron-lib-master:
            timeout: 3600
            irrelevant-files:  *irrelevant-files
        - openstack-tox-py312-with-oslo-master:
            timeout: 3600
            irrelevant-files:  *irrelevant-files
        - openstack-tox-py312-with-ovsdbapp-master:
            timeout: 3600
            irrelevant-files:  *irrelevant-files

- project-template:
    name: neutron-periodic-jobs
    periodic:
      jobs: &neutron-periodic-jobs
        - neutron-functional
        - neutron-functional-with-pyroute2-master
        - neutron-functional-with-sqlalchemy-master
        - neutron-ovs-grenade-dvr-multinode
        - neutron-ovs-tempest-slow
        - neutron-ovn-tempest-slow
        - neutron-ovs-tempest-with-os-ken-master
        - neutron-ovn-tempest-mariadb-full
        - neutron-ovn-tempest-ipv6-only-ovs-master
        - neutron-ovn-tempest-full-multinode-ovs-master
        - neutron-ovn-tempest-full-multinode-ovs-lts
        - neutron-ovn-tempest-ovs-master
        - neutron-ovn-tempest-ovs-lts
        - neutron-ovn-tempest-plugin-ovs-master
        - neutron-ovn-tempest-plugin-ovs-lts
        - neutron-ovn-tempest-with-neutron-lib-master
        - neutron-ovn-tempest-with-sqlalchemy-master
        - neutron-ovs-tempest-with-sqlalchemy-master
        - devstack-tobiko
        - ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa
        - openstacksdk-functional-devstack-networking
        - neutron-ovs-tempest-plugin-iptables_hybrid-nftables
        - devstack-enforce-scope
        - openstack-tox-py312-with-oslo-master:
            timeout: 3600
            irrelevant-files:  *irrelevant-files
        - openstack-tox-py312-with-sqlalchemy-master:
            timeout: 3600
            irrelevant-files: *irrelevant-files
        - neutron-functional-with-oslo-master
        - neutron-ovs-tempest-with-oslo-master
        - neutron-ovn-tempest-ovs-release-with-oslo-master
        - neutron-tempest-plugin-ovn-with-ovn-metadata-agent
        - neutron-ovn-grenade-multinode-ovn-metadata-agent
    experimental:
      jobs: *neutron-periodic-jobs

- project-template:
    name: neutron-skip-level-jobs
    # During a SLURP release, these jobs are executed in the check queue,
    # otherwise periodic/experimental. SLURP releases are 2024.1, 2025.1, etc.
    #check:
    #  jobs:
    #    - neutron-ovs-grenade-multinode-skip-level
    #    - neutron-ovn-grenade-multinode-skip-level
    periodic:
      jobs:
        - neutron-ovs-grenade-multinode-skip-level
        - neutron-ovn-grenade-multinode-skip-level
    experimental:
      jobs:
        - neutron-ovs-grenade-multinode-skip-level
        - neutron-ovn-grenade-multinode-skip-level
