Add experimental py35 dsvm-nodepool job

This updates our dsvm-nodepool jobs to accept the python param, if
given we'll enable PYTHON3 support.

Change-Id: If02bdcc506089aeb1e3db6340e1370395c34338b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-05-18 16:06:22 -04:00
parent 9a99173a34
commit 74d366f3cf
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
3 changed files with 31 additions and 9 deletions

View File

@ -1,5 +1,5 @@
- job-template:
name: '{pipeline}-dsvm-nodepool{suffix}'
name: '{pipeline}-dsvm-nodepool{python}{suffix}'
node: '{node}'
wrappers:
@ -13,6 +13,9 @@
- devstack-checkout
- shell: |
#!/bin/bash -xe
if [ "{python}" == "-py35" ]; then
export DEVSTACK_GATE_USE_PYTHON3=true
fi
export PYTHONUNBUFFERED=true
# Disable tempest as nodepool is talking to the cloud not tempest.
export DEVSTACK_GATE_TEMPEST=0
@ -59,7 +62,7 @@
- console-log
- job-template:
name: '{pipeline}-dsvm-nodepool{images}-src{suffix}'
name: '{pipeline}-dsvm-nodepool{python}{images}-src{suffix}'
node: '{node}'
wrappers:
@ -73,6 +76,9 @@
- devstack-checkout
- shell: |
#!/bin/bash -xe
if [ "{python}" == "py35" ]; then
export DEVSTACK_GATE_USE_PYTHON3=true
fi
export PYTHONUNBUFFERED=true
# Disable tempest as nodepool is talking to the cloud not tempest.
export DEVSTACK_GATE_TEMPEST=0

View File

@ -4083,26 +4083,30 @@
python: python2
suffix: ''
tests: ''
- '{pipeline}-dsvm-nodepool{images}-src{suffix}':
- '{pipeline}-dsvm-nodepool{python}{images}-src{suffix}':
pipeline: gate
python: ''
node: ubuntu-xenial
images: '-debian'
suffix: '-nv'
branch-override: 'default'
- '{pipeline}-dsvm-nodepool{images}-src{suffix}':
- '{pipeline}-dsvm-nodepool{python}{images}-src{suffix}':
pipeline: gate
python: ''
node: ubuntu-xenial
images: '-opensuse'
suffix: '-nv'
branch-override: 'default'
- '{pipeline}-dsvm-nodepool{images}-src{suffix}':
- '{pipeline}-dsvm-nodepool{python}{images}-src{suffix}':
pipeline: gate
python: ''
node: ubuntu-xenial
images: '-redhat'
suffix: '-nv'
branch-override: 'default'
- '{pipeline}-dsvm-nodepool{images}-src{suffix}':
- '{pipeline}-dsvm-nodepool{python}{images}-src{suffix}':
pipeline: gate
python: ''
node: ubuntu-xenial
images: '-ubuntu'
suffix: '-nv'
@ -8541,17 +8545,27 @@
- 'gate-{name}-python35-nv'
- pypi-jobs
- infra-publish-jobs
- '{pipeline}-dsvm-nodepool{suffix}':
- '{pipeline}-dsvm-nodepool{python}{suffix}':
pipeline: gate
python: ''
node: ubuntu-xenial
suffix: ''
branch-override: 'default'
- '{pipeline}-dsvm-nodepool{images}-src{suffix}':
- '{pipeline}-dsvm-nodepool{python}{images}-src{suffix}':
pipeline: gate
python: ''
node: ubuntu-xenial
images: ''
suffix: '-nv'
branch-override: 'default'
- '{pipeline}-dsvm-nodepool{python}{images}-src{suffix}':
pipeline: gate
python: '-py35'
node: ubuntu-xenial
images: ''
suffix: '-nv'
branch-override: 'default'
- project:
name: nose-html-output
@ -14075,8 +14089,9 @@
node: ubuntu-xenial
suffix: '-nv'
branch-override: default
- '{pipeline}-dsvm-nodepool{images}-src{suffix}':
- '{pipeline}-dsvm-nodepool{python}{images}-src{suffix}':
pipeline: gate
python: ''
node: ubuntu-xenial
images: ''
suffix: ''

View File

@ -4345,6 +4345,7 @@ projects:
- nodepool-coverage-ubuntu-trusty
- nodepool-coverage-ubuntu-xenial
experimental:
- gate-dsvm-nodepool-py35-src-nv
- gate-zuul-nodepool
- name: openstack-infra/nose-html-output