Commit d4f4e1ba authored by sathyaseelan's avatar sathyaseelan Committed by Uday Kiran

Modified packet clster creation playbook (#18)

Signed-off-by: 's avatarsathyaseelan <>
parent 617935f1
......@@ -7,7 +7,7 @@ kubectl get po -n gitlab-runner
kubectl get pods -n gitlab-runner -o go-template --template '{{range .items}}{{}} {{.metadata.creationTimestamp}}{{"\n"}}{{end}}' | awk '$2 <= "'$(date -d'now-6 hours' -Ins --utc | sed 's/+0000/Z/')'" { print $1 }' | grep "runner.*project-6" | xargs --no-run-if-empty kubectl delete pod -n gitlab-runner
echo "creating packet-cluster"
mkdir ~/.kube /openebs/e2e-packet/cluster /openebs/e2e-packet/cluster/ssh /openebs/e2e-packet/cluster/.kube
mkdir -p ~/.kube /openebs/e2e-packet/cluster /openebs/e2e-packet/cluster/ssh /openebs/e2e-packet/cluster/.kube
export PACKET_API_TOKEN=$packet_api_token
git clone
cd litmus/k8s/packet/k8s-installer
Markdown is supported
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