Skip to content

Commit

Permalink
Merge pull request #1156 from wzshiming/fix/metrics-usage-chart
Browse files Browse the repository at this point in the history
Fix metrics usage chart
  • Loading branch information
wzshiming authored Jul 3, 2024
2 parents 9616281 + f1df9a1 commit 3944a2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/helm-lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,22 @@ 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'
uses: helm/[email protected]

- 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
Expand Down
4 changes: 0 additions & 4 deletions charts/metrics-usage/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,3 @@ maintainers:
email: [email protected]
appVersion: v0.5.2
version: 0.0.1
dependencies:
- name: kwok
version: 0.0.1
repository: https://kwok.sigs.k8s.io/charts/

0 comments on commit 3944a2d

Please sign in to comment.