Add a dsvm job for devstack-plugin-container

Change-Id: I31106c71c6ee4bdbb80d16803b322b1c60357187
This commit is contained in:
Hongbin Lu 2017-04-20 16:45:42 -04:00
parent 840862348f
commit c2da4caf96
3 changed files with 64 additions and 1 deletions

View File

@ -0,0 +1,50 @@
- job-template:
name: '{pipeline}-devstack-plugin-container-dsvm{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin devstack-plugin-container git://git.openstack.org/openstack/devstack-plugin-container
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/devstack-plugin-container $PROJECTS"
# Keep localrc to be able to set some vars in post_test_hook
export KEEP_LOCALRC=1
function gate_hook {{
bash -xe $BASE/new/devstack-plugin-container/contrib/gate_hook.sh
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/devstack-plugin-container/contrib/post_test_hook.sh fullstack
}}
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:
- test-results
- devstack-logs
- console-log

View File

@ -3879,6 +3879,16 @@
suffix: ''
branch-override: default
- project:
name: devstack-plugin-container
jobs:
- '{pipeline}-devstack-plugin-container-dsvm{suffix}':
pipeline: gate
node: ubuntu-xenial
suffix: '-nv'
branch-override: default
- project:
name: devstack-plugin-glusterfs

View File

@ -8892,7 +8892,10 @@ projects:
- name: openstack/devstack-plugin-container
template:
- name: merge-check
- name: noop-jobs
check:
- gate-devstack-plugin-container-dsvm-nv
gate:
- noop
- name: openstack/devstack-plugin-glusterfs
template: