95169f5a3d
Since Newton release, Tacker supports vnffg and alarm-monitor features, which need these above projects to run. Enable these projects in integration test env to support the related functional tests. Change-Id: I141128d8d1079d61820b48a5dde4af24a6ee4654
50 lines
1.9 KiB
YAML
50 lines
1.9 KiB
YAML
- job-template:
|
|
name: '{pipeline}-tacker-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 DEVSTACK_GATE_NEUTRON=1
|
|
export DEVSTACK_GATE_TEMPEST=0
|
|
export BRANCH_OVERRIDE={branch-override}
|
|
export PROJECTS="openstack/tacker $PROJECTS"
|
|
export PROJECTS="openstack/tacker-horizon $PROJECTS"
|
|
export PROJECTS="openstack/python-tackerclient $PROJECTS"
|
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin tacker git://git.openstack.org/openstack/tacker"
|
|
case "$ZUUL_BRANCH" in
|
|
stable/liberty|stable/mitaka) break;;
|
|
*)
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin aodh git://git.openstack.org/openstack/aodh"
|
|
export PROJECTS="openstack/aodh $PROJECTS"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ceilometer https://git.openstack.org/openstack/ceilometer"
|
|
export PROJECTS="openstack/ceilometer $PROJECTS"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin networking-sfc http://git.trystack.cn/openstack/networking-sfc"
|
|
export PROJECTS="openstack/networking-sfc $PROJECTS"
|
|
esac
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
fi
|
|
|
|
function post_test_hook {{
|
|
bash -xe $BASE/new/tacker/tacker/tests/contrib/post_test_hook.sh dsvm-functional
|
|
}}
|
|
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
|