# Copyright 2018 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

- project-template:
    name: kuryr-kubernetes-tempest-jobs
    check:
      jobs:
        - kuryr-kubernetes-tempest
        - kuryr-kubernetes-tempest-docker
        - kuryr-kubernetes-tempest-defaults
        - kuryr-kubernetes-tempest-systemd
        - kuryr-kubernetes-tempest-lower-constraints
        - kuryr-kubernetes-tempest-multinode
        - kuryr-kubernetes-tempest-multinode-ovs
        - kuryr-kubernetes-tempest-ipv6
        - kuryr-kubernetes-tempest-ipv6-ovs
        - kuryr-kubernetes-tempest-amphora
        - kuryr-kubernetes-tempest-amphora-ovs
        - kuryr-kubernetes-e2e-np
    gate:
      jobs:
        - kuryr-kubernetes-tempest
        - kuryr-kubernetes-tempest-systemd
    experimental:
      jobs:
        - kuryr-kubernetes-tempest-l2
        - kuryr-kubernetes-tempest-pools-namespace
        - kuryr-kubernetes-tempest-multinode-ha
        - kuryr-kubernetes-tempest-dual-stack

- project-template:
    name: kuryr-kubernetes-lower-constraints-focal-jobs
    check:
      jobs:
      - openstack-tox-lower-constraints:
          nodeset: ubuntu-focal
    gate:
      jobs:
      - openstack-tox-lower-constraints:
          nodeset: ubuntu-focal

- project:
    templates:
      - openstack-python3-yoga-jobs
      - publish-openstack-docs-pti
      - release-notes-jobs-python3
      - check-requirements
      - kuryr-kubernetes-lower-constraints-focal-jobs
      - kuryr-kubernetes-tempest-jobs
