diff options
author | Markus Pesch | 2022-12-16 16:17:19 +0100 |
---|---|---|
committer | Markus Pesch | 2022-12-16 16:18:01 +0100 |
commit | 91d6938d530a4a64f6cb5097cd76cb842cd4d863 (patch) | |
tree | 1edff3ac358281ac684351ef4b1bec89327d7642 /.drone.yml | |
parent | b78432ece412990f15cbb0e9c40c3e264574ef87 (diff) | |
download | aur-91d6938d530a4a64f6cb5097cd76cb842cd4d863.tar.gz |
fix(ci): init drone
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 000000000000..8179213ff87c --- /dev/null +++ b/.drone.yml @@ -0,0 +1,55 @@ +--- +kind: pipeline +type: kubernetes +name: linter + +platform: + os: linux + arch: amd64 + +steps: +- name: markdown lint + commands: + - markdownlint *.md + image: docker.io/volkerraschek/markdownlint:0.32.1 + resources: + limits: + cpu: 150 + memory: 150M + +- name: sync + image: appleboy/drone-git-push + environment: + GIT_PUSH_SSH_KEY: + from_secret: aur_ssh_key + settings: + branch: master + remote: ssh://aur@aur.archlinux.org/mint-backgrounds.git + force: false + +- name: email-notification + environment: + SMTP_FROM_ADDRESS: + from_secret: smtp_from_address + SMTP_FROM_NAME: + from_secret: smtp_from_name + SMTP_HOST: + from_secret: smtp_host + SMTP_USERNAME: + from_secret: smtp_username + SMTP_PASSWORD: + from_secret: smtp_password + image: docker.io/volkerraschek/drone-email:0.1.1 + resources: + limits: + cpu: 150 + memory: 150M + when: + status: + - changed + - failure + +trigger: + event: + exclude: + - tag
\ No newline at end of file |