project-config/jenkins/jobs/designate.yaml
Kiall Mac Innes f563954c05 Add openstack/designate-dashboard to designate DSVM gates
Change-Id: Icd53afc063d3c7afbc04769285f7538cd27fdef7
2015-06-30 07:59:42 +01:00

104 lines
2.9 KiB
YAML

- job-template:
name: 'gate-designate-dsvm-{designate-driver}'
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_TIMEOUT=60
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export DEVSTACK_GATE_DESIGNATE_DRIVER="{designate-driver}"
export PROJECTS="openstack/designate $PROJECTS"
export PROJECTS="openstack/python-designateclient $PROJECTS"
export PROJECTS="openstack/designate-dashboard $PROJECTS"
function gate_hook {{
cd /opt/stack/new/designate/contrib/devstack
./gate_hook.sh
}}
export -f gate_hook
function pre_test_hook {{
cd /opt/stack/new/designate/contrib/devstack
./pre_test_hook.sh
}}
export -f pre_test_hook
function post_test_hook {{
cd /opt/stack/new/designate/contrib/devstack
./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:
- devstack-logs
- console-log
- job-template:
name: 'gate-designate-dsvm-{designate-driver}-postgres'
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_TIMEOUT=60
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export DEVSTACK_GATE_DESIGNATE_DRIVER="{designate-driver}"
export DEVSTACK_GATE_POSTGRES=1
export PROJECTS="openstack/designate $PROJECTS"
export PROJECTS="openstack/python-designateclient $PROJECTS"
export PROJECTS="openstack/designate-dashboard $PROJECTS"
function gate_hook {{
cd /opt/stack/new/designate/contrib/devstack
./gate_hook.sh
}}
export -f gate_hook
function pre_test_hook {{
cd /opt/stack/new/designate/contrib/devstack
./pre_test_hook.sh
}}
export -f pre_test_hook
function post_test_hook {{
cd /opt/stack/new/designate/contrib/devstack
./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:
- devstack-logs
- console-log