devstack/tools/jenkins/adapters/euca.sh
2011-11-10 12:57:59 -08:00

9 lines
245 B
Bash
Executable File

#!/bin/bash
# Echo commands, exit on error
set -o xtrace
set -o errexit
TOP_DIR=$(cd ../../.. && pwd)
HEAD_IP=`cat $TOP_DIR/addresses | grep HEAD | cut -d "=" -f2`
ssh stack@$HEAD_IP 'cd devstack && source openrc && cd exercises && ./euca.sh'