Fix Gnocchi py35 gate

This change allows to run custom tox target on ubuntu xenial

The Gnocchi jobs run some py35 jobs that are currently running on
trusty. But because it lacks of python3.5 we move them to xenial.

This fixes this Gnocchi gate issue:
http://logs.openstack.org/06/341606/5/check/gate-gnocchi-tox-db-py35-mysql/efda919/

Change-Id: I682b92a6baea6222d4e717b695f44c6ce8ff543e
This commit is contained in:
Mehdi Abaakouk 2016-07-19 14:38:47 +02:00
parent 4c3383a494
commit a8024e3fd4
3 changed files with 38 additions and 4 deletions

View File

@ -2669,6 +2669,9 @@
- py27-postgresql
- py34-mysql
- py34-postgresql
- gate-{name}-tox-db-{envlist}-{node}:
node: ubuntu-xenial
envlist:
- py35-mysql
- py35-postgresql
- pypi-jobs

View File

@ -437,6 +437,37 @@
- test-results
- console-log
- job-template:
name: 'gate-{name}-tox-db-{envlist}-{node}'
description: 'Same job as gate-{name}-tox-db-{envlist} but on node {node}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep-upper-constraints
- install-distro-packages
- mysql-prep
- pgsql-prep
- mysql-db:
db_name: openstack_citest
- pgsql-db:
db_name: openstack_citest
- revoke-sudo
- tox:
envlist: '{envlist}'
- assert-no-extra-files
publishers:
- test-results
- console-log
- job-template:
name: '{name}-tarball'
node: ubuntu-trusty

View File

@ -7121,8 +7121,8 @@ projects:
- gate-gnocchi-tox-db-py27-postgresql
- gate-gnocchi-tox-db-py34-mysql
- gate-gnocchi-tox-db-py34-postgresql
- gate-gnocchi-tox-db-py35-mysql
- gate-gnocchi-tox-db-py35-postgresql
- gate-gnocchi-tox-db-py35-mysql-ubuntu-xenial
- gate-gnocchi-tox-db-py35-postgresql-ubuntu-xenial
- gate-gnocchi-bashate
- gate-gnocchi-dsvm-functional-file-mysql
- gate-gnocchi-dsvm-functional-swift-postgresql
@ -7141,8 +7141,8 @@ projects:
- gate-gnocchi-tox-db-py27-postgresql
- gate-gnocchi-tox-db-py34-mysql
- gate-gnocchi-tox-db-py34-postgresql
- gate-gnocchi-tox-db-py35-mysql
- gate-gnocchi-tox-db-py35-postgresql
- gate-gnocchi-tox-db-py35-mysql-ubuntu-xenial
- gate-gnocchi-tox-db-py35-postgresql-ubuntu-xenial
- gate-gnocchi-bashate
- gate-gnocchi-dsvm-functional-file-mysql
- gate-gnocchi-dsvm-functional-swift-postgresql