Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable chart version increment check #11

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions .github/workflows/examine_pr_changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,20 @@ on:
branches: [ "main" ]

jobs:
helm:
chart-lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: setup helm env
uses: helm/[email protected]
- name: helm lint
run: ct lint --validate-maintainers=false --target-branch main

chart-test-with-kind:
needs: chart-lint
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -18,25 +31,17 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: create kind cluster
uses: helm/[email protected]
with:
cluster_name: helm-charts-test-${{ matrix.k8s-version }}
config: .github/workflows/kind_config/kind_${{ matrix.k8s-version }}.yaml
kubectl_version: ${{ matrix.k8s-version }}
- name: Set up Helm
uses: azure/setup-helm@v3
with:
version: v3.12.1
- 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=true --charts charts/furiosa-device-plugin,charts/furiosa-feature-discovery,charts/furiosa-metrics-exporter
- name: Wait for nodes to be ready
run: |
kubectl wait --for=condition=Ready nodes --all --timeout=300s
Expand Down