#!/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" # this is the name of the bundle stream to retrieve from BUNDLE_STREAM_NAME="/public/team/openstack/tempest-ci/" 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 ${BUNDLE_RECEIPTS}:/srv/data/bundle-receipts \ -v ${LOGS}:/srv/data/logs \ --link tempest-neo4j:neo4j \ --rm=true \ tempest-pull