devstack/tools/jenkins/adapters/volumes.sh
Jesse Andrews 2f15df8a29 add adapters for exercises jenkins integration)
Change-Id: If15570612e784d6a1b9fbd54c83f9cd3a9a36941
2011-12-23 12:28:45 -08:00

9 lines
248 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 && ./volumes.sh'