Alex | f59c739 | 2022-04-18 19:10:14 -0500 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | echo "Updating permnimssions in rally pod" |
| 3 | kubectl -n qa-space exec --tty --stdin rally -- sudo chown -R rally /artifacts |
| 4 | echo "Copy mod kubeconfig to rally pod" |
| 5 | kubectl cp $MY_PROJFOLDER/envs/mos-kubeconfig.yaml qa-space/rally:/artifacts/mos-kubeconfig.yaml |
| 6 | echo "Copy scenarios to rally pod" |
| 7 | kubectl cp $MY_PROJFOLDER/res-files/k8s/rally-files qa-space/rally:/artifacts/ |
| 8 | echo "Init rally pod" |
| 9 | kubectl -n qa-space exec --tty --stdin rally -- bash /artifacts/rally-files/init-rally.sh |
| 10 | echo "Done" |