From aec6bc06bf19581a3bf48da29409f04032534f5c Mon Sep 17 00:00:00 2001 From: JAM <272807+JessieAMorris@users.noreply.github.com> Date: Tue, 10 Dec 2024 09:33:51 -0700 Subject: [PATCH] Update readme with new helm chart repo path & fix build --- .github/workflows/lint-test.yaml | 18 +++++++++--------- README.md | 2 +- ct.yaml | 1 + 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 10b6f65..ce96698 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -7,34 +7,34 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install Helm - uses: azure/setup-helm@v1 + uses: azure/setup-helm@v4 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 with: - python-version: 3.7 + python-version: 3.12 - name: Install chart-testing - uses: helm/chart-testing-action@v2.0.1 + uses: helm/chart-testing-action@v2.1.0 - name: Run chart-testing (list-changed) id: list-changed run: | - changed=$(ct list-changed) + changed=$(ct list-changed --config ct.yaml) if [[ -n "$changed" ]]; then - echo "::set-output name=changed::true" + echo "changed=true" >> "$GITHUB_OUTPUT" fi - name: Run chart-testing (lint) - run: ct lint + run: ct lint --config ct.yaml - name: Create kind cluster uses: helm/kind-action@v1.0.0 if: steps.list-changed.outputs.changed == 'true' - name: Run chart-testing (install) - run: ct install + run: ct install --config ct.yaml diff --git a/README.md b/README.md index fc573be..696026c 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Helm charts for [philterd](https://www.philterd.ai/). Add this repository to Helm. ``` -helm repo add philterd https://JessieAMorris.github.io/philterd-charts +helm repo add philterd https://philterd.github.io/philterd-charts ``` Install philter diff --git a/ct.yaml b/ct.yaml index c8681f7..5f99c23 100644 --- a/ct.yaml +++ b/ct.yaml @@ -1,4 +1,5 @@ # See https://github.com/helm/chart-testing#configuration remote: origin +target-branch: main chart-dirs: - charts