Skip to content

Commit

Permalink
helm: Added chart linting and testing to CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfox-equinix authored and k8s-ci-robot committed Jul 27, 2022
1 parent 1fc0f31 commit 2db17e7
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/helm-chart-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Lint and test helm charts

on:
push:
branches:
- main
pull_request:

jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v1
with:
version: v3.8.1

- uses: actions/setup-python@v2
with:
python-version: 3.7

- name: Set up chart-testing
uses: helm/[email protected]

- name: Run chart-testing (lint)
run: ct lint --target-branch ${{ github.event.repository.default_branch }}

- name: Create kind cluster
uses: helm/[email protected]

- name: Run chart-testing (install)
run: ct install

0 comments on commit 2db17e7

Please sign in to comment.