Restructure to allow more charts in this repo
This commit is contained in:
@@ -2,19 +2,19 @@
|
||||
all: lint kubeval test package
|
||||
|
||||
lint:
|
||||
helm lint onechart/
|
||||
helm lint charts/onechart/
|
||||
|
||||
kubeval:
|
||||
rm -rf manifests && true
|
||||
mkdir manifests
|
||||
helm template onechart --output-dir manifests
|
||||
helm template charts/onechart --output-dir manifests
|
||||
find manifests/ -name '*.yaml' | xargs kubeval --ignore-missing-schemas -v 1.13.0
|
||||
find manifests/ -name '*.yaml' | xargs kubeval --ignore-missing-schemas -v 1.18.0
|
||||
|
||||
test:
|
||||
helm unittest onechart
|
||||
helm unittest charts/onechart
|
||||
|
||||
package:
|
||||
helm package onechart
|
||||
helm package charts/onechart
|
||||
mv onechart*.tgz docs
|
||||
helm repo index docs --url https://onechart.github.io/onechart
|
||||
helm repo index docs --url https://chart.onechart.dev
|
||||
|
||||
Reference in New Issue
Block a user