mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
pre-commit: add hook check-yaml (#9133)
https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#check-yaml
This commit is contained in:
parent
2daffa34f2
commit
57867dc6b0
@ -34,7 +34,7 @@ repos:
|
|||||||
- id: check-merge-conflict
|
- id: check-merge-conflict
|
||||||
- id: check-symlinks
|
- id: check-symlinks
|
||||||
- id: check-vcs-permalinks
|
- id: check-vcs-permalinks
|
||||||
#- id: check-yaml
|
- id: check-yaml
|
||||||
- id: destroyed-symlinks
|
- id: destroyed-symlinks
|
||||||
- id: detect-aws-credentials
|
- id: detect-aws-credentials
|
||||||
args: [--allow-missing-credentials]
|
args: [--allow-missing-credentials]
|
||||||
|
|||||||
@ -21,7 +21,7 @@ users:
|
|||||||
- name: cloud
|
- name: cloud
|
||||||
sudo: ALL=(ALL) NOPASSWD:ALL
|
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||||
shell: /bin/bash
|
shell: /bin/bash
|
||||||
ssh_authorized_keys:
|
ssh_authorized_keys: |
|
||||||
{{ k8s.ssh.pub.key }}
|
{{ k8s.ssh.pub.key }}
|
||||||
|
|
||||||
write_files:
|
write_files:
|
||||||
|
|||||||
@ -21,7 +21,7 @@ users:
|
|||||||
- name: cloud
|
- name: cloud
|
||||||
sudo: ALL=(ALL) NOPASSWD:ALL
|
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||||
shell: /bin/bash
|
shell: /bin/bash
|
||||||
ssh_authorized_keys:
|
ssh_authorized_keys: |
|
||||||
{{ k8s.ssh.pub.key }}
|
{{ k8s.ssh.pub.key }}
|
||||||
|
|
||||||
write_files:
|
write_files:
|
||||||
|
|||||||
@ -21,7 +21,7 @@ users:
|
|||||||
- name: cloud
|
- name: cloud
|
||||||
sudo: ALL=(ALL) NOPASSWD:ALL
|
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||||
shell: /bin/bash
|
shell: /bin/bash
|
||||||
ssh_authorized_keys:
|
ssh_authorized_keys: |
|
||||||
{{ k8s.ssh.pub.key }}
|
{{ k8s.ssh.pub.key }}
|
||||||
|
|
||||||
write_files:
|
write_files:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user