openstack-helm-images/zuul.d/libvirt.yaml
Vladimir Kozhukalov 9f4c075bff Build libvirt images for Caracal on Ubuntu Jammy
Change-Id: Iadc9aec92b756de2ecfcb610e62c15bdbad4bb9e
2024-03-28 13:54:04 -05:00

147 lines
4.6 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-upload-libvirt
# - name: openstack-helm-images-compute-kit-2023-1-ubuntu_focal
# - name: openstack-helm-images-compute-kit-2023-2-ubuntu_jammy
- 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:
- "yoga-focal-{{ currentdate }}"
- "yoga-focal"
- "yoga-ubuntu_focal-{{ currentdate }}"
- "yoga-ubuntu_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"
- "yoga-ubuntu_jammy-{{ currentdate }}"
- "yoga-ubuntu_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-ubuntu_jammy-{{ currentdate }}"
- "zed-ubuntu_jammy"
- "zed"
build_args:
- FROM=ubuntu:jammy
- RELEASE=zed
- context: libvirt
repository: openstackhelm/libvirt
dockerfile: Dockerfile
arch:
- linux/amd64
tags:
- "antelope-jammy-{{ currentdate }}"
- "antelope-jammy"
- "antelope"
- "2023.1-jammy-{{ currentdate }}"
- "2023.1-jammy"
- "2023.1"
- "antelope-ubuntu_jammy-{{ currentdate }}"
- "antelope-ubuntu_jammy"
- "2023.1-ubuntu_jammy-{{ currentdate }}"
- "2023.1-ubuntu_jammy"
build_args:
- FROM=ubuntu:jammy
- RELEASE=antelope
- context: libvirt
repository: openstackhelm/libvirt
dockerfile: Dockerfile
arch:
- linux/amd64
tags:
- "bobcat-ubuntu_jammy-{{ currentdate }}"
- "bobcat-ubuntu_jammy"
- "2023.2-ubuntu_jammy-{{ currentdate }}"
- "2023.2-ubuntu_jammy"
- "latest"
build_args:
- FROM=ubuntu:jammy
- RELEASE=bobcat
- context: libvirt
repository: openstackhelm/libvirt
dockerfile: Dockerfile
arch:
- linux/amd64
tags:
- "caracal-ubuntu_jammy-{{ currentdate }}"
- "caracal-ubuntu_jammy"
- "2024.1-ubuntu_jammy-{{ currentdate }}"
- "2024.1-ubuntu_jammy"
- "latest"
build_args:
- FROM=ubuntu:jammy
- RELEASE=caracal
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