Skip to content

Commit

Permalink
Test charts (#4)
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha authored Jul 16, 2024
1 parent 63bf681 commit 734eaf2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions hack/scripts/ct.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,13 @@ for dir in charts/*/; do
dir=${dir##*/}
num_files=$(find charts/${dir}/templates -type f | wc -l)
echo $dir
if [ $num_files -le 1 ] ||
[[ "$dir" =~ "-crds" ]] ||
[[ "$dir" =~ "-metrics" ]] ||
[[ "$dir" =~ "-grafana-dashboards" ]]; then
if [ $num_files -le 1 ]; then
make ct CT_COMMAND=lint TEST_CHARTS=charts/$dir
elif [[ "$dir" = "dbgate" ]] ||
[[ "$dir" = "kafka-ui" ]] ||
[[ "$dir" = "mongo-ui" ]] ||
[[ "$dir" = "pgadmin" ]] ||
[[ "$dir" = "phpmyadmin" ]] ||
[[ "$dir" = "prepare-cluster" ]]; then
[[ "$dir" = "phpmyadmin" ]]; then
make ct TEST_CHARTS=charts/$dir || true
else
ns=app-$(date +%s | head -c 6)
Expand Down

0 comments on commit 734eaf2

Please sign in to comment.