blob: 5fd9b984b4e8ff5cf91da0b0e83a07d21d49e2d0 [file] [log] [blame]
#!/usr/bin/env bash
set -e
CORDDIR=~/opencord
VMDIR=/cord/build/
CONFIG=config/cord_in_a_box.yml
SSHCONFIG=~/.ssh/config
function run_e2e_test () {
cd $CORDDIR/build
# User has been added to the lbvirtd group, but su $USER to be safe
ssh corddev "cd /cord/build; ./gradlew -PdeployConfig=$VMDIR/$CONFIG postDeployTests"
}
run_e2e_test
exit 0