bfedf51151
With Juno EOL, we do not need to check for stable/juno anymore. Remove handling of stable/juno from jenkins jobs. Also remove special -juno jobs from both jenkins and zuul for trove and devstack-gate. Change-Id: I41f31ea1f15ffe71b57197040dac3bb447900dad
146 lines
4.6 KiB
YAML
146 lines
4.6 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"
|
|
|
|
if [[ "stable/kilo stable/liberty" =~ $ZUUL_BRANCH ]]; then
|
|
# Kilo/Liberty version uses the older 'hooks' approach to adding
|
|
# the Designate plugin
|
|
|
|
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
|
|
|
|
else
|
|
# Otherwise, enable the Designate devstack plugin.
|
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin designate git://git.openstack.org/openstack/designate"
|
|
|
|
function gate_hook {{
|
|
cd /opt/stack/new/designate/devstack/gate
|
|
./gate_hook.sh
|
|
}}
|
|
export -f gate_hook
|
|
|
|
function post_test_hook {{
|
|
cd /opt/stack/new/designate/devstack/gate
|
|
./post_test_hook.sh
|
|
}}
|
|
export -f post_test_hook
|
|
fi
|
|
|
|
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"
|
|
|
|
if [[ "stable/kilo stable/liberty" =~ $ZUUL_BRANCH ]]; then
|
|
# Kilo/Liberty version uses the older 'hooks' approach to adding
|
|
# the Designate plugin
|
|
|
|
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
|
|
|
|
else
|
|
# Otherwise, enable the Designate devstack plugin.
|
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin designate git://git.openstack.org/openstack/designate"
|
|
|
|
function gate_hook {{
|
|
cd /opt/stack/new/designate/devstack/gate
|
|
./gate_hook.sh
|
|
}}
|
|
export -f gate_hook
|
|
|
|
function post_test_hook {{
|
|
cd /opt/stack/new/designate/devstack/gate
|
|
./post_test_hook.sh
|
|
}}
|
|
export -f post_test_hook
|
|
fi
|
|
|
|
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
|