Files
project-config/grafana/create-nodepool-dib.sh
Colleen Murphy 7bdafe19c9 Update Grafana dashboard for openSUSE
Fix the openSUSE 15.1 image which was incorrectly labeled as just "15"
(which is the nodeset, not the implementation), and add
opensuse-tumbleweed which was missing.

Change-Id: Icc0202baf9ce145270454b6f3cd2678cc60189f1
2019-09-23 09:45:06 -07:00

34 lines
945 B
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 "Ubuntu Trusty" "ubuntu-trusty"
create "Centos 7" "centos-7"
create "Fedora 29" "fedora-29"
create "Fedora 30" "fedora-30"
create "Debian Buster" "debian-buster"
create "Debian Stretch" "debian-stretch"
create "Gentoo" "gentoo-17-0-systemd"
create "openSUSE 15.0" "opensuse-150"
create "openSUSE 15.1" "opensuse-15"
create "openSUSE Tumbleweed" "opensuse-tumbleweed"
create "openSUSE 42.3" "opensuse-423"
create "Ubuntu Bionic arm64" "ubuntu-bionic-arm64"
create "Ubuntu Xenial arm64" "ubuntu-xenial-arm64"