Files
library-charts/run_common_tests.sh
2022-11-09 19:40:36 +02:00

14 lines
342 B
Bash
Executable File

#!/bin/bash
# https://github.com/quintush/helm-unittest
# -- You need to install this helm plugin
# helm plugin install https://github.com/quintush/helm-unittest
curr_dir=${pwd}
common_test_path=library/common-test
helm dependency build "$common_test_path"
cd "$common_test_path"
helm unittest --helm3 -f "tests/*/*.yaml" .
cd "$curr_dir"