forked from deuxfleurs-org/garage
-
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
3302cdd
commit cec718c
Showing
4 changed files
with
30 additions
and
11 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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
# This script runs the chart-testing tool locally. It simulates the linting that is also done by the github action. Run this without any errors before pushing. | ||
# Reference: https://github.com/helm/chart-testing | ||
set -eux | ||
|
||
SRCROOT="$(cd "$(dirname "$0")/.." && pwd)" | ||
echo $SRCROOT | ||
echo -e "\n-- Linting all Helm Charts --\n" | ||
docker run \ | ||
-v "$SRCROOT:/workdir" \ | ||
--entrypoint /bin/sh \ | ||
quay.io/helmpack/chart-testing:v3.10.0 \ | ||
-c cd /workdir \ | ||
ct lint \ | ||
--config .github/configs/ct-lint.yaml \ | ||
--lint-conf .github/configs/lintconf.yaml \ | ||
--debug |
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
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