9e4a50cb73
This patch splits one functional testing pipeline to api(common) and k8s. We should merge this patch first, then Ic33ea42f6108c7444c152706458cf1a686ed1756 would works well. Partially implements: blueprint split-gate-functional-dsvm-magnum Change-Id: I10e09b2deea7a0643a9516701994cc47813e1aaa
43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
- job-template:
|
|
name: '{pipeline}-functional-dsvm-magnum-{coe}{job-suffix}'
|
|
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_TEMPEST=0
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
export BRANCH_OVERRIDE={branch-override}
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
fi
|
|
export PROJECTS="openstack/magnum $PROJECTS"
|
|
export PROJECTS="openstack/python-magnumclient $PROJECTS"
|
|
export PROJECTS="openstack/barbican $PROJECTS"
|
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin magnum git://git.openstack.org/openstack/magnum"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer"
|
|
|
|
function post_test_hook {{
|
|
source $BASE/new/devstack/accrc/admin/admin
|
|
cd /opt/stack/new/magnum/
|
|
./magnum/tests/contrib/post_test_hook.sh {coe}
|
|
}}
|
|
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:
|
|
- devstack-logs
|
|
- console-log
|