diff --git a/.taskfiles/Taskfile_chart.yml b/.taskfiles/Taskfile_chart.yml index b19d497e..ef835a6f 100644 --- a/.taskfiles/Taskfile_chart.yml +++ b/.taskfiles/Taskfile_chart.yml @@ -32,8 +32,8 @@ tasks: - dependency - check-chart - test: - desc: test your chart code + ct-lint: + desc: Run `ct lint` on your chart code cmds: - docker run --rm -it --user $(id -u):$(id -g) -e "HELM_CONFIG_HOME=/tmp/helm" -e "HELM_CACHE_HOME=/tmp/helm" -v {{.GIT_ROOT}}:/ci -w /ci quay.io/helmpack/chart-testing:latest ct lint --charts charts/{{.CHART}} --config /ci/.github/ct.yaml deps: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b6fed411..1fb1e561 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -52,9 +52,9 @@ task deps:install task chart:create CHART=chart_name # Don't forgot edit some chart informations in charts/char_name/Chart.yaml and charts/char_name/values.yaml -# Lint & Test +# Linting task chart:lint CHART=chart_name -task chart:test CHART=chart_name +task chart:ct-lint CHART=chart_name ``` ### Immutability