Skip to content

Commit

Permalink
fix(diff-rendered-charts): changed dependency build to dependency upd…
Browse files Browse the repository at this point in the history
…ate to avoid chart repository requirements
  • Loading branch information
dlactin committed Mar 12, 2024
1 parent 8b1d844 commit d233652
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/diff-rendered-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
git fetch origin ${{ github.head_ref }}
git checkout ${{ github.head_ref }} --
if [ -f "${{ matrix.chart }}/Chart.yaml" ]; then
helm dependency build "${{ matrix.chart }}"
helm dependency update "${{ matrix.chart }}"
values_files="${{ matrix.chart }}"/values-*
for values_file in $(basename -a $values_files); do
helm template "${{ matrix.chart }}" -f "${{ matrix.chart }}/values.yaml" -f "${{ matrix.chart }}/${values_file}" --output-dir "shared/head-charts/${{ matrix.chart }}/${values_file}"
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
git fetch origin ${{ github.base_ref }}
git checkout ${{ github.base_ref }} --
if [ -f "${{ matrix.chart }}/Chart.yaml" ]; then
helm dependency build "${{ matrix.chart }}"
helm dependency update "${{ matrix.chart }}"
values_files="${{ matrix.chart }}"/values-*
for values_file in $(basename -a $values_files); do
helm template "${{ matrix.chart }}" -f "${{ matrix.chart }}/values.yaml" -f "${{ matrix.chart }}/${values_file}" --output-dir "shared/base-charts/${{ matrix.chart }}/${values_file}"
Expand Down

0 comments on commit d233652

Please sign in to comment.