summaryrefslogtreecommitdiff
path: root/tempest-pull/docker-run-container
blob: d68278e1032cce448f87f397515bce8fac209947 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

# 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 /srv/ci-reporting/bundle-receipts:/srv/data/bundle-receipts  \
     -v /srv/ci-reporting/logs:/srv/data/logs  \
     --link neo4j:neo4j  \
     --rm=true \
     tempest-pull