SRIOV Device Plugin Update #6
This file contains 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: Multus Chart Test | |
on: | |
push: | |
paths: | |
- 'sriov/**' | |
- '.github/workflows/helm_test_sriov.yml' | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: # Allows manually triggering the workflow | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: 'v3.12.0' # specify the Helm version you want to use | |
- name: Set up Kubernetes (kind) | |
uses: helm/kind-action@v1.2.0 | |
with: | |
version: v0.17.0 # specify the kind version you want to use | |
- name: Helm Lint SRIOV | |
run: helm lint ./sriov | |
- name: Install Helm chart SRIOV | |
run: helm install --wait --timeout 60s sriov-release ./sriov | |
- name: Run Helm tests | |
run: helm test sriov-release --timeout 60s | |
- name: Delete Helm release | |
run: helm uninstall sriov-release |