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
This commit is contained in:
Sagi Shnaidman 2020-09-24 14:46:03 +03:00
parent a67272d1f5
commit a6b52612de
2 changed files with 4 additions and 1 deletions

View File

@ -197,6 +197,7 @@
- job: - job:
name: openstack-tox-linters-ansible-devel name: openstack-tox-linters-ansible-devel
parent: openstack-tox-linters parent: openstack-tox-linters
nodeset: ubuntu-bionic
description: | description: |
Run openstack collections linter tests using the devel branch of ansible Run openstack collections linter tests using the devel branch of ansible
# non-voting because we can't prevent ansible devel from breaking us # non-voting because we can't prevent ansible devel from breaking us
@ -208,6 +209,7 @@
- job: - job:
name: openstack-tox-linters-ansible-2.10 name: openstack-tox-linters-ansible-2.10
parent: openstack-tox-linters parent: openstack-tox-linters
nodeset: ubuntu-bionic
description: | description: |
Run openstack collections linter tests using the 2.10 branch of ansible Run openstack collections linter tests using the 2.10 branch of ansible
voting: true voting: true
@ -218,6 +220,7 @@
- job: - job:
name: openstack-tox-linters-ansible-2.9 name: openstack-tox-linters-ansible-2.9
parent: openstack-tox-linters parent: openstack-tox-linters
nodeset: ubuntu-bionic
description: | description: |
Run openstack collections linter tests using the 2.9 branch of ansible Run openstack collections linter tests using the 2.9 branch of ansible
voting: true voting: true

View File

@ -1,5 +1,5 @@
openstacksdk openstacksdk
ansible ansible<2.10
pycodestyle pycodestyle
flake8 flake8
pylint pylint