Browse Source
pre-commit: fix hooks dependencies
- ansible-syntax-check
- tox-inventory-builder
- jinja-syntax-check
pull/11244/head
Max Gautier
10 months ago
Failed to extract signature
1 changed files with
5 additions and
1 deletions
-
.pre-commit-config.yaml
|
|
@ -52,12 +52,16 @@ repos: |
|
|
|
entry: env ANSIBLE_INVENTORY=inventory/local-tests.cfg ANSIBLE_REMOTE_USER=root ANSIBLE_BECOME="true" ANSIBLE_BECOME_USER=root ANSIBLE_VERBOSITY="3" ansible-playbook --syntax-check |
|
|
|
language: python |
|
|
|
files: "^cluster.yml|^upgrade-cluster.yml|^reset.yml|^extra_playbooks/upgrade-only-k8s.yml" |
|
|
|
additional_dependencies: |
|
|
|
- ansible==9.5.1 |
|
|
|
|
|
|
|
- id: tox-inventory-builder |
|
|
|
name: tox-inventory-builder |
|
|
|
entry: bash -c "cd contrib/inventory_builder && tox" |
|
|
|
language: python |
|
|
|
pass_filenames: false |
|
|
|
additional_dependencies: |
|
|
|
- tox==4.15.0 |
|
|
|
|
|
|
|
- id: check-readme-versions |
|
|
|
name: check-readme-versions |
|
|
@ -84,4 +88,4 @@ repos: |
|
|
|
types: |
|
|
|
- jinja |
|
|
|
additional_dependencies: |
|
|
|
- Jinja2 |
|
|
|
- jinja2 |