0109c93059
Use devstack-gate variable DEVSTACK_PROJECT_FROM_GIT instead of devstack variable LIBS_FROM_GIT. In this case, we do not need to set PROJECTS variable and can thus avoid some duplication. In barbican.yaml: Rework several if conditions into elifs since only one of these can be true - this makes it easy to see that we do not override DEVSTACK_PROJECT_FROM_GIT wrongly. Change-Id: Ib7b187ab9d44d76a007abc23a0feafaab1855030
40 lines
1.2 KiB
YAML
40 lines
1.2 KiB
YAML
- job:
|
|
name: gate-castellan-dsvm-functional
|
|
node: ubuntu-xenial
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 70
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export ENABLED_SERVICES=tempest,keystone
|
|
export PROJECTS="openstack/barbican $PROJECTS"
|
|
export PROJECTS="openstack/barbican-tempest-plugin $PROJECTS"
|
|
export PROJECTS="openstack/castellan $PROJECTS"
|
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin barbican git://git.openstack.org/openstack/barbican"
|
|
export DEVSTACK_PROJECT_FROM_GIT="python-barbicanclient"
|
|
|
|
function gate_hook {
|
|
$BASE/new/castellan/castellan/tests/contrib/gate_hook.sh
|
|
}
|
|
export -f gate_hook
|
|
|
|
function post_test_hook {
|
|
$BASE/new/castellan/castellan/tests/contrib/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
|