From f1df9a1b674fc93a4b166f5adc1adcffa54b2b7a Mon Sep 17 00:00:00 2001 From: Shiming Zhang Date: Wed, 3 Jul 2024 16:39:36 +0800 Subject: [PATCH] Fix metrics usage chart --- .github/workflows/helm-lint-test.yaml | 6 +++--- charts/metrics-usage/Chart.yaml | 4 ---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/helm-lint-test.yaml b/.github/workflows/helm-lint-test.yaml index a2fd88445..a2f69bfe3 100644 --- a/.github/workflows/helm-lint-test.yaml +++ b/.github/workflows/helm-lint-test.yaml @@ -35,14 +35,14 @@ jobs: - name: Run chart-testing (list-changed) id: list-changed run: | - changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) + changed=$(ct list-changed --config ./.ct.yaml) if [[ -n "$changed" ]]; then echo "changed=true" >> "$GITHUB_OUTPUT" fi - name: Run chart-testing (lint) if: steps.list-changed.outputs.changed == 'true' - run: ct lint --target-branch ${{ github.event.repository.default_branch }} --config ./.ct.yaml + run: ct lint --config ./.ct.yaml - name: Create kind cluster if: steps.list-changed.outputs.changed == 'true' @@ -50,7 +50,7 @@ jobs: - name: Run chart-testing (install) if: steps.list-changed.outputs.changed == 'true' - run: ct install --target-branch ${{ github.event.repository.default_branch }} --config ./.ct.yaml + run: ct install --all --config ./.ct.yaml linter-artifacthub: runs-on: ubuntu-latest diff --git a/charts/metrics-usage/Chart.yaml b/charts/metrics-usage/Chart.yaml index 6ddc88db1..b4e389e21 100644 --- a/charts/metrics-usage/Chart.yaml +++ b/charts/metrics-usage/Chart.yaml @@ -15,7 +15,3 @@ maintainers: email: wzshiming@hotmail.com appVersion: v0.5.2 version: 0.0.1 -dependencies: -- name: kwok - version: 0.0.1 - repository: https://kwok.sigs.k8s.io/charts/