Add workaround for the ansible-lint installation failure

https://bugs.launchpad.net/tripleo/+bug/1848512

Change-Id: I0d19327a576646e40228b3e622280501c3b9e229
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This commit is contained in:
Gael Chamoulaud 2019-10-18 12:40:19 +02:00
parent 714c18f1dd
commit bcfaf81332
No known key found for this signature in database
GPG Key ID: 00776A4BA7F4B301
2 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
rev: v2.3.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
@ -22,7 +22,7 @@ repos:
types: [file, yaml]
entry: yamllint --strict -f parsable
- repo: https://github.com/ansible/ansible-lint
rev: v4.1.0a0
rev: v4.1.1a0
hooks:
- id: ansible-lint
files: \.(yaml|yml)$

View File

@ -5,7 +5,7 @@ skipdist = True
[testenv]
usedevelop = True
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
install_command = pip install {opts} {packages}
passenv = *
setenv =
VIRTUAL_ENV={envdir}
@ -82,6 +82,8 @@ commands =
[testenv:linters]
deps =
# workaround for https://github.com/ansible/ansible-lint/issues/590
virtualenv==16.3.0 # 16.7.6 not working
-r {toxinidir}/requirements.txt
-r {toxinidir}/test-requirements.txt
-r {toxinidir}/molecule-requirements.txt