project-config/jenkins/jobs/sdk.yaml
Nakul Dahiwade 7a0bd64a7c Enabling (Adding) Octavia to SDK gate.
Currently the fucntional tests written for Octavia controllers in
SDK are not able to hit the API endpoints for respective services.
So the tests are not validated properly. This patch would solve that
by enabling Octavia in SDK gates.
Also adding a local_conf section would enable other projects to add
for similar reasons.

Change-Id: Id64c4d8d33194332b121c16187428b1574144cc1
2017-04-05 15:31:21 +00:00

48 lines
1.6 KiB
YAML

- job-template:
name: '{pipeline}-sdk-dsvm-functional-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer
enable_plugin neutron https://git.openstack.org/openstack/neutron
enable_plugin octavia https://git.openstack.org/openstack/octavia
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_UNSTACK=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_HEAT=1
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
export PROJECTS="openstack/python-openstacksdk $PROJECTS"
export PROJECTS="openstack/octavia $PROJECTS"
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export ENABLED_SERVICES=q-qos
function post_test_hook {{
bash -xe $BASE/new/python-openstacksdk/post_test_hook.sh
}}
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