diff --git a/ct.yaml b/.github/ct.yaml similarity index 93% rename from ct.yaml rename to .github/ct.yaml index 68ec54d0..4b22c6d5 100644 --- a/ct.yaml +++ b/.github/ct.yaml @@ -6,7 +6,6 @@ chart-dirs: chart-repos: - argo=https://argoproj.github.io/argo-helm - minio=https://helm.min.io/ - - minio-operator=https://operator.min.io/ - dandydeveloper=https://dandydeveloper.github.io/charts/ - stable=https://charts.helm.sh/stable - incubator=https://charts.helm.sh/incubator diff --git a/lintconf.yaml b/.github/lintconf.yaml similarity index 100% rename from lintconf.yaml rename to .github/lintconf.yaml diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index 00d2fff2..30e6b63a 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -27,19 +27,19 @@ jobs: id: list-changed run: | ## If executed with debug this won't work anymore. - changed=$(ct --config ./ct.yaml list-changed) + changed=$(ct --config ./.github/ct.yaml list-changed) charts=$(echo "$changed" | tr '\n' ' ' | xargs) if [[ -n "$changed" ]]; then echo "::set-output name=changed::true" echo "::set-output name=changed_charts::$charts" fi - name: Run chart-testing (lint) - run: ct lint --debug --config ./ct.yaml --lint-conf ./lintconf.yaml + run: ct lint --debug --config ./.github/ct.yaml --lint-conf ./.github/lintconf.yaml - name: Create kind cluster uses: helm/kind-action@v1.1.0 if: steps.list-changed.outputs.changed == 'true' - name: Run chart-testing (install) - run: ct install --config ./ct.yaml + run: ct install --config ./.github/ct.yaml if: steps.list-changed.outputs.changed == 'true' diff --git a/scripts/lint.sh b/scripts/lint.sh index 45abb7f7..c97b6863 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -12,6 +12,6 @@ docker run \ quay.io/helmpack/chart-testing:v3.3.1 \ -c cd /workdir \ ct lint \ - --config ct.yaml \ - --lint-conf lintconf.yaml \ + --config .github/ct.yaml \ + --lint-conf .github/lintconf.yaml \ --debug