Releasing static-site
This commit is contained in:
@@ -7,6 +7,7 @@ lint:
|
|||||||
helm lint charts/onechart/
|
helm lint charts/onechart/
|
||||||
helm lint charts/cron-job/
|
helm lint charts/cron-job/
|
||||||
helm lint charts/namespaces/
|
helm lint charts/namespaces/
|
||||||
|
helm lint charts/static-site
|
||||||
|
|
||||||
kubeval:
|
kubeval:
|
||||||
rm -rf manifests && true
|
rm -rf manifests && true
|
||||||
@@ -27,6 +28,12 @@ kubeval:
|
|||||||
find manifests/ -name '*.yaml' | xargs kubeval --ignore-missing-schemas -v 1.20.0
|
find manifests/ -name '*.yaml' | xargs kubeval --ignore-missing-schemas -v 1.20.0
|
||||||
find manifests/ -name '*.yaml' | xargs kubeval --ignore-missing-schemas -v 1.24.0
|
find manifests/ -name '*.yaml' | xargs kubeval --ignore-missing-schemas -v 1.24.0
|
||||||
|
|
||||||
|
rm -rf manifests && true
|
||||||
|
mkdir manifests
|
||||||
|
helm template charts/static-site --output-dir manifests
|
||||||
|
find manifests/ -name '*.yaml' | xargs kubeval --ignore-missing-schemas -v 1.20.0
|
||||||
|
find manifests/ -name '*.yaml' | xargs kubeval --ignore-missing-schemas -v 1.24.0
|
||||||
|
|
||||||
test:
|
test:
|
||||||
helm dependency update charts/onechart
|
helm dependency update charts/onechart
|
||||||
helm unittest charts/onechart
|
helm unittest charts/onechart
|
||||||
@@ -50,6 +57,9 @@ package:
|
|||||||
helm package charts/namespaces
|
helm package charts/namespaces
|
||||||
mv namespaces*.tgz docs
|
mv namespaces*.tgz docs
|
||||||
|
|
||||||
|
helm package charts/static-site
|
||||||
|
mv static-site*.tgz docs
|
||||||
|
|
||||||
helm repo index docs --url https://chart.onechart.dev
|
helm repo index docs --url https://chart.onechart.dev
|
||||||
|
|
||||||
debug:
|
debug:
|
||||||
|
|||||||
Reference in New Issue
Block a user