Skip to content

Commit

Permalink
Make chart lint and fix the deprecated (#163)
Browse files Browse the repository at this point in the history
* Make chart lint and fix the deprecated

Signed-off-by: Shubham Gupta <[email protected]>

* lint always

Signed-off-by: Shubham Gupta <[email protected]>

---------

Signed-off-by: Shubham Gupta <[email protected]>
  • Loading branch information
shubham-cmyk authored Oct 13, 2023
1 parent a4fc5c0 commit b800ff9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,28 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Helm

- name: Install Helm
uses: azure/setup-helm@v3
with:
version: v3.5.0
version: v3.5.4

- uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: '3.9'
check-latest: true

- name: Set up chart-testing
uses: helm/[email protected]
uses: helm/[email protected]

- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --config ct.yaml)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
echo "changed=true" >> $GITHUB_OUTPUT
fi
- name: Run chart-testing (lint)
run: |
ct lint --config ct.yaml
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
run: |
changed_charts=$(ct list-changed --config ct.yaml)
echo "Changed charts: $changed_charts"
echo "::set-output name=changed_charts::$changed_charts"
echo "changed_charts=$changed_charts" >> $GITHUB_ENV
- name: Package and Release Charts
run: |
Expand Down

0 comments on commit b800ff9

Please sign in to comment.