ci: Update CI

This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2022-10-03 11:43:22 +02:00
parent 8703597123
commit 7798202759
No known key found for this signature in database
GPG key ID: BC5E2BD907F9A8EC
16 changed files with 102 additions and 71 deletions

View file

@ -15,6 +15,12 @@ on:
A JSON encoded array of charts to lint
required: true
type: string
overrideDeps:
description: >
A JSON encoded array of dependencies to override before linting
type: string
required: false
default: '[]'
env:
HELM_VERSION: 3.9.2
@ -58,7 +64,14 @@ jobs:
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.3.1
- name: Run chart-testing (install)
- name: Override chart dependencies
uses: ./.github/actions/override-chart-deps
if: ${{ inputs.overrideDeps != '[]' }}
with:
chart: ${{ matrix.chart }}
overrides: ${{ inputs.overrideDeps }}
- name: Run chart-testing (lint)
run: ct lint --config .ci/ct/ct.yaml --charts "charts/${{ matrix.chart }}"
# Summarize matrix https://github.community/t/status-check-for-a-matrix-jobs/127354/7