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