Merge "Build libvirt bobcat jammy image"

This commit is contained in:
Zuul 2023-10-10 17:45:34 +00:00 committed by Gerrit Code Review
commit 0a0ee69722
2 changed files with 17 additions and 2 deletions

View File

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

View File

@ -94,7 +94,6 @@
- "zed-jammy-{{ currentdate }}" - "zed-jammy-{{ currentdate }}"
- "zed-jammy" - "zed-jammy"
- "zed" - "zed"
- "latest"
build_args: build_args:
- FROM=ubuntu:jammy - FROM=ubuntu:jammy
- RELEASE=zed - RELEASE=zed
@ -113,6 +112,22 @@
build_args: build_args:
- FROM=ubuntu:jammy - FROM=ubuntu:jammy
- RELEASE=antelope - RELEASE=antelope
- context: libvirt
repository: openstackhelm/libvirt
dockerfile: Dockerfile
arch:
- linux/amd64
tags:
- "bobcat-ubuntu_jammy-{{ currentdate }}"
- "bobcat-ubuntu_jammy"
- "bobcat-ubuntu_jammy"
- "2023.2-ubuntu_jammy-{{ currentdate }}"
- "2023.2-ubuntu_jammy"
- "2023.2-ubuntu_jammy"
- "latest"
build_args:
- FROM=ubuntu:jammy
- RELEASE=bobcat
files: &libvirt_files files: &libvirt_files
- libvirt/.* - libvirt/.*
- zuul.d/libvirt.yaml - zuul.d/libvirt.yaml