Files
Aaron Guise cb228fc925
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test/2 Pipeline was successful
ci/woodpecker/push/test/1 Pipeline was successful
ci/woodpecker/push/z.ntfy Pipeline was successful
ci/woodpecker/cron/cron/2 Pipeline was successful
ci/woodpecker/cron/cron/1 Pipeline was successful
ci/woodpecker/cron/cron/3 Pipeline was successful
ci/woodpecker/cron/cron/4 Pipeline was successful
ci/woodpecker/cron/z.failed-cron-ntfy unknown status
ci/woodpecker/cron/z.cron-ntfy Pipeline was successful
Remove deprecated "group" option
2024-01-30 13:53:42 +13:00

44 lines
1.1 KiB
YAML

labels:
location: local
clone:
git:
image: woodpeckerci/plugin-git
settings:
recursive: true
submodule_update_remote: true
when:
event: [ push, manual ]
steps:
ansible-lint:
name: "Lint: Ansible-lint"
image: guisea/ansible-molecule
environment:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
commands:
- ansible-lint -c ".ansible-lint"
when:
event: [ push, manual ]
yamllint:
name: "Lint: Yamllint"
image: guisea/ansible-molecule
commands:
- yamllint -f colored .
when:
event: [ push, manual ]
ntfy:
image: codeberg.org/l-x/woodpecker-ntfy
settings:
url: https://ntfy.cybercinch.nz/ci-status
title: "Lint failed for ${CI_REPO_NAME}"
priority: urgent
icon: https://woodpecker-ci.org/img/logo.svg
tags: robot,warning,rotating_light,${CI_BUILD_EVENT},${CI_REPO_NAME}
message: >
📝 Commit by ${CI_COMMIT_AUTHOR} on ${CI_COMMIT_BRANCH}:
${CI_COMMIT_MESSAGE}
when:
event: [ push, manual ]
status: [ failure ]