Add a PgSQL Designate DSVM Job
PostgreSQL support in Designate has been very hit and miss due to not having a gate ensuring all reviews are functional against PgSQL. We add a new experimental gate for only the PowerDNS backend, as it will exercise both the Designate and PowerDNS database inteactions. Change-Id: I09229b3db19c92e7af138c00eec67197e640558d
This commit is contained in:
parent
d5d80c5442
commit
9efdd223c6
@ -47,3 +47,55 @@
|
||||
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"
|
||||
|
||||
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
|
||||
|
@ -118,6 +118,10 @@
|
||||
designate-driver:
|
||||
- powerdns
|
||||
- bind9
|
||||
- 'gate-designate-dsvm-{designate-driver}-postgres':
|
||||
node: 'devstack-precise || devstack-trusty'
|
||||
designate-driver:
|
||||
- powerdns
|
||||
|
||||
- project:
|
||||
name: designate-specs
|
||||
|
@ -1220,6 +1220,8 @@ projects:
|
||||
- gate-designate-dsvm-bind9
|
||||
post:
|
||||
- designate-coverage
|
||||
experimental:
|
||||
- gate-designate-dsvm-powerdns-postgres
|
||||
|
||||
- name: openstack/designate-specs
|
||||
template:
|
||||
|
Loading…
x
Reference in New Issue
Block a user