Adding bash script to run simple container with tests within bridge network.

This commit is contained in:
Renan DelValle 2018-08-13 14:52:55 -07:00
parent b922e937c2
commit 6a02e8d570
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9

4
runTests.sh Executable file
View file

@ -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