Add helm/chart-testing linting

Fixes: #68
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
This commit is contained in:
Daniel Farrell
2021-06-21 08:14:04 -05:00
committed by Daniel Farrell
parent c8b09b5c31
commit 2938f26520
2 changed files with 29 additions and 0 deletions
+23
View File
@@ -5,6 +5,29 @@ on:
pull_request: pull_request:
jobs: jobs:
chart-testing:
name: Helm Chart Linting
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v2
- name: Set up Helm
uses: azure/setup-helm@v1
with:
version: v3.6.0
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Set up helm/chart-testing
uses: helm/chart-testing-action@v2.1.0
- name: Run helm/chart-testing (lint)
run: ct lint --config ct.yaml
gitlint: gitlint:
name: Commit Message(s) name: Commit Message(s)
runs-on: ubuntu-latest runs-on: ubuntu-latest
+6
View File
@@ -0,0 +1,6 @@
charts:
- submariner-operator
- submariner-k8s-broker
# Tests that maintainer name is valid GitHub account, which isn't what we want
# See: https://github.com/helm/chart-testing/issues/192
validate-maintainers: false