Merge pull request #8 from lfit/chore/update-gitlint-ci-support #4
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: Validate Helm Charts and Values | |
| "on": | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| helm-validate: | |
| name: Validate Helm - ${{ matrix.env }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| env: [dev] | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v3 | |
| - name: Install Helm | |
| uses: azure/setup-helm@v3 | |
| with: | |
| version: v3.13.2 | |
| - name: Lint Helm chart | |
| run: helm lint base/jenkins | |
| - name: Template with values.yaml (${{ matrix.env }}) | |
| run: | | |
| helm template jenkins base/jenkins \ | |
| -f environments/${{ matrix.env }}/values.yaml > rendered-${{ matrix.env }}.yaml | |
| - name: Show rendered output | |
| run: cat rendered-${{ matrix.env }}.yaml |