Skip to content

Commit

Permalink
Merge pull request #30 from mozilla-it/fix-helmdiff-workflow
Browse files Browse the repository at this point in the history
fix(diff-rendered-charts): Updated render jobs to check if Chart.yaml…
  • Loading branch information
dlactin authored Mar 11, 2024
2 parents abc4889 + fca5e13 commit 8b1d844
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 @@ -47,7 +47,7 @@ jobs:
mkdir -p shared/head-charts
git fetch origin ${{ github.head_ref }}
git checkout ${{ github.head_ref }} --
if [ -d "${{ matrix.chart }}" ]; then
if [ -f "${{ matrix.chart }}/Chart.yaml" ]; then
helm dependency build "${{ matrix.chart }}"
values_files="${{ matrix.chart }}"/values-*
for values_file in $(basename -a $values_files); do
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
mkdir -p shared/base-charts
git fetch origin ${{ github.base_ref }}
git checkout ${{ github.base_ref }} --
if [ -d "${{ matrix.chart }}" ]; then
if [ -f "${{ matrix.chart }}/Chart.yaml" ]; then
helm dependency build "${{ matrix.chart }}"
values_files="${{ matrix.chart }}"/values-*
for values_file in $(basename -a $values_files); do
Expand Down

0 comments on commit 8b1d844

Please sign in to comment.