diff options
author | Clark Laughlin <clark.laughlin@linaro.org> | 2015-05-26 13:07:26 -0400 |
---|---|---|
committer | Clark Laughlin <clark.laughlin@linaro.org> | 2015-05-26 13:07:26 -0400 |
commit | 270c3702796b36bb09c31fd980e17adfa291994b (patch) | |
tree | d33bb9f169630ef8bd7036f5c0e24f8da3abaaba /tempest-pull/docker-run-container | |
parent | bca16d98896e5ac32f70b5edce98ab3630f2e7ec (diff) |
enable run as Docker container
Diffstat (limited to 'tempest-pull/docker-run-container')
-rwxr-xr-x | tempest-pull/docker-run-container | 16 |
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 |