ci: remove weird mkdir/ln command

The command fails when PWD=/. It is unclear what the command tries to
achieve. The next command does something more useful, although it can
maybe be removed as well.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-07-29 10:44:25 +02:00 committed by mergify[bot]
parent 04934a40e5
commit fc378ac74b

View File

@ -156,7 +156,6 @@ up)
if [[ "${VM_DRIVER}" != "none" ]]; then if [[ "${VM_DRIVER}" != "none" ]]; then
wait_for_ssh wait_for_ssh
# shellcheck disable=SC2086 # shellcheck disable=SC2086
minikube ssh "sudo mkdir -p /mnt/${DISK}/${PWD}; sudo mkdir -p $(dirname $PWD); sudo ln -s /mnt/${DISK}/${PWD} $(dirname $PWD)/"
minikube ssh "sudo mkdir -p /mnt/${DISK}/var/lib/rook;sudo ln -s /mnt/${DISK}/var/lib/rook /var/lib/rook" minikube ssh "sudo mkdir -p /mnt/${DISK}/var/lib/rook;sudo ln -s /mnt/${DISK}/var/lib/rook /var/lib/rook"
fi fi
kubectl cluster-info kubectl cluster-info