summaryrefslogtreecommitdiffstats
path: root/test/ete/scripts/run-healthcheck.sh
blob: a6bd489e8bbf1cf3d031c00573e47e0de890c14b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

if [ -z "$WORKSPACE" ]; then
    export WORKSPACE=`git rev-parse --show-toplevel`
fi

cd $WORKSPACE/test/ete/scripts

ROBOT_IP=$(./get-floating-ip.sh onap-robot)
echo "ROBOT_IP=${ROBOT_IP}"

ssh -o StrictHostKeychecking=no -i ~/.ssh/onap_key root@${ROBOT_IP} "OS_PASSWORD_INPUT=$OS_PASSWORD_INPUT bash -s" < ./remote/run-robot.sh