48e39bec49
This patch will enables the neutron service for tempest, and remove the line enable t-* service. Change-Id: I30646f4ca3226ea4430f644c917e5d31d6966cc8
50 lines
1.5 KiB
YAML
50 lines
1.5 KiB
YAML
- job-template:
|
|
name: '{pipeline}-tricircle-dsvm-functional{job-suffix}'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 130
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export BRANCH_OVERRIDE={branch-override}
|
|
export PROJECTS="openstack/tricircle $PROJECTS"
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
export DEVSTACK_GATE_TEMPEST=0
|
|
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=0
|
|
export DEVSTACK_GATE_TEMPEST_REGEX="tricircle.tempestplugin"
|
|
|
|
export DEVSTACK_LOCAL_CONFIG="Q_ENABLE_TRICIRCLE=True"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin tricircle https://git.openstack.org/openstack/tricircle/"
|
|
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
fi
|
|
|
|
function pre_test_hook {{
|
|
cd /opt/stack/new/tricircle/tricircle/tempestplugin/
|
|
./pre_test_hook.sh
|
|
}}
|
|
export -f pre_test_hook
|
|
|
|
function post_test_hook {{
|
|
cd /opt/stack/new/tricircle/tricircle/tempestplugin/
|
|
./post_test_hook.sh
|
|
}}
|
|
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:
|
|
- test-results
|
|
- devstack-logs
|
|
- console-log
|