project-config/jenkins/jobs/octavia.yaml
madhusudhan-kandadai 6b3ee69978 Add Barbican and client to Octavia PROJECTS
Adding the same list of PROJECTS in pre_test_hook of Octavia didn't
help. It throws an error "Cloning is not allowed, please add in
the job definition". This patch adds the same to Octavia PROJECTS.

Change-Id: Id6d64c59233628aad3715a0b61d2377616073a49
2016-04-22 17:54:11 +00:00

38 lines
1.1 KiB
YAML

- job-template:
name: '{pipeline}-tempest-dsvm-octavia{job-suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 65
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/barbican $PROJECTS"
export PROJECTS="openstack/python-barbicanclient $PROJECTS"
function pre_test_hook {{
$BASE/new/octavia/octavia/tests/contrib/pre_test_hook.sh
}}
export -f pre_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