summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2016-07-25 21:31:46 -0300
committerdrebs <drebs@leap.se>2016-08-01 21:09:04 -0300
commit6f98a8d61c33a4fc3619f998eeea0075d51c739b (patch)
treeb20f2f0c2fe221eeb6ee06dece4c9d7a0f8edeab /scripts
parent92813593b93d9788fd978acdeeba59d32c311d48 (diff)
[test] add rules to run perf test on docker with separate couchdb server container
Diffstat (limited to 'scripts')
-rw-r--r--scripts/docker/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/scripts/docker/Makefile b/scripts/docker/Makefile
index 6f30a341..6ad4cced 100644
--- a/scripts/docker/Makefile
+++ b/scripts/docker/Makefile
@@ -89,8 +89,15 @@ run-tox:
# Performance tests and graphic generation #
############################################
-run-perf-test:
- helper/run-test.sh perf
+run-perf:
+ docker run -d --name couchdb couchdb
+ docker run -t -i \
+ --memory="$(MEMORY)" \
+ --env="SOLEDAD_REMOTE=$(SOLEDAD_REMOTE)" \
+ --env="SOLEDAD_BRANCH=$(SOLEDAD_BRANCH)" \
+ --link couchdb \
+ $(IMAGE_NAME) \
+ /usr/local/soledad/run-tox-perf.sh
run-client-perf:
@if [ -z "$(CONTAINER_ID_FILE)" ]; then \