-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (43 loc) · 1.65 KB
/
examine_pr_changes.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Helm
on:
push:
#paths: ["charts/**"]
branches: [ "main" ]
pull_request:
#paths: ["charts/**"]
branches: [ "main" ]
jobs:
helm:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
k8s-version: [ 'v1.20.15', 'v1.22.17', 'v1.23.17', 'v1.24.15', 'v1.25.11', 'v1.26.6', 'v1.27.3', 'v1.28.0', 'v1.29.1' ]
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v3
with:
version: v3.12.1
- uses: actions/setup-python@v4
with:
python-version: '3.10'
check-latest: true
- name: setup helm env
uses: helm/[email protected]
- name: Add dependency chart repos
run: |
helm repo add nfd https://kubernetes-sigs.github.io/node-feature-discovery/charts
- name: helm lint
run: ct lint --chart-dirs=charts --target-branch=${{ github.event.repository.default_branch }} --validate-maintainers=false --check-version-increment=false --charts charts/furiosa-device-plugin,charts/furiosa-feature-discovery,charts/furiosa-metrics-exporter
- name: create kind cluster
uses: helm/[email protected]
with:
cluster_name: device-plugin-e2e-${{ matrix.k8s-version }}
config: .github/workflows/kind_config/kind_${{ matrix.k8s-version }}.yaml
kubectl_version: ${{ matrix.k8s-version }}
- name: try install
run: ct install --chart-dirs charts --charts charts/furiosa-device-plugin,charts/furiosa-feature-discovery,charts/furiosa-metrics-exporter -namespace kube-system