Matt Riedemann 4d836c5731 Add tempest full job to sqlalchemy-migrate
Based on the layout for other stackforge projects, i.e. Barbican, but
using the environment for tempest-dvsm-full.

Related-Bug: #1287229

Change-Id: If7c8ab4e6be116d9fc10fc73fb28e86cec852963
2014-03-03 13:44:15 -08:00

38 lines
1.1 KiB
YAML

- job-template:
name: '{pipeline}-sqlalchemy-migrate-devstack-dsvm{branch-designator}'
node: '{node}'
wrappers:
- timeout:
timeout: 185
fail: true
- timestamps
builders:
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=180
export PROJECTS="stackforge/sqlalchemy-migrate $PROJECTS"
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_FULL=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function pre_test_hook {{
cd /opt/stack/new/sqlalchemy-migrate
sudo pip install .
}}
export -f pre_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
- console-log