chore: add some patches to prepare for operators train

This commit is contained in:
Kjeld Schouten-Lebbing
2023-05-23 14:14:16 +02:00
parent 88ca68513b
commit 0fcf0da235
11 changed files with 3375 additions and 4 deletions
+1
View File
@@ -19,6 +19,7 @@ trains=(
"stable"
"incubator"
"dependency"
"operators"
)
load_gpg_key() {
+4 -4
View File
@@ -31,7 +31,7 @@ jobs:
- name: generate readme.md
shell: bash
run: |
for train in stable SCALE incubator games enterprise develop non-free deprecated dependency core; do
for train in stable operators SCALE incubator games enterprise develop non-free deprecated dependency core; do
for chart in charts/${train}/*; do
if [ -d "${chart}" ]; then
echo "Generating readme.md for ${train}/${chart}"
@@ -44,7 +44,7 @@ jobs:
- name: generate HelmIgnore
shell: bash
run: |
for train in stable SCALE incubator games enterprise develop non-free deprecated dependency core; do
for train in stable operators SCALE incubator games enterprise develop non-free deprecated dependency core; do
for chart in charts/${train}/*; do
if [ -d "${chart}" ]; then
echo "Attempting to sync HelmIgnore file for: ${chartname}"
@@ -196,7 +196,7 @@ jobs:
}
export -f sync_tag
for train in enterprise stable incubator dependency; do
for train in enterprise stable operators incubator dependency; do
echo "Correcting Chart.yaml for Train: ${train}..."
for chart in $(ls "charts/${train}"); do
echo "Correcting Chart.yaml for Chart: ${chart}..."
@@ -325,7 +325,7 @@ jobs:
sed -i 's|<hr>|<hr />|g' website/docs/charts/${train}/${chartname}/helm-security.md ||:
sed -i 's|<hr>|<hr />|g' website/docs/charts/${train}/${chartname}/container-security.md ||:
}
for train in enterprise stable incubator dependency; do
for train in enterprise stable operators incubator dependency; do
echo "Processing Charts for Train: ${train}..."
for chart in $(ls "charts/${train}"); do
render "charts/${train}/${chart}" ${chart} ${train} || echo "rendering failed for ${chart}"