mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 00:47:04 +02:00
feat: Create a custom action to verify chart version
This commit is contained in:
parent
c598d8a00a
commit
b4b335ca6e
14 changed files with 25241 additions and 51 deletions
17
.github/workflows/charts-lint.yaml
vendored
17
.github/workflows/charts-lint.yaml
vendored
|
@ -58,18 +58,11 @@ jobs:
|
|||
fetch-depth: 0
|
||||
ref: ${{ inputs.checkoutCommit }}
|
||||
|
||||
- name: Install zx
|
||||
shell: bash
|
||||
run: |
|
||||
npm i --location=global zx
|
||||
npm link zx
|
||||
|
||||
- name: Check chart version update
|
||||
shell: bash
|
||||
run: |
|
||||
if ! zx .ci/scripts/check_chart_version.mjs "charts/${{ matrix.chart }}" ; then
|
||||
echo "::error::Chart version has not been updated!" && exit 1
|
||||
fi
|
||||
- name: Verify chart version
|
||||
uses: ./.github/actions/verify-chart-version
|
||||
id: verify-chart-version
|
||||
with:
|
||||
chart: "charts/${{ matrix.chart }}"
|
||||
|
||||
- name: Install Kubernetes tools
|
||||
uses: yokawasa/action-setup-kube-tools@v0.8.2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue