Commit b5f40738 authored by Michael Davis's avatar Michael Davis
Browse files

[migration] Run migration tests as daemon user

parent 8beb05b6
#!/bin/sh
echo "whoami:"
whoami
echo "USER=${USER}"
# Migration tools parameters
#EOSINSTANCE=ctaeos
#EOS_CMD="/usr/bin/eos root://${EOSINSTANCE}"
......
......@@ -35,8 +35,9 @@ if [ $? -ne 0 ]; then
fi
echo
echo "Launching grpc_dir_inject.sh on client pod"
echo "Launching grpc_dir_inject.sh on ctaeos pod"
kubectl -n ${NAMESPACE} cp grpc_dir_inject.sh ctaeos:/root/grpc_dir_inject.sh
kubectl -n ${NAMESPACE} exec ctaeos -- bash /root/grpc_dir_inject.sh || exit 1
kubectl -n ${NAMESPACE} exec ctaeos -- bash /root/grpc_dir_inject.sh
kubectl -n ${NAMESPACE} exec --as="daemon" ctaeos -- bash /root/grpc_dir_inject.sh || exit 1
exit 0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment