Compare commits
2 Commits
af51b80da3
...
bc58cfbe5c
| Author | SHA1 | Date | |
|---|---|---|---|
|
bc58cfbe5c
|
|||
| 1c100f1c6b |
@@ -33,7 +33,7 @@ jobs:
|
||||
CLUSTERS: cl01tl
|
||||
run: |
|
||||
for cluster in $CLUSTERS; do
|
||||
mkdir clusters/$cluster/manifests
|
||||
mkdir -p ${{ gitea.workspace }}/clusters/$cluster/manifests
|
||||
|
||||
for chart_path in clusters/$cluster/helm/*; do
|
||||
chart_name=$(basename "$chart_path")
|
||||
@@ -41,7 +41,8 @@ jobs:
|
||||
echo ">> Rendering chart: $chart_name"
|
||||
|
||||
if [ -f "$chart_path/Chart.yaml" ]; then
|
||||
OUTPUT_FILE="clusters/$cluster/manifests/$chart_name.yaml"
|
||||
mkdir -p ${{ gitea.workspace }}/clusters/$cluster/manifests/$chart_name
|
||||
OUTPUT_FILE="${{ gitea.workspace }}/clusters/$cluster/manifests/$chart_name/$chart_name.yaml"
|
||||
|
||||
cd $chart_path
|
||||
|
||||
@@ -51,6 +52,7 @@ jobs:
|
||||
echo ">> Linting helm ..."
|
||||
helm lint --namespace "$chart_name" --with-subcharts
|
||||
|
||||
echo ">> Rendering templates ..."
|
||||
helm template "$chart_name" "$chart_path" --namespace "$chart_name" > "$OUTPUT_FILE"
|
||||
|
||||
echo ">> Manifests for $chart_name rendered to $OUTPUT_FILE"
|
||||
|
||||
@@ -36,7 +36,7 @@ shelly-plug:
|
||||
main:
|
||||
image:
|
||||
repository: php
|
||||
tag: 8.4.15-apache-bookworm
|
||||
tag: 8.5.0-apache-bookworm
|
||||
pullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: SHELLY_HOSTNAME
|
||||
|
||||
Reference in New Issue
Block a user