Skip to content

Commit

Permalink
use config file for ct
Browse files Browse the repository at this point in the history
Signed-off-by: JeffMboya <[email protected]>
  • Loading branch information
JeffMboya committed Sep 10, 2024
1 parent 0b552c1 commit e97b56c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
helm repo add hashicorp https://helm.releases.hashicorp.com
helm repo update
# Python is required because `ct lint` runs Yamale (https://github.com/23andMe/Yamale) and
# yamllint (https://github.com/adrienverge/yamllint) which require Python
- uses: actions/setup-python@v5
with:
python-version: "3.x"
Expand All @@ -46,7 +48,7 @@ jobs:
- name: Run chart-testing (lint)
if: steps.list-changed.outputs.changed == 'true'
run: |
ct lint --target-branch ${{ github.event.repository.default_branch }} --charts charts/magistrala
ct lint --config ct.yaml
- name: Create kind cluster
if: steps.list-changed.outputs.changed == 'true'
Expand All @@ -55,4 +57,4 @@ jobs:
- name: Run chart-testing (install)
if: steps.list-changed.outputs.changed == 'true'
run: |
ct install --target-branch ${{ github.event.repository.default_branch }} --chart-dirs charts/magistrala helm-extra-args: --timeout 600s check-version-increment: false
ct install --config ct.yaml
6 changes: 6 additions & 0 deletions ct.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# See https://github.com/helm/chart-testing#configuration
remote: origin
target-branch: master
chart-dirs:
- charts/magistrala
helm-extra-args: --timeout 600s

0 comments on commit e97b56c

Please sign in to comment.