Kyle Mestery 6ecd780307 Be explicit about what services we enable for ODL
Change-Id: I3f55a4913d83a6894e3a4cf822a65536f3a205cc
2015-05-07 19:21:43 +00:00

55 lines
2.1 KiB
YAML

- job-template:
name: '{pipeline}-tempest-dsvm-networking-odl{branch-designator}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=120
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST=1
# Be explicit about what services we enable
ENABLED_SERVICES=q-svc,q-dhcp,q-meta,quantum,tempest,
ENABLED_SERVICES+=n-api,n-cond,n-cpu,n-crt,n-obj,n-sch
ENABLED_SERVICES+=g-api,g-reg,mysql,rabbit,key
export ENABLED_SERVICES
# For now, run a small number of tests until we get the issues
# on the ODL sorted out
export DEVSTACK_GATE_TEMPEST_REGEX="tempest.api.network.test_networks \
tempest.api.network.test_networks_negative \
tempest.api.network.test_ports"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="stackforge/networking-odl $PROJECTS"
# Note the actual url here is somewhat irrelevant because it
# caches in nodepool, however make it a valid url for
# documentation purposes.
export DEVSTACK_LOCAL_CONFIG="enable_plugin networking-odl git://git.openstack.org/stackforge/networking-odl"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
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