Files
helmfile/test/integration/test-cases/helmfile-double-fetch.sh
T
yxxhero 67ab08ab5e fix: oci pull directory conflict when download twice (#914)
* fix: oci pull directory conflict when download twice

Signed-off-by: yxxhero <aiopsclub@163.com>

* add test cases
2023-07-23 21:10:03 +08:00

13 lines
621 B
Bash

helmfile_double_fetch_case_input_dir="${cases_dir}/helmfile-double-fetch/input"
config_file="helmfile.yaml"
test_start "helmfile fetch with helmfile_double_fetch"
info "Comparing fetch/helmfile_double_fetch_first"
${helmfile} -f ${helmfile_double_fetch_case_input_dir}/${config_file} fetch --output-dir /tmp/chartdir || fail "\"helmfile fetch\" shouldn't fail"
info "Comparing template/helmfile_double_fetch_second"
${helmfile} -f ${helmfile_double_fetch_case_input_dir}/${config_file} fetch --output-dir /tmp/chartdir || fail "\"helmfile fetch\" shouldn't fail"
test_pass "helmfile fetch with helmfile_double_fetch"