openstack-helm-images/zuul.d/vbmc.yaml

62 lines
1.8 KiB
YAML

---
# 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.
- project:
check:
jobs:
# We should add a job here that tests the vbmc image
# Alternatively, we can add a deploy using vbmc, and reuse
# the deploy's functional testing
- openstack-helm-images-vbmc-centos_7
- openstack-helm-images-vbmc-suse_15
gate:
jobs:
- openstack-helm-images-vbmc-centos_7
- openstack-helm-images-vbmc-suse_15
periodic:
jobs:
- openstack-helm-images-vbmc-centos_7
- openstack-helm-images-vbmc-suse_15
- job:
name: openstack-helm-images-vbmc
parent: openstack-helm-images-base
abstract: true
vars:
image_path: vbmc
- job:
name: openstack-helm-images-vbmc-centos_7
parent: openstack-helm-images-vbmc
files:
- ^vbmc/build.sh
- ^vbmc/Dockerfile.centos_7$
- ^zuul.d/vbmc.yaml
vars:
distro: "centos_7"
# This is an example of how to re-use the jobs for
# multi-distro. The image would get built with a
# different tag, based on distro argument.
- job:
name: openstack-helm-images-vbmc-suse_15
parent: openstack-helm-images-vbmc
files:
- ^vbmc/Dockerfile.suse_15
- ^vbmc/build.sh
- ^zuul.d/vbmc.yaml
vars:
distro: "suse_15"