feat(common): Release common library 3.7.1 (#383)

Co-authored-by: Aisling McGinn <me@aisling.dev>
This commit is contained in:
Bernd Schorgers 2025-02-11 13:23:27 +01:00 committed by GitHub
parent c94a28baa3
commit 433f6d132b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
146 changed files with 232 additions and 222 deletions

View file

@ -3,75 +3,44 @@ name: "Charts: Lint"
on:
workflow_call:
inputs:
checkoutCommit:
required: true
type: string
isRenovatePR:
required: true
default: "false"
type: string
chartsToLint:
charts:
description: >
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
Json encoded list of Helm charts to release.
Defaults to releasing everything.
default: "[]"
env:
HELM_VERSION: 3.11.2
required: true
type: string
helmVersion:
description: >
Helm version to use.
default: "3.11.2"
required: false
type: string
jobs:
lint-chart:
if: ${{ inputs.chartsToLint != '[]' }}
if: ${{ inputs.charts != '[]' && inputs.charts != '' }}
name: Lint chart
strategy:
matrix:
chart: ${{ fromJSON(inputs.chartsToLint) }}
chart: ${{ fromJSON(inputs.charts) }}
fail-fast: false
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ inputs.checkoutCommit }}
- name: Verify chart version
uses: bjw-s/helm-charts-actions/verify-chart-version@main
id: verify-chart-version
with:
chart: "charts/${{ matrix.chart }}"
- name: Verify chart changelog
uses: bjw-s/helm-charts-actions/verify-chart-changelog@main
if: inputs.isRenovatePR != 'true'
id: verify-chart-changelog
with:
chart: "charts/${{ matrix.chart }}"
- name: Install Kubernetes tools
uses: yokawasa/action-setup-kube-tools@v0.11.1
uses: yokawasa/action-setup-kube-tools@v0.11.2
with:
setup-tools: |
helmv3
helm: "${{ env.HELM_VERSION }}"
helm: "${{ inputs.helmVersion }}"
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.6.1
uses: helm/chart-testing-action@v2.7.0
- name: Override chart dependencies
uses: ./.github/actions/override-chart-deps
if: ${{ inputs.overrideDeps != '[]' }}
with:
chart: ${{ matrix.chart }}
overrides: ${{ inputs.overrideDeps }}
- name: Dereference JSON schema before packaging
- name: Dereference JSON schema
uses: bjw-s/helm-charts-actions/dereference-json-schema@main
with:
schemaFile: "charts/${{ matrix.chart }}/values.schema.json"