From aecb2a2eaa4c8526e3a404f759b86f5648da7452 Mon Sep 17 00:00:00 2001 From: Aaron Crickenberger Date: Wed, 21 Jul 2021 11:55:40 -0700 Subject: [PATCH] config: add wg-k8s-infra-apps jobs and dashboard --- .../wg-k8s-infra/trusted/wg-k8s-infra-apps.sh | 80 +++++ .../trusted/wg-k8s-infra-apps.yaml | 334 ++++++++++++++++++ .../kubernetes/wg-k8s-infa/config.yaml | 4 +- 3 files changed, 417 insertions(+), 1 deletion(-) create mode 100755 config/jobs/kubernetes/wg-k8s-infra/trusted/wg-k8s-infra-apps.sh create mode 100644 config/jobs/kubernetes/wg-k8s-infra/trusted/wg-k8s-infra-apps.yaml diff --git a/config/jobs/kubernetes/wg-k8s-infra/trusted/wg-k8s-infra-apps.sh b/config/jobs/kubernetes/wg-k8s-infra/trusted/wg-k8s-infra-apps.sh new file mode 100755 index 0000000000000..7c3b3b16a8664 --- /dev/null +++ b/config/jobs/kubernetes/wg-k8s-infra/trusted/wg-k8s-infra-apps.sh @@ -0,0 +1,80 @@ +#!/usr/bin/env bash +# Copyright 2021 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# generates wg-k8s-infra app deployment job configs + +set -o errexit +set -o nounset +set -o pipefail + +SCRIPT_DIR=$(dirname "${BASH_SOURCE[0]}") + +readonly OUTPUT="${SCRIPT_DIR}/wg-k8s-infra-apps.yaml" +# list of subdirs in kubernetes/k8s.io/apps +readonly APPS=( + cert-manager + gcsweb + k8s-io + kubernetes-external-secrets + node-perf-dash + perfdash + prow + publishing-bot + sippy + slack-infra + triageparty-release +) + +cat >"${OUTPUT}" <>"${OUTPUT}" <