53 lines
1023 B
YAML
53 lines
1023 B
YAML
name: Helm Chart CI
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'charts/**'
|
|
- '.github/workflows/helm-chart-ci.yml'
|
|
- '.github/scripts/*.sh'
|
|
|
|
concurrency:
|
|
group: ${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
check-docs:
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/[email protected]
|
|
|
|
- name: Verify Docs updated
|
|
run: .github/scripts/helm-docs.sh
|
|
|
|
lint-chart:
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/[email protected]
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Set up Helm
|
|
uses: azure/[email protected]
|
|
with:
|
|
version: v3.10.2
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: 3.11.1
|
|
|
|
- name: Setup chart-testing
|
|
uses: helm/[email protected]
|
|
with:
|
|
version: v3.7.1
|
|
|
|
- name: Run chart-testing (lint)
|
|
run: |
|
|
ct lint --debug \
|
|
--target-branch main
|