diff --git a/.git-hooks/helm-dependency-update.sh b/.git-hooks/helm-dependency-update.sh deleted file mode 100755 index fa2be00a..00000000 --- a/.git-hooks/helm-dependency-update.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -ct list-changed | xargs -d '\n' -I {} helm dependency update {} diff --git a/.github/workflows/chart-testing.yml b/.github/workflows/chart-testing.yml index 28e02a4f..97937df5 100644 --- a/.github/workflows/chart-testing.yml +++ b/.github/workflows/chart-testing.yml @@ -26,7 +26,7 @@ jobs: run: ah lint helm-lint: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: checkout git repository uses: actions/checkout@v4 @@ -43,9 +43,12 @@ jobs: - name: Set up chart-testing uses: helm/chart-testing-action@v2.6.1 - - name: helm lint on changed charts + - name: helm dependency update on changed charts run : ct list-changed --config .github/config/chart-testing.yaml | xargs -d '\n' -I {} helm dependency update {} + - name: helm lint on changed charts + run : ct list-changed --config .github/config/chart-testing.yaml | xargs -d '\n' -I {} helm lint {} + chart-testing: runs-on: ubuntu-22.04 steps: diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml deleted file mode 100644 index 228a1b54..00000000 --- a/.pre-commit-hooks.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- id: helm-dependency-update - name: Update Helm Dependency for changed Charts - entry: bash -c 'ct list-changed | xargs -d '\n' -I {} helm dependency update {}' - language: system - pass_filenames: false - -- id: helm-kubeconform - name: Execute kubeconform for changed Charts - entry: bash -c 'ct list-changed | xargs -d '\n' -I {} helm kubeconform {}' - language: system - pass_filenames: false