updated yamllint in ci

This commit is contained in:
Bastian de Byl
2023-07-24 15:25:47 -04:00
parent 62a3f5d551
commit 0266439999
4 changed files with 6 additions and 11 deletions

View File

@@ -5,10 +5,10 @@ name: default
steps:
- name: lint
image: bdebyl/yamllint
image: docker.io/bdebyl/yamllint:1.0.87
pull: always
command:
- make lint-ci
- yamllint ansible/
trigger:
event:
@@ -16,6 +16,6 @@ trigger:
- pull_request
---
kind: signature
hmac: 12a8371679582716620cf0d32554684aabb0e86bdda3c849eca3e9dc55738b84
hmac: 082ae2026ee2c326e1b088e1ee9739af23a3fdf3585dd9bc3fc5c033084be840
...

View File

@@ -67,8 +67,4 @@ vault: ${ANSIBLE_VAULT} ${VAULT_FILE}
lint: ${LINT_YAML} ${SKIP_FILE}
@printf "Running yamllint...\n"
-@${LINT_YAML} ${YAML_FILES}
lint-ci: ${SKIP_FILE}
@printf "Running yamllint...\n"
@yamllint ${YAML_FILES}
-@${LINT_YAML} ${YAML_FILES}

View File

@@ -31,5 +31,4 @@ updates in newest versions, etc._)
| `deploy` | Deploys everything, or only tasks specified in `TAGS=` environment variable |
| `check` | Runs `deploy` in a "dry-run", showing diff-style outputs on tasks indicating changes |
| `vault` | Opens the Ansible vault file for editing |
| `lint-ci` | Meant for use with `bdebyl/yamllint` (_see `.drone.yml`_) |

View File

@@ -1,2 +1,2 @@
ansible
yamllint
ansible==8.2.0
yamllint==1.32.0