File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,6 @@ cyan='\033[0;36m'
4
4
blue=' \033[0;34m'
5
5
NC=' \033[0m' # No Color
6
6
7
- # get boot2docker host ip
8
- HOST_IP=$( boot2docker ip)
9
-
10
7
echo " ${cyan} Stopping the backend container and removing its image...${NC} "
11
8
docker rm -f backend & > /dev/null
12
9
docker rmi -f backend-image & > /dev/null
@@ -59,12 +56,12 @@ for PROXY_DIR in hosts/proxy/*; do
59
56
docker run --name " proxy-$PROXY_NAME " -d -p $HOST_PORT :80 --link backend:backend " proxy-$PROXY_NAME -image"
60
57
done
61
58
62
- echo " ${cyan} Proxy:${NC} "
63
- echo curl http://$HOST_IP
64
-
65
59
echo " ${cyan} Running integration tests:${NC} "
66
60
cd test
67
61
# make sure npm packages are installed
68
62
npm install
69
63
# run tests
70
64
npm test
65
+
66
+ echo " ${cyan} Proxy:${NC} "
67
+ echo curl http://$( boot2docker ip)
You can’t perform that action at this time.
0 commit comments