intlabs a731fdce4e Gate: Consolidate job definition to allow imports
This PS moves the Zuulv3 infra jobs to use a base that the various
nodesets can inherit from.

Change-Id: I8f9380d00d874d102d4a5c977edad499872006a9
2017-11-12 00:12:00 -06:00

101 lines
2.4 KiB
YAML

# Copyright 2017 The Openstack-Helm Authors.
#
# 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:
name: openstack/openstack-helm-infra
check:
jobs:
- openstack-helm-infra-ubuntu:
voting: true
- openstack-helm-infra-centos:
voting: false
- openstack-helm-infra-fedora:
voting: false
gate:
jobs:
- openstack-helm-infra-ubuntu
- nodeset:
name: openstack-helm-ubuntu
nodes:
- name: primary
label: ubuntu-xenial
- name: node-1
label: ubuntu-xenial
- name: node-2
label: ubuntu-xenial
groups:
- name: primary
nodes:
- primary
- name: nodes
nodes:
- node-1
- node-2
- nodeset:
name: openstack-helm-centos
nodes:
- name: primary
label: centos-7
- name: node-1
label: centos-7
- name: node-2
label: centos-7
groups:
- name: primary
nodes:
- primary
- name: nodes
nodes:
- node-1
- node-2
- nodeset:
name: openstack-helm-fedora
nodes:
- name: primary
label: fedora-26
- name: node-1
label: fedora-26
- name: node-2
label: fedora-26
groups:
- name: primary
nodes:
- primary
- name: nodes
nodes:
- node-1
- node-2
- job:
name: openstack-helm-infra
pre-run: tools/gate/playbooks/zuul-pre.yaml
run: tools/gate/playbooks/zuul-run.yaml
- job:
name: openstack-helm-infra-ubuntu
parent: openstack-helm-infra
nodeset: openstack-helm-ubuntu
- job:
name: openstack-helm-infra-centos
parent: openstack-helm-infra
nodeset: openstack-helm-centos
- job:
name: openstack-helm-infra-fedora
parent: openstack-helm-infra
nodeset: openstack-helm-fedora