From b4426f731261fb215959b8300e32fb707d1ee507 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Mon, 7 Dec 2020 20:01:40 +0200 Subject: [PATCH] Bump virtualenv to version prior to 20.2.2 Recently released virtualenv breaks linter jobs. In order to prevent this we temporary fix it's version before this release Make centos-8 job non-voting as fixing centos 8.3 creates a circular dependancy on this patch. Change-Id: I1dc269944445a1493c0008d9f318db56d9f0274f --- run_tests_common.sh | 7 +++---- zuul.d/project.yaml | 8 ++++++++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/run_tests_common.sh b/run_tests_common.sh index 654724f9..f3559ff4 100755 --- a/run_tests_common.sh +++ b/run_tests_common.sh @@ -73,14 +73,13 @@ eval sudo ${pkg_mgr_cmd} ${pkg_list} PIP_EXEC_PATH=$(which pip3 || which pip) -# Install bindep and tox if [[ "${ID,,}" == "centos" ]] && [[ ${VERSION_ID} == "8" ]]; then sudo alternatives --set python /usr/bin/python3 - sudo "${PIP_EXEC_PATH}" install 'bindep>=2.4.0' tox -else - sudo "${PIP_EXEC_PATH}" install 'bindep>=2.4.0' tox fi +# Install bindep and tox +sudo "${PIP_EXEC_PATH}" install 'bindep>=2.4.0' tox 'virtualenv<20.2.2' + if [[ "${ID,,}" == "fedora" ]]; then sudo dnf -y install redhat-lsb-core yum-utils # openSUSE 42.1 does not have python-ndg-httpsclient diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index 7ddbf626..7bbedb93 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -19,3 +19,11 @@ - check-requirements - publish-openstack-docs-pti - release-notes-jobs-python3 + check: + jobs: + - openstack-ansible-functional-centos-8: + voting: false + gate: + jobs: + - openstack-ansible-functional-centos-8: + voting: false \ No newline at end of file