Add Python 3.6 tox jobs

Add a sample python 3.6 job running on a Fedora 26 node.

Create the job macros and definitions for a Python 3.6 job running on
Fedora 26.  Add to the low-turnover bashate project so we can run some
tests on a real project.

At this point, I have not templated it out futher.  We could add it to
templates like python-jobs and create groups in zuul/layout.yaml to
make it eaiser if required.

Change-Id: I04fab592032621325f8638680fc5c842f316684a
This commit is contained in:
Ian Wienand 2017-08-21 14:08:03 +10:00
parent 890fea6e7c
commit 5fe3ba9561
4 changed files with 34 additions and 0 deletions

View File

@ -659,6 +659,11 @@
builders:
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh py35"
- builder:
name: python36
builders:
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh py36"
- builder:
name: pypy
builders:

View File

@ -535,6 +535,8 @@
jobs:
- python-jobs
- 'gate-{name}-python36-{node}-nv':
node: fedora-26
- pypi-jobs
- openstack-publish-jobs
- openstack-releasenotes-jobs

View File

@ -305,6 +305,32 @@
node: ubuntu-xenial
# Initial Python3.6 testing.
- job-template:
name: 'gate-{name}-python36-{node}-nv'
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep-upper-constraints
- install-distro-packages
- extra-test-setup
- revoke-sudo
- python36
- assert-no-extra-files
publishers:
- test-results
- console-log
node: '{node}'
- job-template:
name: 'gate-{name}-pypy'

View File

@ -3640,6 +3640,7 @@ projects:
- name: release-notes-jobs
check:
- gate-bashate-devstack
- gate-bashate-python36-fedora-26-nv
- name: openstack-dev/ci-sandbox
template: