feat: switch to charttool based dependency fetching

This commit is contained in:
Kjeld Schouten
2023-12-14 16:38:58 +01:00
parent 8ea810f425
commit 6be41fa0f6
4 changed files with 2 additions and 253 deletions
+1 -3
View File
@@ -102,9 +102,7 @@ jobs:
charts_path: "./"
run: |
CHANGED=$(echo '${{ steps.list-changed.outputs.CHANGED_CHARTS }}' | jq --raw-output '.[]')
for changed in ${CHANGED}; do
.github/scripts/fetch_helm_deps.sh "${changed}"
done
charttool deps ${CHANGED}
- name: Run Chart Linting
continue-on-error: true
+1 -4
View File
@@ -263,10 +263,7 @@ jobs:
steps.collect-changes.outputs.changesDetectedAfterTag == 'true'
run: |
CHARTS=(${{ steps.collect-changes.outputs.modifiedChartsAfterTag }})
charts_path="charts"
for changed in ${CHARTS[@]}; do
.github/scripts/fetch_helm_deps.sh "${changed}"
done
charttool deps ${CHARTS[@]}
pip install yq
parthreads=$(($(nproc) * 2))
parallel -j ${parthreads} .github/scripts/build-catalog.sh '2>&1' ::: ${CHARTS[@]}