Compare commits
1 Commits
f510755114
...
67c17c3ca1
| Author | SHA1 | Date | |
|---|---|---|---|
|
67c17c3ca1
|
@@ -44,18 +44,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Add Repositories
|
- name: Add Repositories
|
||||||
run: |
|
run: |
|
||||||
echo ">> Adding repositories for chart dependencies ..."
|
|
||||||
for chart_path in ${MAIN_DIR}/clusters/$cluster/helm/*; do
|
for chart_path in ${MAIN_DIR}/clusters/$cluster/helm/*; do
|
||||||
helm dependency list --max-col-width 120 $chart_path 2> /dev/null \
|
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
|
||||||
| tail +2 | head -n 1 \
|
|
||||||
| tee repo_added \
|
|
||||||
| awk '{ print "helm repo add " $1 " " $3 }' \
|
|
||||||
| while read cmd; do $cmd; done
|
|
||||||
done
|
done
|
||||||
|
|
||||||
echo ">> Added following repos:"
|
|
||||||
cat repo_add | sort | uniq
|
|
||||||
|
|
||||||
- name: Render Helm Manifests
|
- name: Render Helm Manifests
|
||||||
run: |
|
run: |
|
||||||
for cluster in ${CLUSTERS}; do
|
for cluster in ${CLUSTERS}; do
|
||||||
|
|||||||
Reference in New Issue
Block a user