diff options
author | drebs <drebs@leap.se> | 2016-07-25 21:31:46 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2016-08-01 21:09:04 -0300 |
commit | 6f98a8d61c33a4fc3619f998eeea0075d51c739b (patch) | |
tree | b20f2f0c2fe221eeb6ee06dece4c9d7a0f8edeab /scripts/docker | |
parent | 92813593b93d9788fd978acdeeba59d32c311d48 (diff) |
[test] add rules to run perf test on docker with separate couchdb server container
Diffstat (limited to 'scripts/docker')
-rw-r--r-- | scripts/docker/Makefile | 11 |
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 \ |