project-config/jenkins/jobs/cells.yaml
Matt Riedemann 61a9daa2c5 Make the cells v1 job run explicitly with nova-network
The cells v1 job won't work with neutron, so it has to run
with nova-network. As we're looking to globally switch
DEVSTACK_GATE_NEUTRON to 1 (the default) in devstack-gate
for the master branch (Ocata) if not specified, we need to
specify this for the cells v1 job.

See I6ece30e823c0cf21fbb2f37568c669dd7d3c6a08

Change-Id: If86b061be095ed5cfc7a5f5594f84abae68baab0
2016-11-02 15:05:34 -04:00

37 lines
1.1 KiB
YAML

- job-template:
name: '{pipeline}-tempest-dsvm-cells-{node}{job-suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_CELLS=1
# NOTE(mriedem): Explicitly tell devstack-gate that we need to run
# the cells v1 job with nova-network.
export DEVSTACK_GATE_NEUTRON=0
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/nova/devstack/tempest-dsvm-cells-rc
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