devstack_custom/tools/jenkins/adapters/euca.sh

9 lines
245 B
Bash
Raw Normal View History

2011-11-08 23:25:12 +00:00
#!/bin/bash
# Echo commands, exit on error
set -o xtrace
set -o errexit
2011-11-08 23:25:12 +00:00
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'