Skip to content

Commit

Permalink
Test k8s matrix sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroslav-fedor-swi committed Sep 18, 2024
1 parent 8938f1f commit 6262ebf
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/helmSanityTest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Install Helm Chart on Kind Cluster matrix

on:
push:
branches:
- matrix-test


jobs:
deploy:
runs-on: ubuntu-latest

strategy:
matrix:
# Kubernetes versions to test on
kubernetes_version: [v1.27.0]

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Create k8s Kind Cluster
uses: helm/[email protected]
with:
version: ${{ matrix.kubernetes_version }}
kubectl_version: ${{ matrix.kubernetes_version }}
verbosity: 1

- name: Download chart dependencies before linting
run: helm dependency build deploy/helm

- name: Install Helm Chart
run: |
helm install my-release ./deploy/helm --wait --timeout 300s
continue-on-error: false

- name: Check Helm installation success
run: |
helm list

0 comments on commit 6262ebf

Please sign in to comment.