mirror of
https://github.com/RWejlgaard/pez-infra.git
synced 2026-05-06 04:14:43 +00:00
fix ansible-lint yaml nitpicks
- rules-warning.yml: remove trailing blank line - pr-test.yml: quote 'on' key for yaml truthy, add newline at EOF - add .yamllint config to ignore SOPS-encrypted secrets (line-length unfixable without re-encrypting)
This commit is contained in:
parent
737d6e0bc1
commit
269f1b2274
3 changed files with 13 additions and 3 deletions
11
ansible/.yamllint
Normal file
11
ansible/.yamllint
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
extends: default
|
||||
|
||||
rules:
|
||||
line-length:
|
||||
max: 160
|
||||
truthy:
|
||||
allowed-values: ["true", "false"]
|
||||
|
||||
ignore:
|
||||
- group_vars/all/secrets.enc.yaml
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
name: PR Test
|
||||
|
||||
on:
|
||||
"on":
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
|
@ -27,4 +27,4 @@ jobs:
|
|||
|
||||
- name: Only build
|
||||
run: |
|
||||
docker buildx build --platform linux/amd64 --output "type=image,push=false" -f tests/Dockerfile-${{ matrix.distro }} .
|
||||
docker buildx build --platform linux/amd64 --output "type=image,push=false" -f tests/Dockerfile-${{ matrix.distro }} .
|
||||
|
|
|
|||
|
|
@ -239,4 +239,3 @@ groups:
|
|||
labels:
|
||||
severity: warning
|
||||
isPaused: false
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue