[Zun] Add py35 dsvm non-voting job

This is for community goal python35. Introduce a py35 dsvm job
for running tempest tests. The job starts as non-voting and will
be turned into voting later.

Change-Id: I3c05c6ff575a9f7e06394e573163fb7d2979cd9d
This commit is contained in:
Hongbin Lu 2017-07-31 22:23:22 +00:00
parent d6be65c05e
commit 4b3dec1933
3 changed files with 64 additions and 0 deletions

View File

@ -15590,6 +15590,13 @@
db: 'sql'
branch-override: default
suffix: ''
- '{pipeline}-zun-devstack-dsvm-py35-{driver}-{db}{suffix}':
pipeline: gate
node: ubuntu-xenial
driver: 'docker'
db: 'sql'
branch-override: default
suffix: '-nv'
- '{pipeline}-zun-devstack-dsvm-{driver}-{db}{suffix}':
pipeline: gate
node: ubuntu-xenial

View File

@ -54,6 +54,62 @@
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-zun-devstack-dsvm-py35-{driver}-{db}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin zun git://git.openstack.org/openstack/zun
- shell: |
#!/bin/bash -xe
export DEVSTACK_GATE_USE_PYTHON3=True
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_NEUTRON=1
# Enable tempest for tempest plugin
export ENABLED_SERVICES=tempest
export PROJECTS="openstack/zun $PROJECTS"
export PROJECTS="openstack/kuryr-libnetwork $PROJECTS"
export PROJECTS="openstack/python-zunclient $PROJECTS"
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 {{
cd /opt/stack/new/zun/
./zun/tests/contrib/gate_hook.sh {driver} {db}
}}
export -f gate_hook
function post_test_hook {{
source $BASE/new/devstack/accrc/admin/admin
cd /opt/stack/new/zun/
./zun/tests/contrib/post_test_hook.sh {driver}
}}
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
- job-template:
name: '{pipeline}-zunclient-devstack-dsvm-{driver}-{db}{suffix}'
node: '{node}'

View File

@ -18664,6 +18664,7 @@ projects:
- name: check-requirements
check:
- gate-zun-devstack-dsvm-docker-sql
- gate-zun-devstack-dsvm-py35-docker-sql-nv
- gate-tempest-dsvm-zun-multinode-docker-sql-ubuntu-xenial-nv
gate:
- gate-zun-devstack-dsvm-docker-sql