1662be8582
Update to use newer local_conf stanza for projects where possible. Change-Id: I5fca7640cef18362cd1ca6bfc736c3606b1bc93e
104 lines
2.9 KiB
YAML
104 lines
2.9 KiB
YAML
- job:
|
|
name: gate-tempest-dsvm-lxd-ovs
|
|
node: ubuntu-xenial
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 130
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- local_conf:
|
|
conf: |
|
|
[[local|localrc]]
|
|
enable_plugin nova-lxd git://git.openstack.org/openstack/nova-lxd
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_TEMPEST_FULL=1
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
export DEVSTACK_GATE_VIRT_DRIVER="lxd"
|
|
export PROJECTS="openstack/nova-lxd $PROJECTS"
|
|
|
|
|
|
# keep localrc to be able to set some vars in pre_test hook
|
|
export KEEP_LOCALRC=1
|
|
|
|
function pre_test_hook {
|
|
source $BASE/new/nova-lxd/contrib/ci/pre_test_hook.sh
|
|
}
|
|
export -f pre_test_hook
|
|
|
|
function post_test_hook {
|
|
source $BASE/new/nova-lxd/contrib/ci/post_test_hook.sh
|
|
}
|
|
export -f post_test_hook
|
|
|
|
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/nova-lxd/devstack/tempest-dsvm-lxd-rc
|
|
|
|
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
|
|
|
|
- job:
|
|
name: gate-tempest-dsvm-lxd-linuxbridge-nv
|
|
node: ubuntu-xenial
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 130
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- local_conf:
|
|
conf: |
|
|
[[local|localrc]]
|
|
enable_plugin nova-lxd git://git.openstack.org/openstack/nova-lxd
|
|
# Enable linuxbridge agent and configure physical network
|
|
Q_AGENT=linuxbridge
|
|
PHYSICAL_NETWORK=default
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_TEMPEST_FULL=1
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
export DEVSTACK_GATE_VIRT_DRIVER="lxd"
|
|
export PROJECTS="openstack/nova-lxd $PROJECTS"
|
|
|
|
# keep localrc to be able to set some vars in pre_test hook
|
|
export KEEP_LOCALRC=1
|
|
|
|
function pre_test_hook {
|
|
source $BASE/new/nova-lxd/contrib/ci/pre_test_hook.sh
|
|
}
|
|
export -f pre_test_hook
|
|
|
|
function post_test_hook {
|
|
source $BASE/new/nova-lxd/contrib/ci/post_test_hook.sh
|
|
}
|
|
export -f post_test_hook
|
|
|
|
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/nova-lxd/devstack/tempest-dsvm-lxd-rc
|
|
|
|
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
|