Files
kubespray/tests/scripts/testcases_cleanup.sh
Max Gautier a8e7238c9f CI: make the ansible inventory a directory
Not constraining the inventory to .ini allows us to use dynamic
inventory, which is needed for simplifying kubevirt jobs inventory.

Also reduces the scope of the ANSIBLE_INVENTORY variable.
2024-11-13 17:32:52 +01:00

10 lines
172 B
Bash
Executable File

#!/bin/bash
set -euxo pipefail
make -C tests delete-${CI_PLATFORM} -s
if [ -d ~/.ara ] ; then
tar czvf ${CI_PROJECT_DIR}/cluster-dump/ara.tgz ~/.ara
rm -fr ~/.ara
fi