summaryrefslogtreecommitdiffstats
path: root/bin/build_and_test.sh
diff options
context:
space:
mode:
authorTommy Carpenter <tommy@research.att.com>2017-08-22 18:07:40 -0400
committerTommy Carpenter <tommy@research.att.com>2017-08-22 18:08:22 -0400
commit647addf5d6c78b2b8c941cc9cd8c57a3eb9f30b4 (patch)
tree4de88ed0c8b175b271b5d7da6076ebf3da40e466 /bin/build_and_test.sh
parentc7b6dc90e4cde0ac8524539fc02ab2943c88048a (diff)
[DCAEGEN2-42] Initial commit of broker
Change-Id: I1c553c82d5b39a4c134c44e2320ac0e44785e0ef Signed-off-by: Tommy Carpenter <tommy@research.att.com>
Diffstat (limited to 'bin/build_and_test.sh')
-rwxr-xr-xbin/build_and_test.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/build_and_test.sh b/bin/build_and_test.sh
new file mode 100755
index 0000000..b0456f4
--- /dev/null
+++ b/bin/build_and_test.sh
@@ -0,0 +1,12 @@
+#!/usr/local/bin/fish
+rm -rf /tmp/log/cdapbroker/*;
+rebar3 release;
+set -x NEXUS_RAW_ROOT "XXXX";
+set -x CDAP_CLUSTER_TO_MANAGE "cdap";
+set -x CONSUL_HOST "XXXX";
+set -x CONFIG_BINDING_SERVICE "config_binding_service";
+set -x HOSTNAME "cdap_broker";
+set -x REBAR3_ERL_ARGS "-sname cdapbroker@localhost";
+rebar3 local install;
+env DEBUG=1 ~/.cache/rebar3/bin/rebar3 ct;
+rebar3 eunit