From 2affe53ec8112296d76f054cae26e544c056cdf7 Mon Sep 17 00:00:00 2001 From: Rimas Mocevicius Date: Fri, 3 May 2019 21:36:41 +0100 Subject: [PATCH] add chart linting step to drone pipeline (#1207) --- .drone.yml | 12 ++++++++++++ test/ct.yaml | 4 ++++ 2 files changed, 16 insertions(+) create mode 100644 test/ct.yaml diff --git a/.drone.yml b/.drone.yml index 523d3771..a7b99629 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,6 +3,18 @@ kind: pipeline name: default steps: + +- name: chart-lint + image: quay.io/helmpack/chart-testing:v2.3.3 + commands: + - ct lint --config test/ct.yaml + when: + branch: + - master + event: + - push + - pull_request + - name: build image: golang:1.12 commands: diff --git a/test/ct.yaml b/test/ct.yaml new file mode 100644 index 00000000..117c200b --- /dev/null +++ b/test/ct.yaml @@ -0,0 +1,4 @@ +target-branch: master +chart-dirs: + - charts +helm-extra-args: --timeout 800