diff options
-rwxr-xr-x | tempest-pull/docker-run-container | 10 |
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 |