diff --git a/.drone.yml b/.drone.yml index 7c0c1cc..2222699 100644 --- a/.drone.yml +++ b/.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 \ No newline at end of file + - "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" \ No newline at end of file