summaryrefslogtreecommitdiff
path: root/tempest-pull/docker-run-container
blob: 556ca7defef3e96c03b1a1c2cf1a29f01888eac6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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