updated yamllint in ci
This commit is contained in:
@@ -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
|
||||
|
||||
...
|
||||
|
||||
4
Makefile
4
Makefile
@@ -68,7 +68,3 @@ 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}
|
||||
|
||||
@@ -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`_) |
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
ansible
|
||||
yamllint
|
||||
ansible==8.2.0
|
||||
yamllint==1.32.0
|
||||
|
||||
Reference in New Issue
Block a user