Andy Bavier | caeab6a | 2016-12-12 14:58:01 -0500 | [diff] [blame] | 1 | #!/usr/bin/env bash |
2 | |||||
3 | set -e | ||||
4 | |||||
5 | CORDDIR=~/opencord | ||||
6 | VMDIR=/cord/build/ | ||||
7 | CONFIG=config/cord_in_a_box.yml | ||||
8 | SSHCONFIG=~/.ssh/config | ||||
9 | |||||
10 | function run_e2e_test () { | ||||
11 | cd $CORDDIR/build | ||||
12 | |||||
13 | # User has been added to the lbvirtd group, but su $USER to be safe | ||||
14 | ssh corddev "cd /cord/build; ./gradlew -PdeployConfig=$VMDIR/$CONFIG postDeployTests" | ||||
15 | } | ||||
16 | |||||
17 | run_e2e_test | ||||
18 | |||||
19 | exit 0 |