From 6a02e8d57084b06379ac6c246c4afbb12600c69a Mon Sep 17 00:00:00 2001 From: Renan DelValle Date: Mon, 13 Aug 2018 14:52:55 -0700 Subject: [PATCH] Adding bash script to run simple container with tests within bridge network. --- runTests.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 runTests.sh diff --git a/runTests.sh b/runTests.sh new file mode 100755 index 0000000..d9ca667 --- /dev/null +++ b/runTests.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# Since we run our docker compose setup in bridge mode to be able to run on MacOS, we have to launch a Docker container within the bridge network in order to avoid any routing issues. +docker run -t -v $(pwd):/go/src/github.com/paypal/gorealis --network gorealis_aurora_cluster golang:1.10.3-stretch go test github.com/paypal/gorealis