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:
Kaitlin Farr 2017-01-16 11:32:45 -05:00
parent 463652ad0f
commit cda4afb2b3
3 changed files with 52 additions and 2 deletions

View File

@ -80,3 +80,45 @@
publishers: publishers:
- devstack-logs - devstack-logs
- console-log - 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

View File

@ -396,8 +396,14 @@
jobs: jobs:
- gate-{name}-pep8-{node}: - gate-{name}-pep8-{node}:
node: node: ubuntu-xenial
- ubuntu-xenial - '{pipeline}-barbican-{plugin}-dsvm-tempest{special}-{node}{suffix}':
pipeline: gate
plugin: simple-crypto
branch-override: default
special: ''
suffix: ''
node: ubuntu-xenial
- project: - project:
name: bareon name: bareon

View File

@ -5582,6 +5582,8 @@ projects:
- gate-barbican-tempest-plugin-pep8-ubuntu-xenial - gate-barbican-tempest-plugin-pep8-ubuntu-xenial
gate: gate:
- gate-barbican-tempest-plugin-pep8-ubuntu-xenial - gate-barbican-tempest-plugin-pep8-ubuntu-xenial
experimental:
- gate-barbican-simple-crypto-dsvm-tempest-ubuntu-xenial
- name: openstack/bareon - name: openstack/bareon
template: template: