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