project-config/jenkins/jobs/lvm.yaml
Matt Riedemann 0c86f878f6 Add gate-tempest-dsvm-lvm job to nova's experimental queue
This will help in testing the lvm image backend for the libvirt
driver in Nova while that code is all being refactored.

We don't need it running on all Nova changes, so this puts
it in the experimental queue so it can be run as needed.

This depends on two changes:

1. A devstack change for the LVM_VOLUME_CLEAR variable.

Depends-On: I1e97ba6ab4772a87192ae2689a25050d432358ab

2. A nova change for the lvm blacklist regex of tests.

Depends-On: I90cb85a503f95741b8e4f4f2147798d9414ce4ea

Related to blueprint libvirt-storage-pools

Change-Id: I1ddeb1cc59c590af37d7e5208d61aac0cdf81eff
2016-05-13 17:40:55 -04:00

35 lines
1020 B
YAML

- job-template:
name: '{pipeline}-tempest-dsvm-lvm{job-suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 180
- 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_LOCAL_CONFIG="NOVA_BACKEND=LVM"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"LVM_VOLUME_CLEAR=none"
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-lvm-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