Loading .drone.yaml +64 −13 Original line number Diff line number Diff line --- # linting name: 'linting' kind: 'pipeline' type: 'kubernetes' # linter steps steps: # linter - name: 'lekker linten' image: 'cr.simoncor.net/siempie/ansible-deployment' when: branch: - 'master' event: - 'push' commands: # fix permissions - 'chmod o-w .' # yamllint - 'yamllint manifests/' # mattermost notifications - name: 'notification - failure' image: 'docker.io/plugins/slack:linux-amd64' when: status: 'failure' branch: - 'master' settings: webhook: 'https://im.hackerboys.nl/hooks/m3xgigks73ymjmhj8wok31tt3o' channel: 'system-errors' template: | Linting of {{repo.owner}}/{{repo.name}}@{{truncate build.commit 8}} failed | Build: {{build.number}} ({{build.link}}) # login for cr.simoncor.net image_pull_secrets: - 'dockerconfig' # kubernetes deployment --- kind: 'pipeline' name: 'build' type: 'kubernetes' depends_on: - 'linting' # disable clone clone: disable: true # deployment step steps: Loading Loading
.drone.yaml +64 −13 Original line number Diff line number Diff line --- # linting name: 'linting' kind: 'pipeline' type: 'kubernetes' # linter steps steps: # linter - name: 'lekker linten' image: 'cr.simoncor.net/siempie/ansible-deployment' when: branch: - 'master' event: - 'push' commands: # fix permissions - 'chmod o-w .' # yamllint - 'yamllint manifests/' # mattermost notifications - name: 'notification - failure' image: 'docker.io/plugins/slack:linux-amd64' when: status: 'failure' branch: - 'master' settings: webhook: 'https://im.hackerboys.nl/hooks/m3xgigks73ymjmhj8wok31tt3o' channel: 'system-errors' template: | Linting of {{repo.owner}}/{{repo.name}}@{{truncate build.commit 8}} failed | Build: {{build.number}} ({{build.link}}) # login for cr.simoncor.net image_pull_secrets: - 'dockerconfig' # kubernetes deployment --- kind: 'pipeline' name: 'build' type: 'kubernetes' depends_on: - 'linting' # disable clone clone: disable: true # deployment step steps: Loading