Skip to content

Commit

Permalink
Loop through the ci dir instead of charts dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jforest committed Oct 16, 2024
1 parent 8a24fae commit 2cfef47
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/chart-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,10 @@ jobs:

- name: Symlink ci-lint -> ci
run: |
for dir in charts/*/; do
dir=${dir%*/}
dir=${dir##*/}
if [[ -d ci/${dir}/lint ]]; then
ln -s ../../ci/${dir}/lint charts/${dir}/ci
fi
for dir in ci/*/lint; do
dir=${dir#ci/}
dir=${dir%/lint}
ln -s ../../ci/${dir}/lint charts/${dir}/ci
done
- name: Run chart-testing (list-changed)
Expand Down Expand Up @@ -103,12 +101,10 @@ jobs:

- name: Symlink ci-install -> ci
run: |
for dir in charts/*/; do
dir=${dir%*/}
dir=${dir##*/}
if [[ -d ci/${dir}/install ]]; then
ln -s ../../ci/${dir}/install charts/${dir}/ci
fi
for dir in ci/*/install; do
dir=${dir#ci/}
dir=${dir%/install}
ln -s ../../ci/${dir}/install charts/${dir}/ci
done
- name: Run chart-testing (list-changed)
Expand Down

0 comments on commit 2cfef47

Please sign in to comment.