Skip to content

Commit

Permalink
Update test (#23)
Browse files Browse the repository at this point in the history
* Update test

* Fix lint
  • Loading branch information
text-adi authored Jul 22, 2024
1 parent e2a5e2a commit d5d45e0
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,24 @@ jobs:
needs: [ vars ]
name: Check helm charts good practices # Поверхнева перевірка template. Не перевіряє, чи валідні template в k8s
runs-on: ubuntu-latest
environment:
name: ${{ matrix.path }}
strategy:
matrix:
path: ${{ fromJson(needs.vars.outputs.path_to_charts) }}
steps:
- uses: actions/checkout@v4

- name: Update dependencies
run: |
helm dependency update ${{ matrix.path }}
- name: Create values.yaml
run: |
echo ${{ vars.VALUES }} | base64 -d > values.yaml
- name: Lint - Best practices
working-directory: charts
run: helm lint *
run: helm lint ${{ matrix.path }} -f values.yaml


lint-helm-install-in-k0s:
Expand Down

0 comments on commit d5d45e0

Please sign in to comment.