Fix CI issues
* Added infrared_plugin/main.yml to exclude path as ansible-lint fails as infrared_plugin/main.yml:5:3: syntax-check[specific]: The field 'hosts' has an invalid value, which includes an undefined variable. The error was: 'other' is undefined. 'other' is undefined * Bump version on ansible-lint * Set upper limit for tox as version 4 is not well compatible yet Change-Id: Id60cb45a96a8080c4257d33a0739d0972978045d
This commit is contained in:
parent
e861134a9d
commit
6815b0fb1f
@ -1,5 +1,7 @@
|
||||
---
|
||||
parseable: true
|
||||
exclude_paths:
|
||||
- infrared_plugin/main.yml
|
||||
skip_list:
|
||||
# Add skips here only as last resort, like:
|
||||
- role-name
|
||||
|
@ -28,7 +28,7 @@ repos:
|
||||
- flake8-black>=0.1.1
|
||||
language_version: python3
|
||||
- repo: https://github.com/ansible/ansible-lint.git
|
||||
rev: v5.3.2
|
||||
rev: v6.16.2
|
||||
hooks:
|
||||
- id: ansible-lint
|
||||
always_run: true
|
||||
|
1
tox.ini
1
tox.ini
@ -5,6 +5,7 @@ envlist = docs, linters, molecule
|
||||
skipsdist = True
|
||||
requires =
|
||||
tox-ansible >= 1.5.3
|
||||
tox<4
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
|
@ -14,8 +14,8 @@
|
||||
parent: tox
|
||||
vars:
|
||||
tox_envlist: units # dynamic tox env added by tox-ansible
|
||||
# we want to run sanity only on py36 instead of implicit 2.6-3.9 range
|
||||
# tox_extra_args: -- --python 3.6
|
||||
# we want to run sanity only on py3.10 instead of implicit 2.6-3.9 range
|
||||
tox_extra_args: -- --python 3.10
|
||||
|
||||
- job:
|
||||
name: zuul-ansible-role-collect-logs
|
||||
|
Loading…
Reference in New Issue
Block a user