openstack-helm-images/zuul.d/vbmc.yaml
Jean-Philippe Evrard 606ef4df86 Revert "Revert "Freeze images with a date""
This reverts commits 6965e1d4e2,
5cc8cd8415.

It also freezes the newly added images for osh-selenium,
prometheus-openstack-exporter, nagios, and ovs.

LOCI images will be done in a different patch.

This leverages an approach which needs Ansible2.8, already tested
and (demonstrated working) for libvirt [1].

[1]: https://review.opendev.org/#/c/667339/

Change-Id: I84093f36b24b42d0261a0a8fe393fe06fe57fdb2
2019-07-10 18:41:06 +00:00

66 lines
1.9 KiB
YAML

---
# Copyright 2019, 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:
- openstack-helm-images-build-vbmc
gate:
jobs:
- openstack-helm-images-upload-vbmc
promote:
jobs:
- openstack-helm-images-promote-vbmc
periodic:
jobs:
- openstack-helm-images-build-vbmc
- job:
name: openstack-helm-images-build-vbmc
parent: openstack-helm-images-build
description: Build vbmc images
vars: &vbmc_vars
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
docker_images:
- context: vbmc
repository: openstackhelm/vbmc
tags:
- latest-opensuse_15
- "opensuse_15-{{ currentdate }}"
dockerfile: Dockerfile.suse_15
- context: vbmc
repository: openstackhelm/vbmc
dockerfile: Dockerfile.centos_7
tags:
- latest-centos_7
- "centos_7-{{ currentdate }}"
files: &vbmc_files
- vbmc/.*
- zuul.d/vbmc.yaml
- job:
name: openstack-helm-images-upload-vbmc
parent: openstack-helm-images-upload
description: Build and upload vbmc images
vars: *vbmc_vars
files: *vbmc_files
- job:
name: openstack-helm-images-promote-vbmc
parent: openstack-helm-images-promote
description: Promote a previously published vbmc image to latest.
vars: *vbmc_vars
files: *vbmc_files