cd9396931a
Change-Id: I0239f6a2539d7db190f296ec918a5ce4f02998e4
101 lines
2.8 KiB
YAML
101 lines
2.8 KiB
YAML
- job-template:
|
|
name: '{pipeline}-zun-devstack-dsvm-{driver}-{db}{suffix}'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 70
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=0
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
|
|
# Enable tempest for tempest plugin
|
|
export ENABLED_SERVICES=tempest
|
|
|
|
export PROJECTS="openstack/zun $PROJECTS"
|
|
export PROJECTS="openstack/python-zunclient $PROJECTS"
|
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin zun git://git.openstack.org/openstack/zun"
|
|
|
|
# Keep localrc to be able to set some vars in post_test_hook
|
|
export KEEP_LOCALRC=1
|
|
|
|
function gate_hook {{
|
|
cd /opt/stack/new/zun/
|
|
./devstack/gate_hook.sh {driver} {db}
|
|
}}
|
|
export -f gate_hook
|
|
|
|
function post_test_hook {{
|
|
source $BASE/new/devstack/accrc/admin/admin
|
|
cd /opt/stack/new/zun/
|
|
./zun/tests/contrib/post_test_hook.sh {driver}
|
|
}}
|
|
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: '{pipeline}-zunclient-devstack-dsvm-{driver}-{db}{suffix}'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 70
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=0
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
|
|
# Enable tempest for tempest plugin
|
|
export ENABLED_SERVICES=tempest
|
|
|
|
export PROJECTS="openstack/zun $PROJECTS"
|
|
export PROJECTS="openstack/python-zunclient $PROJECTS"
|
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin zun git://git.openstack.org/openstack/zun"
|
|
|
|
# Keep localrc to be able to set some vars in post_test_hook
|
|
export KEEP_LOCALRC=1
|
|
|
|
function gate_hook {{
|
|
cd /opt/stack/new/zun/
|
|
./devstack/gate_hook.sh {driver} {db}
|
|
}}
|
|
export -f gate_hook
|
|
|
|
function post_test_hook {{
|
|
source $BASE/new/devstack/accrc/admin/admin
|
|
cd /opt/stack/new/python-zunclient/
|
|
./zunclient/tests/functional/hooks/post_test_hook.sh {driver}
|
|
}}
|
|
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
|