mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
Update taskfile naming
This commit is contained in:
parent
bf0126122c
commit
1e36d19870
@ -32,8 +32,8 @@ tasks:
|
|||||||
- dependency
|
- dependency
|
||||||
- check-chart
|
- check-chart
|
||||||
|
|
||||||
test:
|
ct-lint:
|
||||||
desc: test your chart code
|
desc: Run `ct lint` on your chart code
|
||||||
cmds:
|
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
|
- 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:
|
deps:
|
||||||
|
@ -52,9 +52,9 @@ task deps:install
|
|||||||
task chart:create CHART=chart_name
|
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
|
# 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:lint CHART=chart_name
|
||||||
task chart:test CHART=chart_name
|
task chart:ct-lint CHART=chart_name
|
||||||
```
|
```
|
||||||
|
|
||||||
### Immutability
|
### Immutability
|
||||||
|
Loading…
Reference in New Issue
Block a user