From b7913afca1023e54c114fa75a5a5812a11a9d619 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sun, 30 Nov 2025 21:36:22 -0600 Subject: [PATCH] fix command, add logs --- .gitea/workflows/render-manifests.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/render-manifests.yaml b/.gitea/workflows/render-manifests.yaml index 90168cbd5..5756cbf1b 100644 --- a/.gitea/workflows/render-manifests.yaml +++ b/.gitea/workflows/render-manifests.yaml @@ -44,10 +44,18 @@ jobs: - name: Add Repositories run: | + echo ">> Adding repositories for chart dependencies ..." for chart_path in ${MAIN_DIR}/clusters/$cluster/helm/*; do - helm dependency list --max-col-width 120 $chart_path 2> /dev/null | tail +2 | head -n -1 | awk '{ print "helm repo add " $1 " " $3 }' | while read cmd; do $cmd; done + helm dependency list --max-col-width 120 $chart_path 2> /dev/null \ + | tail +2 | head -n 1 \ + | tee repo_added \ + | awk '{ print "helm repo add " $1 " " $3 }' \ + | while read cmd; do $cmd; done done + echo ">> Added following repos:" + cat repo_add | sort | uniq + - name: Render Helm Manifests run: | for cluster in ${CLUSTERS}; do