From 6430373809acadac2f734a3dace9b41bc644b270 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 12 Jul 2020 10:19:31 +0000 Subject: [PATCH] Add drone file (#4) remove unnecessary events on lint Add drone file Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/4 Reviewed-by: techknowlogick Reviewed-by: 6543 <6543@noreply.gitea.io> --- .drone.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..1b6e336 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,35 @@ +--- +kind: pipeline +name: default + +platform: + os: linux + arch: amd64 + +steps: +- name: lint + pull: always + image: pelotech/drone-helm3 + settings: + helm_command: lint + chart: ./ + when: + event: + - pull_request + +- name: discord + pull: always + image: appleboy/drone-discord:1.0.0 + environment: + DISCORD_WEBHOOK_ID: + from_secret: discord_webhook_id + DISCORD_WEBHOOK_TOKEN: + from_secret: discord_webhook_token + when: + event: + - push + - tag + - pull_request + status: + - changed + - failure