mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 00:47:04 +02:00
feat(common): Release v2.5.0 (#258)
Co-authored-by: Maurits <75321636+maurits-funda@users.noreply.github.com> Co-authored-by: Noam Lerner <bugok@users.noreply.github.com>
This commit is contained in:
parent
1582fe27c4
commit
a548690b00
25 changed files with 670 additions and 56 deletions
15
.github/workflows/charts-lint.yaml
vendored
15
.github/workflows/charts-lint.yaml
vendored
|
@ -74,15 +74,22 @@ jobs:
|
|||
- 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
|
||||
lint_success:
|
||||
needs:
|
||||
- lint-chart
|
||||
if: |
|
||||
always()
|
||||
name: Lint successful
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check lint matrix status
|
||||
if: ${{ (inputs.chartsToLint != '' && inputs.chartsToLint != '[]') && (needs.lint-chart.result != 'success') }}
|
||||
- name: Check matrix status
|
||||
if: >-
|
||||
${{
|
||||
(
|
||||
inputs.chartsToLint != '' && inputs.chartsToLint != '[]'
|
||||
) &&
|
||||
(
|
||||
contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
|
||||
)
|
||||
}}
|
||||
run: exit 1
|
||||
|
|
30
.github/workflows/charts-test.yaml
vendored
30
.github/workflows/charts-test.yaml
vendored
|
@ -82,17 +82,24 @@ jobs:
|
|||
- name: Run chart-testing (install)
|
||||
run: ct install --config .ci/ct/ct.yaml --charts "charts/${{ matrix.chart }}"
|
||||
|
||||
# Summarize matrix https://github.community/t/status-check-for-a-matrix-jobs/127354/7
|
||||
install_success:
|
||||
needs:
|
||||
- install-chart
|
||||
if: |
|
||||
always()
|
||||
name: Install successful
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check install matrix status
|
||||
if: ${{ (inputs.chartsToTest != '[]' && inputs.chartsToTest != '') && needs.install-chart.result != 'success' }}
|
||||
- name: Check matrix status
|
||||
if: >-
|
||||
${{
|
||||
(
|
||||
inputs.chartsToTest != '' && inputs.chartsToTest != '[]'
|
||||
) &&
|
||||
(
|
||||
contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
|
||||
)
|
||||
}}
|
||||
run: exit 1
|
||||
|
||||
unittest-chart:
|
||||
|
@ -130,15 +137,22 @@ jobs:
|
|||
helm dep update "charts/${{ matrix.chart }}"
|
||||
helm unittest -f "tests/**/*_test.yaml" "charts/${{ matrix.chart }}"
|
||||
|
||||
# Summarize matrix https://github.community/t/status-check-for-a-matrix-jobs/127354/7
|
||||
unittest_success:
|
||||
needs:
|
||||
- unittest-chart
|
||||
if: |
|
||||
always()
|
||||
name: Unittest successful
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check unittest matrix status
|
||||
if: ${{ (inputs.chartsToTest != '[]' && inputs.chartsToTest != '') && needs.unittest-chart.result != 'success' }}
|
||||
- name: Check matrix status
|
||||
if: >-
|
||||
${{
|
||||
(
|
||||
inputs.chartsToTest != '' && inputs.chartsToTest != '[]'
|
||||
) &&
|
||||
(
|
||||
contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
|
||||
)
|
||||
}}
|
||||
run: exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue