This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2022-07-28 10:59:01 +02:00
parent bca345c66e
commit b7d97d9dd0
No known key found for this signature in database
GPG key ID: BC5E2BD907F9A8EC
4 changed files with 56 additions and 12 deletions

View file

@ -42,11 +42,11 @@ jobs:
echo "::set-output name=detected::true"
fi
lint-charts:
lint-chart:
needs:
- generate-lint-matrix
if: needs.generate-lint-matrix.outputs.detected == 'true'
name: Lint charts
name: Lint chart
strategy:
matrix: ${{ fromJson(needs.generate-lint-matrix.outputs.lint-matrix) }}
fail-fast: false
@ -65,6 +65,11 @@ jobs:
helmv3
helm: "${{ env.HELM_VERSION }}"
- name: Check chart version update
shell: bash
run: |
npx zx .ci/scripts/check_chart_version.mjs "charts/${{ matrix.chart }}"
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.2.1
@ -75,12 +80,12 @@ jobs:
lint_success:
needs:
- generate-lint-matrix
- lint-charts
- lint-chart
if: |
always()
name: Lint successful
runs-on: ubuntu-22.04
steps:
- name: Check lint matrix status
if: ${{ (needs.generate-lint-matrix.outputs.detected == 'true') && (needs.lint-charts.result != 'success') }}
if: ${{ (needs.generate-lint-matrix.outputs.detected == 'true') && (needs.lint-chart.result != 'success') }}
run: exit 1