docker test update + makefile update

This commit is contained in:
Joseph Henry
2016-07-07 03:00:11 -05:00
parent eb397a68c4
commit 196b487d95
14 changed files with 285 additions and 84 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/bash
# Runs test image and monitor image as daemons
test_name=${PWD##*/}
echo 'Starting containers for: ' "$test_name"
touch "$test_name".name
test_container=$(docker run -d -it -v $PWD/_results:/opt/results --device=/dev/net/tun "$test_name":latest)
monitor_container=$(docker run -d -it -v $PWD/_results:/opt/results --device=/dev/net/tun "$test_name"_monitor:latest)