test(helm): lint helm charts with ct (#1403)
This commit is contained in:
@@ -26,6 +26,27 @@ jobs:
|
||||
path: ${{ github.event_path }}
|
||||
retention-days: 7
|
||||
|
||||
chart-validation:
|
||||
name: Helm Chart Validation
|
||||
if: ${{ github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]') }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
||||
|
||||
- name: Install Helm
|
||||
uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0
|
||||
|
||||
- name: Install chart-testing
|
||||
uses: helm/chart-testing-action@6ec842c01de15ebb84c8627d2744a0c2f2755c9f # v2.8.0
|
||||
|
||||
- name: Run ct lint
|
||||
run: ct lint --config deploy/helm/ct.yaml
|
||||
|
||||
migration-check:
|
||||
name: Flyway Migration Check
|
||||
if: ${{ github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]') }}
|
||||
|
||||
Reference in New Issue
Block a user