test: fix issue-2599 integration script helmfile invocation
Agent-Logs-Url: https://github.com/helmfile/helmfile/sessions/9452bb65-7086-459f-b5ae-0b00c1e021eb Co-authored-by: yxxhero <11087727+yxxhero@users.noreply.github.com>
This commit is contained in:
parent
01cfc7aa72
commit
de600fae95
|
|
@ -23,7 +23,7 @@ test_start "issue 2599 default inherit"
|
|||
|
||||
# Test 1: defaultInherit applies template to all releases
|
||||
info "Running helmfile build with defaultInherit"
|
||||
"${helmfile}" -f "${issue_2599_input_dir}/helmfile.yaml" build \
|
||||
${helmfile} -f "${issue_2599_input_dir}/helmfile.yaml" build \
|
||||
> "${issue_2599_tmp}/output.log" 2>&1 \
|
||||
|| { cat "${issue_2599_tmp}/output.log"; fail "helmfile build with defaultInherit shouldn't fail"; }
|
||||
|
||||
|
|
@ -65,7 +65,7 @@ releases:
|
|||
chart: ${dir}/charts/raw
|
||||
EOF
|
||||
|
||||
"${helmfile}" -f "${issue_2599_tmp}/bad-helmfile.yaml" build \
|
||||
${helmfile} -f "${issue_2599_tmp}/bad-helmfile.yaml" build \
|
||||
> "${issue_2599_tmp}/error.log" 2>&1 \
|
||||
&& fail "helmfile build with non-existent defaultInherit template should fail"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue