project-config/grafana/create-nodepool-dib.sh
Dirk Mueller eb81a56ac1 Add openSUSE 15.1 to the nodepool building as opensuse-15
The main reason why we can do this cleanup now is because there has been a policy
change with openSUSE Leap 15: the minor releases like 15.1 and 15.2 are similarly
backwards compatible like e.g. minor releases in centos 7.x are, as such
we can build an opensuse 15 image in the ci and update all jobs to that
one to have less continuous effort in maintaining the opensuse builds.

Depends-On: https://review.opendev.org/#/c/660137/

Change-Id: I2b1f21fb6e01558c8cee27de116dfc857a1a1c91
2019-06-14 17:08:40 +02:00

32 lines
861 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 "Debian Buster" "debian-buster"
create "Debian Stretch" "debian-stretch"
create "Gentoo" "gentoo-17-0-systemd"
create "openSUSE 15.0" "opensuse-150"
create "openSUSE 15" "opensuse-15"
create "openSUSE 42.3" "opensuse-423"
create "Ubuntu Bionic arm64" "ubuntu-bionic-arm64"
create "Ubuntu Xenial arm64" "ubuntu-xenial-arm64"