Files
openstack-helm-images/zuul.d/libvirt.yaml
Vladimir Kozhukalov fb873b19dc Fix build jobs dependencies
The periodic-weekly pipeline failed many times
in a row because of incorrect dependencies in the
openstack-helm-images-promote-libvirt.

Also let's re-build openstack images nightly.

Change-Id: I88acdf04af77241fb92b7ed21a6c16dac2a52da8
2025-01-09 16:13:06 -06:00

97 lines
3.0 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-2024-2-ubuntu_jammy
- openstack-helm-images-compute-kit-2024-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:
- "bobcat-ubuntu_jammy-{{ currentdate }}"
- "bobcat-ubuntu_jammy"
- "2023.2-ubuntu_jammy-{{ currentdate }}"
- "2023.2-ubuntu_jammy"
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"
build_args:
- FROM=ubuntu:jammy
- RELEASE=caracal
- context: libvirt
repository: openstackhelm/libvirt
dockerfile: Dockerfile
arch:
- linux/amd64
tags:
- "dalmatian-ubuntu_noble-{{ currentdate }}"
- "dalmatian-ubuntu_noble"
- "2024.2-ubuntu_noble-{{ currentdate }}"
- "2024.2-ubuntu_noble"
build_args:
- FROM=ubuntu:noble
- RELEASE=dalmatian
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