From a6b52612de01a3791142dfef9e71921294e4d16f Mon Sep 17 00:00:00 2001 From: Sagi Shnaidman Date: Thu, 24 Sep 2020 14:46:03 +0300 Subject: [PATCH] Fix linters for new ansible release Limit ansible to <2.10 in 2.9 jobs, run on ubuntu-bionic because it can provide python 3.6 Change-Id: I6d19842711f3af58449e056bee84a4c5614cd37e --- .zuul.yaml | 3 +++ test-requirements-2.9.txt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.zuul.yaml b/.zuul.yaml index 38c21019..a93118d5 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -197,6 +197,7 @@ - job: name: openstack-tox-linters-ansible-devel parent: openstack-tox-linters + nodeset: ubuntu-bionic description: | Run openstack collections linter tests using the devel branch of ansible # non-voting because we can't prevent ansible devel from breaking us @@ -208,6 +209,7 @@ - job: name: openstack-tox-linters-ansible-2.10 parent: openstack-tox-linters + nodeset: ubuntu-bionic description: | Run openstack collections linter tests using the 2.10 branch of ansible voting: true @@ -218,6 +220,7 @@ - job: name: openstack-tox-linters-ansible-2.9 parent: openstack-tox-linters + nodeset: ubuntu-bionic description: | Run openstack collections linter tests using the 2.9 branch of ansible voting: true diff --git a/test-requirements-2.9.txt b/test-requirements-2.9.txt index b657ee88..08007a64 100644 --- a/test-requirements-2.9.txt +++ b/test-requirements-2.9.txt @@ -1,5 +1,5 @@ openstacksdk -ansible +ansible<2.10 pycodestyle flake8 pylint