feat: Implement enterprise-grade Kubernetes deployment with Helm charts #226
Workflow file for this run
This file contains hidden or 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
| name: Helm Lint | |
| on: | |
| pull_request: | |
| paths: | |
| - 'helm/**' | |
| push: | |
| paths: | |
| - 'helm/**' | |
| jobs: | |
| helm-lint: | |
| name: Lint Helm Charts | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v4 | |
| with: | |
| version: v3.18.3 | |
| - name: Lint all Helm charts in ./helm/ | |
| run: | | |
| for chart in helm/*/; do | |
| # Skip directories that aren't Helm charts | |
| if [[ "$chart" == "helm/assets/" || "$chart" == "helm/shared-values/" ]]; then | |
| echo "Skipping non-chart directory: $chart" | |
| continue | |
| fi | |
| # Only lint if Chart.yaml exists | |
| if [[ -f "$chart/Chart.yaml" ]]; then | |
| echo "Linting chart: $chart" | |
| helm lint "$chart" || exit 1 | |
| else | |
| echo "Skipping directory without Chart.yaml: $chart" | |
| fi | |
| done |