From 46ef1a19836693a1ff4c5f2151fc7b42191ab050 Mon Sep 17 00:00:00 2001 From: Angel de la Torre Date: Wed, 7 Feb 2024 14:48:24 -0800 Subject: [PATCH] move ct-config.yaml to root Because it was in the charts directory, the ct tool assumed the charts directory was also a chart but was invalid. ct will look at diffs under the charts directory, and since there was a new file there, it assumed it was a new chart. --- .github/workflows/helm.yaml | 6 +++--- charts/ct-config.yaml => ct-config.yaml | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename charts/ct-config.yaml => ct-config.yaml (100%) diff --git a/.github/workflows/helm.yaml b/.github/workflows/helm.yaml index 667ed73..23ecd27 100644 --- a/.github/workflows/helm.yaml +++ b/.github/workflows/helm.yaml @@ -29,14 +29,14 @@ jobs: - name: Run chart-testing (list-changed) id: list-changed run: | - changed=$(ct list-changed --config ./charts/ct-config.yaml) + changed=$(ct list-changed --config ./ct-config.yaml) if [[ -n "$changed" ]]; then echo "changed=true" >> "$GITHUB_OUTPUT" fi - name: Run chart-testing (lint) if: steps.list-changed.outputs.changed == 'true' - run: ct lint --config ./charts/ct-config.yaml + run: ct lint --config ./ct-config.yaml - name: Create kind cluster if: steps.list-changed.outputs.changed == 'true' @@ -44,4 +44,4 @@ jobs: - name: Run chart-testing (install) if: steps.list-changed.outputs.changed == 'true' - run: ct install --config ./charts/ct-config.yaml \ No newline at end of file + run: ct install --config ./ct-config.yaml \ No newline at end of file diff --git a/charts/ct-config.yaml b/ct-config.yaml similarity index 100% rename from charts/ct-config.yaml rename to ct-config.yaml