---
# Copyright 2018, SUSE LINUX GmbH.
#
# 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.

# For having the full context, this file should be read
# with the openstack-helm-infra repository, where nodesets
# and jobs are defined.
# NOTE(evrardjp): Some jobs and playbooks haven't been
# migrated to openstack-helm-infra yet.
- project:
    templates:
      - publish-openstack-docs-pti
    check:
      jobs:
        - openstack-helm-lint
        - openstack-helm-bandit
        - openstack-helm-keystone
        - openstack-helm-keystone-ldap
        - openstack-helm-glance
        - openstack-helm-heat
        - openstack-helm-cinder
        - openstack-helm-compute-kit
        - openstack-helm-apparmor:
            voting: false
    gate:
      jobs:
        - openstack-helm-lint
        - openstack-helm-keystone
        - openstack-helm-keystone-ldap
        - openstack-helm-glance
        - openstack-helm-heat
        - openstack-helm-cinder
        - openstack-helm-compute-kit
    periodic:
      jobs:
        - openstack-helm-multinode-temp-ubuntu
        - openstack-helm-ironic-ubuntu
        - openstack-helm-armada-deploy
        - openstack-helm-armada-update-uuid
        - openstack-helm-armada-update-passwords
    experimental:
      jobs:
        # - openstack-helm-multinode-temp-centos
        # # NOTE(lamt): Make fedora job experimental until issues with gates are resolved.
        # - openstack-helm-multinode-temp-fedora
        # - openstack-helm-multinode-temp-tempest
        - openstack-helm-armada-deploy
        - openstack-helm-armada-update-uuid
        - openstack-helm-armada-update-passwords