summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClark Laughlin <clark.laughlin@linaro.org>2015-12-01 15:19:21 -0500
committerClark Laughlin <clark.laughlin@linaro.org>2015-12-01 15:19:21 -0500
commit0c554dffd3d9246ffcc9113bdcf05eb8a955ae3b (patch)
tree667075cbbaaa1f3f40ad2f30b08d8cb8ff8498a9
parent473d86a2c983ac2184804e6f7b458004d7d9891f (diff)
docker-run-container: fix pathsHEADmaster
-rwxr-xr-xtempest-pull/docker-run-container10
1 files changed, 7 insertions, 3 deletions
diff --git a/tempest-pull/docker-run-container b/tempest-pull/docker-run-container
index dee5cc6..556ca7d 100755
--- a/tempest-pull/docker-run-container
+++ b/tempest-pull/docker-run-container
@@ -1,5 +1,9 @@
#!/bin/bash
+DATA_ROOT=/srv/reporting-portal/data/openstack-linaro-org
+BUNDLE_RECEIPTS=${DATA_ROOT}/tempest/logs/bundle-receipts
+LOGS=${DATA_ROOT}/tempest/logs/logs
+
# this is the URL of the LAVA instance to retrieve from
LAVA_XMLRPC_ENDPOINT="https://openstack.validation.linaro.org/RPC2"
@@ -11,8 +15,8 @@ echo "NOTE: This container will be run, then removed after it completes"
docker run --name tempest-pull \
-e LAVA_XMLRPC_ENDPOINT=${LAVA_XMLRPC_ENDPOINT} \
-e BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} \
- -v /srv/tempest/logs/bundle-receipts:/srv/data/bundle-receipts \
- -v /srv/tempest/logs/logs:/srv/data/logs \
- --link neo4j:neo4j \
+ -v ${BUNDLE_RECEIPTS}:/srv/data/bundle-receipts \
+ -v ${LOGS}:/srv/data/logs \
+ --link tempest-neo4j:neo4j \
--rm=true \
tempest-pull