blob: 62b01cb7fe246c5bbc303325ec73ac4ba8706bd2 [file] [log] [blame]
Andy Baviercaeab6a2016-12-12 14:58:01 -05001#!/usr/bin/env bash
2
3set -e
4
Andy Bavier392a40c2017-02-12 10:30:32 -08005CORDDIR=~/cord
Andy Bavierfcf4e842017-06-27 17:55:10 -04006VMDIR=/opt/cord/build/
Andy Baviercaeab6a2016-12-12 14:58:01 -05007CONFIG=config/cord_in_a_box.yml
8SSHCONFIG=~/.ssh/config
9
10function run_e2e_test () {
11 cd $CORDDIR/build
12
13 # User has been added to the lbvirtd group, but su $USER to be safe
Andy Bavierfcf4e842017-06-27 17:55:10 -040014 ssh corddev "cd $VMDIR; ./gradlew -PdeployConfig=$VMDIR/$CONFIG postDeployTests"
Andy Baviercaeab6a2016-12-12 14:58:01 -050015}
16
17run_e2e_test
18
19exit 0