homeserver/.woodpecker/ansible-lint.yml

25 lines
878 B
YAML
Raw Normal View History

---
depends_on:
- gitleaks
steps:
ansible-lint:
chore(deps): update quay.io/ansible/creator-ee docker tag to v24 (#778) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [quay.io/ansible/creator-ee](https://github.com/ansible/creator-ee) | major | `v0.22.0` -> `v24.2.0` | --- ### Release Notes <details> <summary>ansible/creator-ee (quay.io/ansible/creator-ee)</summary> ### [`v24.2.0`](https://github.com/ansible/creator-ee/releases/tag/v24.2.0) [Compare Source](https://github.com/ansible/creator-ee/compare/v0.22.0...v24.2.0) #### Minor Changes - Bump ansible-lint from 6.22.2 to 24.2.0 in /\_build ([#&#8203;390](https://github.com/ansible/creator-ee/issues/390)) #### Bugfixes - bump molecule-plugins to 23.5.3 to fix [#&#8203;374](https://github.com/ansible/creator-ee/issues/374) ([#&#8203;385](https://github.com/ansible/creator-ee/issues/385)) [@&#8203;ng-bsy](https://github.com/ng-bsy) [@&#8203;audgirka](https://github.com/audgirka) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzUuMyIsInVwZGF0ZWRJblZlciI6IjM3LjE3NS4zIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=--> Reviewed-on: https://git.mgrote.net/mg/homeserver/pulls/778 Co-authored-by: Renovate Bot <renovate@mgrote.net> Co-committed-by: Renovate Bot <renovate@mgrote.net>
2024-02-09 11:04:46 +01:00
image: quay.io/ansible/creator-ee:v24.2.0
commands:
# Secrets
- echo $${SSHKEY} | base64 -d > ./id_ed25519 # woodpecker verschluckt linebreakes, daher mit base64 -w0 "kodiert"
- echo $${VAULTPASS} | base64 -d > ./vault-pass.yml # Name des Secrets in Großschreibung
- chmod 0400 ./id_ed25519
# Abhängigkeiten
- pip install pykeepass Jinja2 markupsafe jmespath --user
2024-05-08 17:29:51 +02:00
- ansible-galaxy install -r requirements.yaml
# Doing
- ansible-lint --version
- ansible-lint --force-color --format pep8
2024-05-06 23:38:39 +02:00
# https://woodpecker-ci.org/docs/usage/secrets#use-secrets-in-commands
2024-05-06 23:40:10 +02:00
secrets: [vaultpass]
2024-02-06 21:03:15 +01:00
when:
- event: [push, pull_request, cron, pull_request_closed, tag, release, manual]
2024-05-06 23:36:28 +02:00
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
2024-02-06 21:03:15 +01:00
...