Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
ci: fix indentation, add missing ct config arg
Browse files Browse the repository at this point in the history
  • Loading branch information
avakarev committed Nov 22, 2023
1 parent 8849fce commit 2a84eb1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/ct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ chart-dirs:
- charts
chart-repos:
- minicloudlabs=https://minicloudlabs.github.io/helm-charts
helm-extra-args: --timeout 300s
8 changes: 4 additions & 4 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ 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 .github/ct.yaml --target-branch ${{ github.event.repository.default_branch }})
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 }}
run: ct lint --config .github/ct.yaml --target-branch ${{ github.event.repository.default_branch }}

- name: Create kind cluster
- name: Create kind cluster
if: steps.list-changed.outputs.changed == 'true'
uses: helm/kind-action@v1.8.0

- name: Run chart-testing (install)
if: steps.list-changed.outputs.changed == 'true'
run: ct install --target-branch ${{ github.event.repository.default_branch }}
run: ct install --config .github/ct.yaml --target-branch ${{ github.event.repository.default_branch }}

0 comments on commit 2a84eb1

Please sign in to comment.