1641a2eaa9
Depends On: I077b5393b71052637386e237ad04396395a9ebde Change-Id: I5c2d4dba91cb7f6e769226283249b47266593f50
47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
- job-template:
|
|
name: 'gate-cue-integration-dsvm-{broker}'
|
|
node: 'devstack-precise || devstack-trusty'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 105
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TIMEOUT=100
|
|
export DEVSTACK_GATE_INSTALL_TESTONLY=1
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
|
|
export PROJECTS="openstack/cue openstack/python-cueclient openstack/cue-dashboard $PROJECTS"
|
|
|
|
function gate_hook {{
|
|
cd /opt/stack/new/cue/tests
|
|
./gate_hook.sh {broker}
|
|
}}
|
|
export -f gate_hook
|
|
|
|
function pre_test_hook {{
|
|
cd /opt/stack/new/cue/tests
|
|
./pre_test_hook.sh {broker}
|
|
}}
|
|
export -f pre_test_hook
|
|
|
|
function post_test_hook {{
|
|
cd /opt/stack/new/cue/tests
|
|
./post_test_hook.sh {broker}
|
|
}}
|
|
export -f post_test_hook
|
|
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
|
|
publishers:
|
|
- devstack-logs
|
|
- console-log
|