b1cb8e1272
The experimental job is working so far. It's ready to be moved to non-voting test queue. Change-Id: I87a8a03b70a3de67d07858a94964ac0123e95852
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
- job-template:
|
|
name: 'gate-barbican-{plugin}-devstack-dsvm{special}{suffix}'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 70
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export ENABLED_SERVICES='{services}'
|
|
export PROJECTS="openstack/barbican $PROJECTS"
|
|
export PROJECTS="openstack/python-barbicanclient $PROJECTS"
|
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin barbican git://git.openstack.org/openstack/barbican"
|
|
|
|
function gate_hook {{
|
|
$BASE/new/barbican/devstack/gate_hook.sh
|
|
}}
|
|
export -f gate_hook
|
|
|
|
function post_test_hook {{
|
|
cd /opt/stack/new/barbican/functionaltests
|
|
./post_test_hook.sh
|
|
}}
|
|
export -f post_test_hook
|
|
|
|
if [ "{special}" == "-postgres" ] ; then
|
|
export DEVSTACK_GATE_POSTGRES=1
|
|
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
|