Add devstack check job for python-ironic-inspector-client
This is essentially identical to existing check-ironic-inspector-dsvm but is using client from git. Change-Id: Ic7b5c37388c029aed1c250a30dcec664a7c232ee
This commit is contained in:
parent
173dc753d5
commit
a31c020ce2
|
@ -117,3 +117,47 @@
|
||||||
publishers:
|
publishers:
|
||||||
- devstack-logs
|
- devstack-logs
|
||||||
- console-log
|
- console-log
|
||||||
|
|
||||||
|
- job-template:
|
||||||
|
name: '{pipeline}-python-ironic-inspector-client-dsvm{branch-designator}'
|
||||||
|
node: '{node}'
|
||||||
|
|
||||||
|
wrappers:
|
||||||
|
- build-timeout:
|
||||||
|
timeout: 125
|
||||||
|
- timestamps
|
||||||
|
|
||||||
|
builders:
|
||||||
|
- link-logs
|
||||||
|
- net-info
|
||||||
|
- devstack-checkout
|
||||||
|
- shell: |
|
||||||
|
#!/bin/bash -xe
|
||||||
|
export PYTHONUNBUFFERED=true
|
||||||
|
export DEVSTACK_GATE_TIMEOUT=60
|
||||||
|
export DEVSTACK_GATE_TEMPEST=0
|
||||||
|
export DEVSTACK_GATE_IRONIC=1
|
||||||
|
export DEVSTACK_GATE_NEUTRON=1
|
||||||
|
export DEVSTACK_GATE_VIRT_DRIVER=ironic
|
||||||
|
export BRANCH_OVERRIDE={branch-override}
|
||||||
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
||||||
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
||||||
|
fi
|
||||||
|
export DEVSTACK_PROJECT_FROM_GIT="python-ironic-inspector-client"
|
||||||
|
|
||||||
|
export PROJECTS="openstack/python-ironic-inspector-client $PROJECTS"
|
||||||
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin ironic-inspector https://git.openstack.org/openstack/ironic-inspector"
|
||||||
|
|
||||||
|
function post_test_hook {{
|
||||||
|
source $BASE/new/devstack/openrc admin admin
|
||||||
|
cd /opt/stack/new/ironic-inspector
|
||||||
|
sudo -E -u stack ./devstack/exercise.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
|
||||||
|
|
|
@ -1212,6 +1212,11 @@
|
||||||
- pypi-jobs
|
- pypi-jobs
|
||||||
- gate-{name}-tox-{envlist}:
|
- gate-{name}-tox-{envlist}:
|
||||||
envlist: func
|
envlist: func
|
||||||
|
- '{pipeline}-python-ironic-inspector-client-dsvm{branch-designator}':
|
||||||
|
pipeline: gate
|
||||||
|
node: 'devstack-precise || devstack-trusty'
|
||||||
|
branch-designator: '-nv'
|
||||||
|
branch-override: default
|
||||||
|
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
|
|
|
@ -2734,6 +2734,7 @@ projects:
|
||||||
- gate-python-ironic-inspector-client-pep8
|
- gate-python-ironic-inspector-client-pep8
|
||||||
- gate-python-ironic-inspector-client-python27
|
- gate-python-ironic-inspector-client-python27
|
||||||
- gate-python-ironic-inspector-client-tox-func
|
- gate-python-ironic-inspector-client-tox-func
|
||||||
|
- gate-python-ironic-inspector-client-dsvm-nv
|
||||||
gate:
|
gate:
|
||||||
- gate-python-ironic-inspector-client-pep8
|
- gate-python-ironic-inspector-client-pep8
|
||||||
- gate-python-ironic-inspector-client-python27
|
- gate-python-ironic-inspector-client-python27
|
||||||
|
|
Loading…
Reference in New Issue