Skip to content

Commit

Permalink
refactor: remove helm chart changed check for tests
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Smith <10135646+mjsmith1028@users.noreply.github.com>
  • Loading branch information
mikesmithgh authored and Mike Smith committed Apr 1, 2022
1 parent 4d02352 commit 711a7bb
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/test_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,7 @@ jobs:
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.2.1

- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --chart-dirs deploy/helm --target-branch ${{ github.event.repository.default_branch }})
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
- name: Setup kind
if: steps.list-changed.outputs.changed == 'true'
uses: helm/kind-action@v1.2.0
with:
version: ${{ matrix.configuration.kind }}
Expand All @@ -136,7 +127,6 @@ jobs:
wait: 120s

- name: Run chart-testing (lint)
if: steps.list-changed.outputs.changed == 'true'
run: |
ct lint --chart-dirs deploy/helm \
--chart-yaml-schema '.github/config/chart-testing/etc/chart_schema.yaml' \
Expand All @@ -146,7 +136,6 @@ jobs:
--target-branch ${{ github.event.repository.default_branch }}
- name: Run chart-testing (install)
if: steps.list-changed.outputs.changed == 'true'
run: |
ct install --chart-dirs deploy/helm \
--target-branch ${{ github.event.repository.default_branch }}
Expand Down

0 comments on commit 711a7bb

Please sign in to comment.