From d5d45e027bf9320705dd9b99eba8b40103f886b5 Mon Sep 17 00:00:00 2001 From: text-adi <68295403+text-adi@users.noreply.github.com> Date: Mon, 22 Jul 2024 13:26:14 +0300 Subject: [PATCH] Update test (#23) * Update test * Fix lint --- .github/workflows/test.yaml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 67b52f6..86e3b30 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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: