Add job template for Barbican tempest plugin
Adds a job for barbican-tempest-plugin that will run DevStack, enable the Barbican Tempest plugin, and run just the Barbican tempest plugin tests Change-Id: I87b5f45b9658df5eb7578a64d5ac360e404859f8
This commit is contained in:
parent
463652ad0f
commit
cda4afb2b3
@ -80,3 +80,45 @@
|
||||
publishers:
|
||||
- devstack-logs
|
||||
- console-log
|
||||
|
||||
- job-template:
|
||||
name: '{pipeline}-barbican-{plugin}-dsvm-tempest{special}-{node}{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=1
|
||||
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
|
||||
export DEVSTACK_GATE_TEMPEST_REGEX=barbican
|
||||
|
||||
export BRANCH_OVERRIDE={branch-override}
|
||||
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
||||
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
||||
fi
|
||||
export PROJECTS="openstack/barbican $PROJECTS"
|
||||
export PROJECTS="openstack/python-barbicanclient $PROJECTS"
|
||||
export PROJECTS="openstack/barbican-tempest-plugin $PROJECTS"
|
||||
export DEVSTACK_LOCAL_CONFIG="enable_plugin barbican git://git.openstack.org/openstack/barbican"
|
||||
|
||||
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
|
||||
|
||||
|
@ -396,8 +396,14 @@
|
||||
|
||||
jobs:
|
||||
- gate-{name}-pep8-{node}:
|
||||
node:
|
||||
- ubuntu-xenial
|
||||
node: ubuntu-xenial
|
||||
- '{pipeline}-barbican-{plugin}-dsvm-tempest{special}-{node}{suffix}':
|
||||
pipeline: gate
|
||||
plugin: simple-crypto
|
||||
branch-override: default
|
||||
special: ''
|
||||
suffix: ''
|
||||
node: ubuntu-xenial
|
||||
|
||||
- project:
|
||||
name: bareon
|
||||
|
@ -5582,6 +5582,8 @@ projects:
|
||||
- gate-barbican-tempest-plugin-pep8-ubuntu-xenial
|
||||
gate:
|
||||
- gate-barbican-tempest-plugin-pep8-ubuntu-xenial
|
||||
experimental:
|
||||
- gate-barbican-simple-crypto-dsvm-tempest-ubuntu-xenial
|
||||
|
||||
- name: openstack/bareon
|
||||
template:
|
||||
|
Loading…
Reference in New Issue
Block a user