blob: 2a29cddee7ee7f3dca0add158ace93e138155dd4 [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 Baviercaeab6a2016-12-12 14:58:01 -05006VMDIR=/cord/build/
7CONFIG=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
14 ssh corddev "cd /cord/build; ./gradlew -PdeployConfig=$VMDIR/$CONFIG postDeployTests"
15}
16
17run_e2e_test
18
19exit 0