1 Star 0 Fork 0

chaos/truenas-charts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
run_common_tests.sh 677 Bytes
一键复制 编辑 原始数据 按行查看 历史
Stavros Kois 提交于 2023-04-11 18:36 . move ix-chart to ix-dev (#1054)
#!/bin/bash
# https://github.com/helm-unittest/helm-unittest
# -- You need to install this helm plugin
# helm plugin install https://github.com/helm-unittest/helm-unittest
common_test_path="library/common-test"
function cleanup {
if [ -d "$common_test_path/charts" ]; then
echo "🧹 Cleaning up charts..."
rm -r "$common_test_path/charts"
rm "$common_test_path/Chart.lock"
# Clean snapshots
rm -r "$common_test_path/**/__snapshot__" 2> /dev/null
fi
}
cleanup
echo "🔨 Building common..."
helm dependency update "$common_test_path"
echo "🧪 Running tests..."
helm unittest --update-snapshot -f "tests/*/*.yaml" "./$common_test_path"
cleanup
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chaosye/truenas-charts.git
git@gitee.com:chaosye/truenas-charts.git
chaosye
truenas-charts
truenas-charts
master

搜索帮助