Move Config files
Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
This commit is contained in:
parent
30e7096e5a
commit
0220994d14
4 changed files with 5 additions and 6 deletions
1
ct.yaml → .github/ct.yaml
vendored
1
ct.yaml → .github/ct.yaml
vendored
|
@ -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
|
0
lintconf.yaml → .github/lintconf.yaml
vendored
0
lintconf.yaml → .github/lintconf.yaml
vendored
6
.github/workflows/lint-and-test.yml
vendored
6
.github/workflows/lint-and-test.yml
vendored
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue