Feat/760 limit validating webhook configuration #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Reference: https://github.com/helm/chart-testing-action | |
name: Lint | |
on: | |
pull_request: | |
# Sequence of patterns matched against refs/heads | |
branches: | |
- develop | |
permissions: | |
contents: write | |
jobs: | |
chart-test: | |
name: Chart lint | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Helm | |
uses: azure/[email protected] | |
with: | |
version: v3.14.1 | |
- name: Debug | |
run: | | |
helm repo add bitnami https://charts.bitnami.com/bitnami | |
helm dependency build ./charts/testkube | |
helm dependency build ./charts/testkube-dashboard | |
ls ./charts/testkube-dashboard/charts | |
helm lint ./charts/testkube --with-subcharts --values ./charts/testkube/values.yaml | |
# - name: Run helm dependency update | |
# run: | | |
# for chart in \ | |
# ./charts/testkube \ | |
# ./charts/testkube-api \ | |
# ./charts/testkube-dashboard \ | |
# ./charts/testkube-logs \ | |
# ./charts/testkube-operator; do | |
# helm dependency build "$chart" | |
# done | |
# helm lint ./charts/testkube --with-subcharts --values ./charts/testkube/values.yaml | |
# helm template ./charts/testkube | |
# - name: Run helm-lint | |
# run: helm lint ./charts/testkube --with-subcharts --values ./charts/testkube/values.yaml | |
# - name: Run helm template | |
# run: helm template ./charts/testkube |