Remove CentOS 7 based job

https://review.opendev.org/q/topic:ooo_c7_teardown is dropping
the c7 based jobs.

It also removes job definitions.

The last run https://zuul.openstack.org/builds?job_name=tripleo-ci-centos-7-undercloud-containers
was from 1 year ago.

We are removing these jobs as a part of ooo_c7_teardown[1].

Added py_modules=[] in setup.py to disable auto discovery
and fix linters job.

It also fixes tox molecule issues with no-changed-when
warning errors.

[1]. https://review.opendev.org/q/topic:ooo_c7_teardown

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I94d290321213ae0e097a9ac7d472878940edbafa
This commit is contained in:
Chandan Kumar (raukadah) 2022-04-27 15:04:26 +05:30
parent c17c316f23
commit 57da8455f1
5 changed files with 3 additions and 19 deletions

View File

@ -16,4 +16,5 @@ import setuptools
setuptools.setup(
setup_requires=['pbr'],
py_modules=[],
pbr=True)

View File

@ -183,6 +183,7 @@
retries: 10
delay: 5
until: docker_ready.rc == 0
changed_when: false
- name: mark docker configured
lineinfile:

View File

@ -19,6 +19,7 @@
--password "{{ lookup('dict', item.value).value }}"
loop: "{{ query('dict', container_registry_logins | default({})) }}"
register: registry_login_docker
changed_when: false
rescue:
- name: Failed login
debug:

View File

@ -1,15 +0,0 @@
- job:
description: Base ansible-role-container-registry job
name: ansible-role-container-registry-centos-7-base
nodeset: centos-7
parent: base
pre-run:
- zuul.d/playbooks/pre.yml
timeout: 1800
voting: true
- job:
description: Run molecule testing
name: ansible-role-container-registry-centos-7-molecule
parent: ansible-role-container-registry-centos-7-base
run:
- zuul.d/playbooks/run.yml

View File

@ -1,14 +1,10 @@
- project:
check:
jobs:
- ansible-role-container-registry-centos-7-molecule
- openstack-tox-linters
- tripleo-ci-centos-7-undercloud-containers
gate:
jobs:
- ansible-role-container-registry-centos-7-molecule
- openstack-tox-linters
- tripleo-ci-centos-7-undercloud-containers
post:
jobs:
- publish-openstack-python-branch-tarball