glance/.zuul.yaml
Brian Rosmaita 40bd312410 Remove py2 testing, jobs
Change tox.ini so that all jobs are python3, and add explicit
unit/functional testenvs for the two ussuri python runtimes
(3.6 and 3.7).

Remove py2 jobs from .zuul.yaml and redefine the periodic "tips"
jobs so that they are testing with the ussuri python runtimes.
Added nodeset: ubuntu-bionic to the abstract base jobs so that
py3.7 is available.

Co-authored-by: Ghanshyam Mann <gmann@ghanshyammann.com>
Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>

Closes-bug: #1853693
Change-Id: I15467c34fc8466fa1724c5401dc879ae77c1922d
2019-12-17 14:24:24 -05:00

322 lines
9.9 KiB
YAML

- job:
name: glance-dsvm-grenade-multinode
parent: legacy-dsvm-base-multinode
run: playbooks/legacy/glance-dsvm-grenade-multinode/run.yaml
post-run: playbooks/legacy/glance-dsvm-grenade-multinode/post.yaml
timeout: 10800
required-projects:
- openstack/grenade
- openstack/devstack-gate
- openstack/glance
- job:
name: glance-code-constants-check
parent: tox
description: |
Tests to catch when code constants have gotten out of sync.
vars:
tox_envlist: gateonly
irrelevant-files:
- ^(test-|)requirements.txt$
- ^lower-constraints.txt$
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^tox.ini$
- ^\.zuul\.yaml$
- job:
name: glance-tox-oslo-tips-base
parent: tox
abstract: true
nodeset: ubuntu-bionic
timeout: 2400
description: Abstract job for Glance vs. oslo libraries
# NOTE(rosmaita): we only need functional test jobs, oslo is
# already running periodic jobs using our unit tests. Those
# jobs are configured for glance in openstack/project-config/
# zuul.d/projects.yaml using the template 'periodic-jobs-with-oslo-master'
# which is defined in openstack/openstack-zuul-jobs/zuul.d/
# project-templates.yaml; the jobs the template refers to are
# defined in openstack/openstack-zuul-jobs/zuul.d/jobs.yaml
required-projects:
- name: openstack/debtcollector
- name: openstack/futurist
- name: openstack/oslo.concurrency
- name: openstack/oslo.config
- name: openstack/oslo.context
- name: openstack/oslo.db
- name: openstack/oslo.i18n
- name: openstack/oslo.log
- name: openstack/oslo.messaging
- name: openstack/oslo.middleware
- name: openstack/oslo.policy
- name: openstack/oslo.utils
- name: openstack/osprofiler
- name: openstack/stevedore
- name: openstack/taskflow
- job:
name: glance-tox-functional-py37-oslo-tips
parent: glance-tox-oslo-tips-base
description: |
Glance py37 functional tests vs. oslo libraries masters
vars:
python_version: 3.7
tox_envlist: functional-py37
- job:
name: glance-tox-functional-py36-oslo-tips
parent: glance-tox-oslo-tips-base
description: |
Glance py36 functional tests vs. oslo libraries masters
vars:
python_version: 3.6
tox_envlist: functional-py36
- job:
name: glance-tox-keystone-tips-base
parent: tox
abstract: true
nodeset: ubuntu-bionic
timeout: 2400
description: Abstract job for Glance vs. keystone
required-projects:
- name: openstack/keystoneauth
- name: openstack/keystonemiddleware
- name: openstack/python-keystoneclient
- job:
name: glance-tox-py37-keystone-tips
parent: glance-tox-keystone-tips-base
description: |
Glance py37 unit tests vs. keystone masters
vars:
python_version: 3.7
tox_envlist: py37
- job:
name: glance-tox-py36-keystone-tips
parent: glance-tox-keystone-tips-base
description: |
Glance py36 unit tests vs. keystone masters
vars:
python_version: 3.6
tox_envlist: py36
- job:
name: glance-tox-functional-py37-keystone-tips
parent: glance-tox-keystone-tips-base
description: |
Glance py37 functional tests vs. keystone masters
vars:
python_version: 3.7
tox_envlist: functional-py37
- job:
name: glance-tox-functional-py36-keystone-tips
parent: glance-tox-keystone-tips-base
description: |
Glance py36 functional tests vs. keystone masters
vars:
python_version: 3.6
tox_envlist: functional-py36
- job:
name: glance-tox-glance_store-tips-base
parent: tox
abstract: true
nodeset: ubuntu-bionic
timeout: 2400
description: Abstract job for Glance vs. glance_store
required-projects:
- name: openstack/glance_store
- job:
name: glance-tox-py37-glance_store-tips
parent: glance-tox-glance_store-tips-base
description: |
Glance py37 unit tests vs. glance_store master
vars:
python_version: 3.7
tox_envlist: py37
- job:
name: glance-tox-py36-glance_store-tips
parent: glance-tox-glance_store-tips-base
description: |
Glance py36 unit tests vs. glance_store master
vars:
python_version: 3.6
tox_envlist: py36
- job:
name: glance-tox-functional-py37-glance_store-tips
parent: glance-tox-glance_store-tips-base
description: |
Glance py37 functional tests vs. glance_store master
vars:
python_version: 3.7
tox_envlist: functional-py37
- job:
name: glance-tox-functional-py36-glance_store-tips
parent: glance-tox-glance_store-tips-base
description: |
Glance py36 functional tests vs. glance_store master
vars:
python_version: 3.6
tox_envlist: functional-py36
- job:
name: glance-tox-cursive-tips-base
parent: tox
abstract: true
nodeset: ubuntu-bionic
timeout: 2400
description: Abstract job for Glance vs. cursive and related libs
required-projects:
- name: x/cursive
- name: openstack/python-barbicanclient
- name: openstack/castellan
- job:
name: glance-tox-py37-cursive-tips
parent: glance-tox-cursive-tips-base
description: |
Glance py37 unit tests vs. cursive (and related libs) master
vars:
python_version: 3.7
tox_envlist: py37
- job:
name: glance-tox-py36-cursive-tips
parent: glance-tox-cursive-tips-base
description: |
Glance py36 unit tests vs. cursive (and related libs) master
vars:
python_version: 3.6
tox_envlist: py36
- job:
name: glance-tox-functional-py37-cursive-tips
parent: glance-tox-cursive-tips-base
description: |
Glance py37 functional tests vs. cursive (and related libs) master
vars:
python_version: 3.7
tox_envlist: functional-py37
- job:
name: glance-tox-functional-py36-cursive-tips
parent: glance-tox-cursive-tips-base
description: |
Glance py36 functional tests vs. cursive (and related libs) master
vars:
python_version: 3.6
tox_envlist: functional-py36
- project:
templates:
- check-requirements
- integrated-gate-storage
- openstack-lower-constraints-jobs
- openstack-python3-ussuri-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- openstack-tox-functional-py36
- openstack-tox-functional-py37
- glance-code-constants-check
- devstack-plugin-ceph-tempest:
voting: false
irrelevant-files: &tempest-irrelevant-files
- ^(test-|)requirements.txt$
- ^lower-constraints.txt$
- ^.*\.rst$
- ^api-ref/.*$
- ^glance/hacking/.*$
- ^glance/locale/.*$
- ^glance/tests/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^tools/.*$
- ^tox.ini$
- ^\.zuul\.yaml$
- tempest-integrated-storage:
irrelevant-files: *tempest-irrelevant-files
- grenade-py3:
irrelevant-files: *tempest-irrelevant-files
gate:
jobs:
- openstack-tox-functional-py36
- openstack-tox-functional-py37
- tempest-integrated-storage:
irrelevant-files: *tempest-irrelevant-files
- grenade-py3:
irrelevant-files: *tempest-irrelevant-files
experimental:
jobs:
- glance-tox-py37-glance_store-tips
- glance-tox-py36-glance_store-tips
- glance-tox-functional-py37-glance_store-tips
- glance-tox-functional-py36-glance_store-tips
- barbican-simple-crypto-devstack-tempest
- glance-dsvm-grenade-multinode
- devstack-plugin-ceph-tempest-py3:
irrelevant-files: *tempest-irrelevant-files
- tempest-pg-full:
irrelevant-files: *tempest-irrelevant-files
- tempest-full-py3-opensuse15:
irrelevant-files: *tempest-irrelevant-files
periodic:
jobs:
# NOTE(rosmaita): we only want the "tips" jobs to be run against
# master, hence the 'branches' qualifiers below. Without them, when
# a stable branch is cut, the tests would be run against the stable
# branch as well, which is pointless because these libraries are
# frozen (more or less) in the stable branches.
#
# The "tips" jobs can be removed from the stable branch .zuul.yaml
# files if someone is so inclined, but that would require manual
# maintenance, so we do not do it by default. Another option is
# to define these jobs in the openstack/project-config repo.
# That would make us less agile in adjusting these tests, so we
# aren't doing that either.
- glance-tox-functional-py37-oslo-tips:
branches: master
- glance-tox-functional-py36-oslo-tips:
branches: master
- glance-tox-py37-keystone-tips:
branches: master
- glance-tox-py36-keystone-tips:
branches: master
- glance-tox-functional-py37-keystone-tips:
branches: master
- glance-tox-functional-py36-keystone-tips:
branches: master
- glance-tox-py37-glance_store-tips:
branches: master
- glance-tox-py36-glance_store-tips:
branches: master
- glance-tox-functional-py37-glance_store-tips:
branches: master
- glance-tox-functional-py36-glance_store-tips:
branches: master
- glance-tox-py37-cursive-tips:
branches: master
- glance-tox-py36-cursive-tips:
branches: master
- glance-tox-functional-py37-cursive-tips:
branches: master
- glance-tox-functional-py36-cursive-tips:
branches: master