Use openstack-python3-zed-jobs template

Since Python 2.7 is gone EOL long time ago and C7 train is no
longer maintained, so removing it.

Python-3.6 is no longer works with Zed release so dropping it
and switching it to zed template.

From tox sanity environment, ansible-core-2.13 is getting
installed. In order to override that, we need to strictly
define it under tox sanity environment.

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: Id9b01070b8d187b85b9efade4af548871b2ad369
This commit is contained in:
Chandan Kumar (raukadah) 2022-06-01 14:19:02 +05:30
parent cbbdde6cb6
commit c2e8943839
2 changed files with 7 additions and 16 deletions

View File

@ -83,6 +83,12 @@ commands =
allowlist_externals =
sh
# https://github.com/ansible-community/tox-ansible/issues/96
# Override ansible version coming from ansible-test package.
[testenv:sanity]
deps =
ansible-core>=2.11,<2.12
[testenv:molecule]
description = Used by all molecule jobs (tox-ansible)
deps =

View File

@ -1,15 +1,3 @@
- job:
name: tox-sanity-py27
description: Run ansible-test sanity tests on a collection
parent: openstack-tox-py27
vars:
tox_envlist: sanity
- job:
name: tox-sanity-py36
description: Run ansible-test sanity tests on a collection
parent: openstack-tox-py36
vars:
tox_envlist: sanity
- job:
name: tox-sanity-py39
description: Run ansible-test sanity tests on a collection
@ -20,7 +8,7 @@
templates:
- check-requirements
- openstack-cover-jobs
- openstack-python3-wallaby-jobs
- openstack-python3-zed-jobs
check:
jobs:
- openstack-tox-pep8:
@ -31,13 +19,10 @@
- tripleo-buildimage-overcloud-hardened-uefi-full-centos-9:
dependencies: &deps_unit_lint_cprovider
- openstack-tox-pep8
- openstack-tox-py36
- openstack-tox-py38
- openstack-tox-py39
- tripleo-ci-centos-9-content-provider:
dependencies: *deps_unit_lint_cprovider
- tox-sanity-py27
- tox-sanity-py36
- tox-sanity-py39
gate:
jobs: