Skip to content

chore(deps): bump helm/kind-action from 1.10.0 to 1.12.0 #97

chore(deps): bump helm/kind-action from 1.10.0 to 1.12.0

chore(deps): bump helm/kind-action from 1.10.0 to 1.12.0 #97

Workflow file for this run

name: Lint and Test Charts
on: pull_request
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v4
with:
version: v3.11.2
- uses: actions/setup-python@v5
with:
python-version: '3.9'
check-latest: true
- name: Set up chart-testing
uses: helm/[email protected]
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
if [[ -n "$changed" ]]; then
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
- name: Run chart-testing (lint)
run: ct lint --target-branch ${{ github.event.repository.default_branch }}
- name: Create kind cluster
uses: helm/[email protected]
- name: Deploy
run: |
tee -a values.ci.yaml << END
primary:
initdb:
scripts:
initialize_backend.sql: |
CREATE USER backend PASSWORD 'backend';
CREATE DATABASE backend OWNER backend;
initialize_auth.sql: |
CREATE USER auth PASSWORD 'auth';
CREATE DATABASE auth OWNER auth;
END
helm install postgresql oci://registry-1.docker.io/bitnamicharts/postgresql -f values.ci.yaml
- name: Run chart-testing (install)
if: steps.list-changed.outputs.changed == 'true'
run: ct install --target-branch ${{ github.event.repository.default_branch }}