Update taskfile naming

This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2021-02-19 09:05:27 +01:00
parent bf0126122c
commit 1e36d19870
No known key found for this signature in database
GPG Key ID: 228A77789D71A6E2
2 changed files with 4 additions and 4 deletions

View File

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

View File

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