project-config/grafana/create-nodepool-dib.sh
Dmitriy Rabotyagov 4ac828fb7b Add Debian Bullseye nodepool images and wheels
Since Debian Buster can not be used with nova 23.0.0 because of the
min required libvirt version, we should make Bullseye available for CI
to ensure that OpenStack Wallaby release will run on it smoothly.

Depends-On: https://review.opendev.org/c/openstack/diskimage-builder/+/783790
Change-Id: I9c1bb7aaa02ba60ee52e2d7b990e2e6e1212317f
2021-04-19 14:16:38 +00:00

37 lines
1.1 KiB
Bash
Executable File

#!/bin/bash
# Create the nodepool-dib.yaml dashboard with nodepool dib build
# status.
output_file=nodepool-dib.yaml
function create {
local title="$1"
local key="$2"
sed -e "s/%TITLE%/${title}/; " \
-e "s/%KEY%/${key}/" \
nodepool-dib.image.template >> ${output_file}
}
cp nodepool-dib.base.template nodepool-dib.yaml
create "Ubuntu Bionic" "ubuntu-bionic"
create "Ubuntu Xenial" "ubuntu-xenial"
create "Centos 7" "centos-7"
create "Centos 8" "centos-8"
create "Fedora 32" "fedora-32"
create "Debian Bullseye" "debian-bullseye"
create "Debian Buster" "debian-buster"
create "Debian Stretch" "debian-stretch"
create "Gentoo" "gentoo-17-0-systemd"
create "openSUSE 15.1" "opensuse-15"
create "openSUSE Tumbleweed" "opensuse-tumbleweed"
create "Centos 8 arm64" "centos-8-arm64"
create "Debian Bullseye arm64" "debian-bullseye-arm64"
create "Debian Buster arm64" "debian-buster-arm64"
create "Debian Stretch arm64" "debian-stretch-arm64"
create "Ubuntu Focal arm64" "ubuntu-focal-arm64"
create "Ubuntu Bionic arm64" "ubuntu-bionic-arm64"
create "Ubuntu Xenial arm64" "ubuntu-xenial-arm64"