Put setup.* file under irrelevant files

https://opendev.org/openstack/tripleo-ci/src/branch/master/zuul.d/base-upstream.yaml#L92
adds  ^setup.*$ under irrelevant-files and content-provider is parent
from tripleo-ci-base-standalone-standard and which parents from
tripleo-ci-base-standard.

Since setup.* files under irrelevant files so content provider will
not run and undercloud, upgrade and standalone job depends on that.

It leads to job freeze issue. Putting setup files under
irrelevant files fixes the issue.

Disable auto discovery as a workaround to fix
setuptools 61.0 issue[1]

[1]. https://github.com/pypa/setuptools/issues/3197
Related-Bug: #1966382


Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I43b88e356e1f6823f9febe47e9753cf3e5b176c6
This commit is contained in:
Chandan Kumar (raukadah) 2022-03-25 15:08:17 +05:30 committed by Sandeep Yadav
parent bacbabd0c2
commit cc3f50ba85
5 changed files with 6 additions and 3 deletions

View File

@ -17,4 +17,4 @@
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
setuptools.setup(setup_requires=['pbr'], pbr=True)
setuptools.setup(setup_requires=['pbr'], pbr=True, py_modules=[])

View File

@ -81,7 +81,7 @@
- ^roles/build-containers/.*$
- ^roles/oooci-build-images/.*$
- ^roles/tripleo-repos/.*$
- setup.cfg
- ^setup.*$
- ^spec/.*$
- ^vars/sova-patterns.yml$
- playbooks/quickstart-extras-standalone.yml # tripleo-quickstart-extras

View File

@ -67,6 +67,7 @@
- ^test-requirements.txt$
- ^vars/sova-patterns.yml$
- tox.ini
- ^setup.*$
- ^scripts/.*
# like parent but with requirements.txt and setup.py removed

View File

@ -23,6 +23,7 @@
- ^spec/.*$
- ^Puppetfile.*$
- tox.ini
- ^setup.*$
- ^roles/build-containers/.*$
- ^roles/oooci-build-images/.*$
- ^roles/tripleo-repos/.*$

View File

@ -17,7 +17,7 @@
- ^metadata.json$
- ^releasenotes/.*$
- ^test-requirements.txt$
- setup.cfg
- ^setup.*$
- ^spec/.*$
- ^Puppetfile.*$
- tox.ini
@ -58,6 +58,7 @@
- ^spec/.*$
- ^Puppetfile.*$
- tox.ini
- ^setup.*$
- ^roles/build-containers/.*$
- ^roles/oooci-build-images/.*$
- ^playbooks/deprecated/.*$