blob: 5015cb5afdb0a5cae20cea91e2b2cf0437b0fff7 [file] [log] [blame]
#!/bin/bash
echo "Updating permnimssions in rally pod"
kubectl -n qa-space exec --tty --stdin rally -- sudo chown -R rally /artifacts
echo "Copy mod kubeconfig to rally pod"
kubectl cp $MY_PROJFOLDER/envs/mos-kubeconfig.yaml qa-space/rally:/artifacts/mos-kubeconfig.yaml
echo "Copy scenarios to rally pod"
kubectl cp $MY_PROJFOLDER/res-files/k8s/rally-files qa-space/rally:/artifacts/
echo "Init rally pod"
kubectl -n qa-space exec --tty --stdin rally -- bash /artifacts/rally-files/init-rally.sh
echo "Done"