--- kind: pipeline name: test platform: os: linux arch: amd64 concurrency: limit: 1 steps: - name: markdownlint image: quay.io/thegeeklab/markdownlint-cli commands: - markdownlint 'README.md' - name: spellcheck image: quay.io/thegeeklab/alpine-tools commands: - spellchecker --files 'README.md' -d .dictionary -p spell indefinite-article syntax-urls environment: FORCE_COLOR: true NPM_CONFIG_LOGLEVEL: error - name: lint image: docker.io/koalaman/shellcheck-alpine:stable commands: - grep -ErlI '^#!(.*/|.*env +)(sh|bash|ksh)' ./shell/ | xargs -r shellcheck trigger: ref: - refs/heads/main - refs/tags/** - refs/pull/** --- kind: pipeline name: notifications platform: os: linux arch: amd64 steps: - name: matrix image: quay.io/thegeeklab/drone-matrix settings: homeserver: from_secret: matrix_homeserver password: from_secret: matrix_password roomid: from_secret: matrix_roomid template: "Status: **{{ .Build.Status }}**
Build: [{{ .Repo.Owner }}/{{ .Repo.Name }}]({{ .Build.Link }}){{ if .Build.Branch }} ({{ .Build.Branch }}){{ end }} by {{ .Commit.Author }}
Message: {{ .Commit.Message.Title }}" username: from_secret: matrix_username when: status: - success - failure trigger: ref: - refs/heads/main - refs/tags/** status: - success - failure depends_on: - build