This commit is contained in:
parent
0d2c238ab8
commit
5a26d721a5
1 changed files with 5 additions and 28 deletions
33
.drone.yml
33
.drone.yml
|
@ -1,34 +1,11 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: renovate
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- cron
|
||||
- push
|
||||
- custom
|
||||
|
||||
environment:
|
||||
LOG_LEVEL: debug
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: renovate - validate config
|
||||
image: renovate/renovate:33.2.0
|
||||
# https://github.com/renovatebot/renovate/discussions/15049
|
||||
- name: test
|
||||
image: geerlingguy/docker-ubuntu1804-ansible:testing
|
||||
commands:
|
||||
- unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL
|
||||
- renovate-config-validator
|
||||
|
||||
- name: renovate
|
||||
image: renovate/renovate:33.2.0
|
||||
# https://github.com/renovatebot/renovate/discussions/15049
|
||||
commands:
|
||||
- unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL
|
||||
- renovate
|
||||
|
||||
environment:
|
||||
RENOVATE_TOKEN:
|
||||
from_secret: RENOVATE_TOKEN
|
||||
GITHUB_COM_TOKEN:
|
||||
from_secret: GITHUB_COM_TOKEN
|
||||
- "find . -maxdepth 1 -name '*.yml' | sort | grep -v '.drone.yml' | xargs ansible-playbook --syntax-check --list-tasks"
|
||||
- "find . -maxdepth 1 -name '*.yml' | sort | grep -v '.drone.yml' | xargs ansible-lint"
|
Reference in a new issue