Skip to content

enhancement: Allow starter custom resource specifications #455

enhancement: Allow starter custom resource specifications

enhancement: Allow starter custom resource specifications #455

Workflow file for this run

---
name: Helm Test
permissions: {}
on:
push:
# run only on branches and not tags
branches:
- '**'
paths:
- 'charts/**'
pull_request:
branches-ignore:
- 'release-**/bundle-update'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Set up Helm
# this is v4.3.0
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112
with:
version: v3.7.2
- uses: actions/setup-python@v2
with:
python-version: 3.13.1
- name: Set up chart-testing
# this is v2.7.0
uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --config ./charts/ct.yaml)
if [[ -n "$changed" ]]; then
echo "changed=true" >> $GITHUB_OUTPUT
fi
- name: Create kind cluster
# this is v1.12.0
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3
if: steps.list-changed.outputs.changed == 'true'
- name: Run chart-testing (install)
if: steps.list-changed.outputs.changed == 'true'
run: |
ct install --config ./charts/ct.yaml --helm-extra-set-args "--set=namespace.create=false"