Merge "Add template for charm check and gate"

This commit is contained in:
Zuul 2020-07-14 15:40:58 +00:00 committed by Gerrit Code Review
commit 18175c771e
1 changed files with 25 additions and 3 deletions

View File

@ -457,6 +457,25 @@
required-projects: required-projects:
- openstack/neutron - openstack/neutron
- project-template:
name: openstack-python3-charm-jobs
description: |
Runs unit tests for an OpenStack Charm project under the CPython
version 3 releases designated for testing across OpenStack
releases.
check:
jobs:
- openstack-tox-pep8
- openstack-tox-py35
- openstack-tox-py36
- openstack-tox-py38
gate:
jobs:
- openstack-tox-pep8
- openstack-tox-py35
- openstack-tox-py36
- openstack-tox-py38
- project-template: - project-template:
name: openstack-python3-victoria-jobs name: openstack-python3-victoria-jobs
description: | description: |
@ -1657,7 +1676,8 @@
Run Python tests for charm projects. Run Python tests for charm projects.
This run py2.7 job and supposed to be used This run py2.7 job and supposed to be used
on stable branch until stable/train. Ussuri on stable branch until stable/train. Ussuri
onwards, py3 template should be used. onwards, py3 template should be used
(DEPRECATED FOR REMOVAL).
check: check:
jobs: jobs:
- openstack-tox-pep8 - openstack-tox-pep8
@ -1683,7 +1703,8 @@
- project-template: - project-template:
name: python35-charm-jobs name: python35-charm-jobs
description: | description: |
Run tox-pep8 and tox-py35 check and gate jobs. Run tox-pep8 and tox-py35 check and gate jobs
(DEPRECATED FOR REMOVAL).
check: check:
jobs: jobs:
- openstack-tox-pep8 - openstack-tox-pep8
@ -1696,7 +1717,8 @@
- project-template: - project-template:
name: python36-charm-jobs name: python36-charm-jobs
description: | description: |
Run tox-pep8 and tox-py36 check and gate jobs. Run tox-pep8 and tox-py36 check and gate jobs
(DEPRECATED FOR REMOVAL).
check: check:
jobs: jobs:
- openstack-tox-pep8 - openstack-tox-pep8