The upstream openvswitch collection has been deprecated and was not included in newer Ansible (like Ansible 11). Since jobs switched to Ansible jobs relying on these tasks are failing. This patch switches to use ovs bridge command same as add-port in next tasks. Also add the role to irrelevant-files as single node jobs need not run on multi node role changes. Also fixed pre-commit error by switching to fix-byte-order-marker. Change-Id: Ie3a40efed5e132aee53dce3db6522c551897b5f7 Signed-off-by: Yatin Karel <ykarel@redhat.com>
31 lines
760 B
YAML
31 lines
760 B
YAML
---
|
|
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: check-added-large-files
|
|
- id: fix-byte-order-marker
|
|
- id: check-case-conflict
|
|
- id: check-executables-have-shebangs
|
|
- id: check-merge-conflict
|
|
- id: check-symlinks
|
|
- id: check-yaml
|
|
- id: detect-private-key
|
|
- id: end-of-file-fixer
|
|
- id: forbid-new-submodules
|
|
- id: requirements-txt-fixer
|
|
args: [linters-requirements.txt]
|
|
- id: trailing-whitespace
|
|
|
|
- repo: https://github.com/adrienverge/yamllint.git
|
|
rev: v1.37.1
|
|
hooks:
|
|
- id: yamllint
|
|
files: \.(yaml|yml)$
|
|
|
|
- repo: https://opendev.org/openstack/bashate.git
|
|
rev: 2.1.1
|
|
hooks:
|
|
- id: bashate
|