-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
48986ee
commit f3d7b6f
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,12 +51,15 @@ jobs: | |
uses: helm/[email protected] | ||
- name: Run pre-validation scripts | ||
run: | | ||
array=() | ||
for dir in $(find . -name Chart.yaml | rev | cut -f2- -d'/' | rev); do | ||
if [ -f "$dir"/ci/pre-validation.sh ]; then | ||
sh "$dir"/ci/pre-validation.sh | ||
nohup sh "$dir"/ci/pre-validation.sh & | ||
array+=($!) | ||
fi | ||
done | ||
wait ${array[@]} | ||
- name: Run chart-testing (install) | ||
run: | | ||
CHARTS="$(find . -name Chart.yaml | rev | cut -f2- -d'/' | tr '\n' ',' | rev | cut -b2-)" | ||
ct lint --target-branch ${{ github.event.repository.default_branch }} --charts "$CHARTS" --chart-dirs "$CHARTS" | ||
ct install --target-branch ${{ github.event.repository.default_branch }} --charts "$CHARTS" --chart-dirs "$CHARTS" |