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

[migration] Run migration tests as daemon user

parent 8beb05b6
echo "whoami:"
echo "USER=${USER}"
# Migration tools parameters
#EOS_CMD="/usr/bin/eos root://${EOSINSTANCE}"
......@@ -35,8 +35,9 @@ if [ $? -ne 0 ]; then
echo "Launching on client pod"
echo "Launching on ctaeos pod"
kubectl -n ${NAMESPACE} cp ctaeos:/root/
kubectl -n ${NAMESPACE} exec ctaeos -- bash /root/ || exit 1
kubectl -n ${NAMESPACE} exec ctaeos -- bash /root/
kubectl -n ${NAMESPACE} exec --as="daemon" ctaeos -- bash /root/ || 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