feat: update pvc volume claim spec #177
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Helm Checks | |
on: pull_request | |
jobs: | |
run-pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install pre-commit binaries | |
run: | | |
pip install pre-commit | |
- name: Set up Helm | |
uses: azure/[email protected] | |
- name: Update Helm Dependencies | |
run: | | |
for dir in charts/*/; do | |
if [ -f "${dir}Chart.yaml" ]; then | |
helm dependency update "$dir" | |
fi | |
done | |
- name: Run pre-commit | |
run: | | |
make install-pre-commit | |
make pre-commit | |
chart-testing: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Helm | |
uses: azure/[email protected] | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
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: Helm Dependencies | |
if: steps.list-changed.outputs.changed == 'true' | |
run: | | |
for dir in charts/*/; do | |
if [ -f "${dir}Chart.yaml" ]; then | |
helm dependency update "$dir" | |
fi | |
done | |
- name: Run chart-testing (lint) | |
if: steps.list-changed.outputs.changed == 'true' | |
run: ct lint --config ct.yaml |