Build libvirt images for Caracal on Ubuntu Jammy

Change-Id: Iadc9aec92b756de2ecfcb610e62c15bdbad4bb9e
This commit is contained in:
Vladimir Kozhukalov 2024-03-28 13:04:45 -05:00
parent 109deb03cd
commit 9f4c075bff
2 changed files with 15 additions and 1 deletions

View File

@ -25,7 +25,7 @@ RUN <<EOF /bin/bash
if [[ "${RELEASE}" = "yoga" ]]; then
# NOTE(mnaser): Yoga shipped with 22.04, so no need to add an extra repository.
echo "" > /etc/apt/sources.list.d/cloudarchive.list
elif [[ "${RELEASE}" = "zed" || "${RELEASE}" = "antelope" || "${RELEASE}" = "bobcat" ]]; then
elif [[ "${RELEASE}" = "zed" || "${RELEASE}" = "antelope" || "${RELEASE}" = "bobcat" || "${RELEASE}" = "caracal" ]]; then
echo "deb http://ubuntu-cloud.archive.canonical.com/ubuntu $(lsb_release -sc)-updates/${RELEASE} main" > /etc/apt/sources.list.d/cloudarchive.list
else
echo "${RELEASE} is not supported on $(lsb_release -sc)"

View File

@ -113,6 +113,20 @@
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