mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-19 01:01:17 +02:00
* fix fetch does not work with kustomized releases Signed-off-by: xiaomudk <xiaomudk@gmail.com> * add tests Signed-off-by: yxxhero <aiopsclub@163.com> Signed-off-by: xiaomudk <xiaomudk@gmail.com> Signed-off-by: yxxhero <aiopsclub@163.com> Co-authored-by: yxxhero <aiopsclub@163.com>
12 lines
520 B
Bash
12 lines
520 B
Bash
yaml_kustomized_fetch_input_dir="${cases_dir}/kustomized-fetch/input"
|
|
|
|
test_start "kustomized fetch issue"
|
|
info "Checking kustomized fetch issue with ${yaml_kustomized_fetch_input_dir}/helmfile.yaml"
|
|
|
|
for i in $(seq 10); do
|
|
info "checking kustomized fetch issue #$i"
|
|
kustomized_fetch_tmp=$(mktemp -d)
|
|
${helmfile} -f ${yaml_kustomized_fetch_input_dir}/helmfile.yaml fetch --output-dir ${kustomized_fetch_tmp} || fail "\"helmfile fetch\" shouldn't fail"
|
|
rm -fr ${kustomized_fetch_tmp}
|
|
echo code=$?
|
|
done |