7ec5fa4189
- Drop CentOS & Debian images from the build process - Add multi-stage single Dockerfile for Ubuntu - Switch to a more clear tagging process, using UCA images - Fix documentation for `libvirt` image Change-Id: Ia60d0571dceb182c6e43ea639fc50f7d4ad6283d
118 lines
3.4 KiB
YAML
118 lines
3.4 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-libvirt
|
|
gate:
|
|
jobs:
|
|
- openstack-helm-images-upload-libvirt
|
|
promote:
|
|
jobs:
|
|
- openstack-helm-images-promote-libvirt
|
|
periodic-weekly:
|
|
jobs:
|
|
- openstack-helm-images-upload-libvirt
|
|
- openstack-helm-images-promote-libvirt:
|
|
dependencies:
|
|
- name: openstack-helm-images-compute-kit-victoria-ubuntu_focal
|
|
- name: openstack-helm-images-compute-kit-wallaby-ubuntu_focal
|
|
|
|
- job:
|
|
name: openstack-helm-images-build-libvirt
|
|
parent: openstack-helm-images-build
|
|
description: Build libvirt images
|
|
vars: &libvirt_vars
|
|
currentdate: "{{ now(utc=True,fmt='%Y%m%d') }}"
|
|
docker_images:
|
|
- context: libvirt
|
|
repository: openstackhelm/libvirt
|
|
dockerfile: Dockerfile
|
|
arch:
|
|
- linux/amd64
|
|
tags:
|
|
- "wallaby-focal-{{ currentdate }}"
|
|
- "wallaby-focal"
|
|
- "wallaby"
|
|
build_args:
|
|
- FROM=ubuntu:focal
|
|
- RELEASE=wallaby
|
|
- context: libvirt
|
|
repository: openstackhelm/libvirt
|
|
dockerfile: Dockerfile
|
|
arch:
|
|
- linux/amd64
|
|
tags:
|
|
- "xena-focal-{{ currentdate }}"
|
|
- "xena-focal"
|
|
- "xena"
|
|
build_args:
|
|
- FROM=ubuntu:focal
|
|
- RELEASE=xena
|
|
- context: libvirt
|
|
repository: openstackhelm/libvirt
|
|
dockerfile: Dockerfile
|
|
arch:
|
|
- linux/amd64
|
|
tags:
|
|
- "yoga-focal-{{ currentdate }}"
|
|
- "yoga-focal"
|
|
- "yoga"
|
|
build_args:
|
|
- FROM=ubuntu:focal
|
|
- RELEASE=yoga
|
|
- context: libvirt
|
|
repository: openstackhelm/libvirt
|
|
dockerfile: Dockerfile
|
|
arch:
|
|
- linux/amd64
|
|
tags:
|
|
- "yoga-jammy-{{ currentdate }}"
|
|
- "yoga-jammy"
|
|
build_args:
|
|
- FROM=ubuntu:jammy
|
|
- RELEASE=yoga
|
|
- context: libvirt
|
|
repository: openstackhelm/libvirt
|
|
dockerfile: Dockerfile
|
|
arch:
|
|
- linux/amd64
|
|
tags:
|
|
- "zed-jammy-{{ currentdate }}"
|
|
- "zed-jammy"
|
|
- "zed"
|
|
- "latest"
|
|
build_args:
|
|
- FROM=ubuntu:jammy
|
|
- RELEASE=zed
|
|
files: &libvirt_files
|
|
- libvirt/.*
|
|
- zuul.d/libvirt.yaml
|
|
|
|
- job:
|
|
name: openstack-helm-images-upload-libvirt
|
|
parent: openstack-helm-images-upload
|
|
description: Build and upload libvirt images
|
|
vars: *libvirt_vars
|
|
files: *libvirt_files
|
|
|
|
- job:
|
|
name: openstack-helm-images-promote-libvirt
|
|
parent: openstack-helm-images-promote
|
|
description: Promote a previously published libvirt image to latest.
|
|
vars: *libvirt_vars
|
|
files: *libvirt_files
|