Add test and release workflow

This commit is contained in:
Jake Spain 2023-01-27 11:40:43 -05:00
parent f1563ed601
commit 91c3c98904
No known key found for this signature in database
GPG key ID: BC1C4DA0A085E113
4 changed files with 189 additions and 115 deletions

28
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,28 @@
name: Helm Test
on: pull_request
jobs:
test:
name: Test Helm Chart
if: contains(github.event.pull_request.labels.*.name, 'documentation') != true
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
clean: true
fetch-depth: 0
- uses: azure/setup-helm@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Set up chart-testing
uses: helm/chart-testing-action@v2
- name: Run chart-testing (lint)
run: ct lint --chart-dirs helm-charts --all --validate-maintainers=false --chart-repos bitnami=https://charts.bitnami.com/bitnami