Skip to content

Cherry Pick PR 574 #2293

Cherry Pick PR 574

Cherry Pick PR 574 #2293

name: Helm Template
on:
pull_request:
types: ['opened', 'edited', 'reopened', 'synchronize']
push:
branches:
- staging
jobs:
template-chart:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v22
- name: Pre-populate nix-shell
run: |
export NIX_PATH=nixpkgs=$(jq '.nixpkgs.url' nix/sources.json -r)
echo "NIX_PATH=$NIX_PATH" >> $GITHUB_ENV
nix-shell --pure --run "echo" ./scripts/helm/shell.nix
- name: Check if the chart can be rendered with the default values
run: |
nix-shell --pure --run "./scripts/helm/test-template.sh" ./scripts/helm/shell.nix