project-config/grafana/create-nodepool-dib.sh
Clark Boylan dce378a6b4 Remove centos-8
This distro release reached its EOL December 31, 2021. We are removing
it from our CI system as people should really stop testing on it. They
can use CentOS 8 Stream or other alternatives instead.

Depends-On: https://review.opendev.org/c/opendev/base-jobs/+/827181
Change-Id: I13e8185b7839371a9f9043b715dc39c6baf907d5
2022-02-02 09:48:36 +11:00

35 lines
1.0 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 Focal" "ubuntu-focal"
create "Ubuntu Bionic" "ubuntu-bionic"
create "Ubuntu Xenial" "ubuntu-xenial"
create "Centos 7" "centos-7"
create "Centos 8 Stream" "centos-8-stream"
create "Centos 9 Stream" "centos-9-stream"
create "Fedora 35" "fedora-35"
create "Debian Bullseye" "debian-bullseye"
create "Debian Buster" "debian-buster"
create "Gentoo" "gentoo-17-0-systemd"
create "openSUSE 15.1" "opensuse-15"
create "Centos 8-stream arm64" "centos-8-stream-arm64"
create "Debian Bullseye arm64" "debian-bullseye-arm64"
create "Debian Buster arm64" "debian-buster-arm64"
create "Ubuntu Focal arm64" "ubuntu-focal-arm64"
create "Ubuntu Bionic arm64" "ubuntu-bionic-arm64"