Skip to content

refactor(caluma): migrate to new chart #20

refactor(caluma): migrate to new chart

refactor(caluma): migrate to new chart #20

Workflow file for this run

name: Lint and Test Charts
on: pull_request
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/[email protected]
with:
version: v3.10.3
- name: install helm unittest
run: |
helm env
helm plugin install https://github.com/helm-unittest/helm-unittest
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install chart-testing
uses: helm/[email protected]
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct --config=hack/chart-testing/ct.yaml list-changed)
if [[ -n "$changed" ]]; then
echo "changed=true" >> $GITHUB_OUTPUT
fi
- name: Run chart-testing (lint)
run: ct --config=hack/chart-testing/ct.yaml lint
- name: Create kind cluster
uses: helm/[email protected]
if: steps.list-changed.outputs.changed == 'true'
- name: Setup cluster for chart-testing (install)
run: hack/deploy/init.sh
if: steps.list-changed.outputs.changed == 'true'
- name: Run chart-testing (install)
run: ct --config=hack/chart-testing/ct-install.yaml install