This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user