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