Skip to content

Update kubebuilder and the project #353

Update kubebuilder and the project

Update kubebuilder and the project #353

Workflow file for this run

---
name: Helm Test
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
- name: Set up Helm
uses: azure/setup-helm@v1
with:
version: v3.7.2
- uses: actions/setup-python@v2
with:
python-version: 3.13.1
- name: Set up chart-testing
uses: helm/[email protected]
- 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
uses: helm/[email protected]
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"