summaryrefslogtreecommitdiff
path: root/tempest-pull/docker-run-container
diff options
context:
space:
mode:
authorClark Laughlin <clark.laughlin@linaro.org>2015-05-26 13:07:26 -0400
committerClark Laughlin <clark.laughlin@linaro.org>2015-05-26 13:07:26 -0400
commit270c3702796b36bb09c31fd980e17adfa291994b (patch)
treed33bb9f169630ef8bd7036f5c0e24f8da3abaaba /tempest-pull/docker-run-container
parentbca16d98896e5ac32f70b5edce98ab3630f2e7ec (diff)
enable run as Docker container
Diffstat (limited to 'tempest-pull/docker-run-container')
-rwxr-xr-xtempest-pull/docker-run-container16
1 files changed, 16 insertions, 0 deletions
diff --git a/tempest-pull/docker-run-container b/tempest-pull/docker-run-container
new file mode 100755
index 0000000..83444d8
--- /dev/null
+++ b/tempest-pull/docker-run-container
@@ -0,0 +1,16 @@
+#!/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/"
+
+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