summaryrefslogtreecommitdiff
path: root/scripts/docker/Makefile
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2016-06-06 20:43:59 -0300
committerdrebs <drebs@leap.se>2016-06-06 21:40:44 -0300
commit57e21dc89f1cc5e34261da75d939e53edd3d5a2b (patch)
tree441f960a5a06df0985a8d930cba58f36384528cf /scripts/docker/Makefile
parent7ee12a38d6e8230525f3401abdbd3def4d81502b (diff)
[test] add rule for running trial tests in a docker container
Diffstat (limited to 'scripts/docker/Makefile')
-rw-r--r--scripts/docker/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/docker/Makefile b/scripts/docker/Makefile
index 9b9ab8f7..872bdc40 100644
--- a/scripts/docker/Makefile
+++ b/scripts/docker/Makefile
@@ -50,6 +50,13 @@ run-client-test:
$(IMAGE_NAME) \
/usr/local/soledad/start-client-test.sh
+run-trial-test:
+ docker run -t -i \
+ --env="SOLEDAD_REMOTE=$(SOLEDAD_REMOTE)" \
+ --env="SOLEDAD_BRANCH=$(SOLEDAD_BRANCH)" \
+ $(IMAGE_NAME) \
+ /usr/local/soledad/start-trial-test.sh
+
run-shell: image
docker run -t -i $(IMAGE_NAME) /bin/bash