Move Config files

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
This commit is contained in:
Oliver Bähler 2021-05-17 13:07:14 +02:00
parent 30e7096e5a
commit 0220994d14
No known key found for this signature in database
GPG key ID: 7AE0B2618ECDC1B6
4 changed files with 5 additions and 6 deletions

View file

@ -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

View file

@ -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'

View file

@ -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