Skip to content

Commit

Permalink
tests/kubernetes: Correctly run cleanup_bare_metal_env.sh
Browse files Browse the repository at this point in the history
Correct the quoting so that we run the script correctly. It currently fails
with:

bash: .../tests/integration/kubernetes/cleanup_bare_metal_env.sh false: No such file or directory

Fixes: kata-containers#5525
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
  • Loading branch information
jepio committed Aug 25, 2023
1 parent de2c828 commit ae41c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/kubernetes/cleanup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ main () {

# if CI run in bare-metal, we need a set of extra clean
if [ "${BAREMETAL}" == true ] && [ -f "${SCRIPT_PATH}/cleanup_bare_metal_env.sh" ]; then
bash -f "${SCRIPT_PATH}/cleanup_bare_metal_env.sh ${keep_cni_bin}"
bash -f "${SCRIPT_PATH}/cleanup_bare_metal_env.sh" "${keep_cni_bin}"
fi

info "Check no kata processes are left behind after reseting kubernetes"
Expand Down

0 comments on commit ae41c1a

Please sign in to comment.