NAS-121003 / 23.10 / Adapt charts CI and improve/fix common (#1011)

* Adapt charts CI and improve/fix common

* add check on permissions contaienr

* add postgres template

* update comments

* Update create_app.sh

* add check

* update script

* auto gen item.yaml from Chart,yaml

* rename readme on dest

* duplicate readme from the same source

* correct comment

* reoder

* remove extra space

* keep both README and app-readme

* update regex, to also allow 2 letter names, which is also valid

* No need to check host network if there aren't any pod values

* use same pattern as the pod.name label (not prepending release-name

* update deps

* add chart dirs to ci

* Add a validation to check if there is any yaml errors after merging files

* update charts path on ci

* common/1.0.0/ -> common/

* update common-test dep path

* temp update create_app script

* make permissions container name configurable, incase we want to change order of execution

* update naming convention

* fix typo and a missed name change

* do not allow `--` in names
This commit is contained in:
Stavros Kois authored and GitHub committed 2023-03-16 17:36:19 +02:00
1 parent 39daa1eaf0
commit 929e60d801
181 files changed
+861 -234

No files matched your search

+2 -2
View File
@@ -1,5 +1,4 @@
name: str(required=True)
title: str(required=True)
description: str(required=True)
version: str(required=True)
type: str(required=True)
@@ -17,7 +16,8 @@ condition: str(required=False)
keywords: list(str(), required=False)
tags: str(required=False)
maintainers: list(include('maintainer'))
annotations: map(str(), str(), required=False)
annotations:
title: str(required=True)
---
maintainer:
name: str()
@@ -0,0 +1,15 @@
remote: origin
target-branch: master
helm-extra-args: --timeout 600s
# This is too verbose, contains the rendered k8s objects
# helm-extra-args: --timeout 600s --debug
chart-yaml-schema: .github/ct-install-config/chart_schema.yaml
debug: false
# Also test upgrade on each app/ci-values
upgrade: true
chart-dirs:
- library/ix-dev/enterprise
- library/ix-dev/community
excluded-charts:
- library/common-test
- library/common
@@ -0,0 +1,14 @@
remote: origin
target-branch: master
helm-extra-args: --timeout 600s --debug
lint-conf: .github/ct-install-config/lint-conf.yaml
chart-yaml-schema: .github/ct-install-config/chart_schema.yaml
# Check that the version in Chart.yaml is incremented
check-version-increment: true
debug: true
chart-dirs:
- library/ix-dev/enterprise
- library/ix-dev/community
excluded-charts:
- library/common-test
- library/common
@@ -1,8 +1,11 @@
remote: origin
target-branch: master
# Print helm debug output, contains the rendered k8s objects
helm-extra-args: --timeout 600s --debug
chart-yaml-schema: .github/ct-install-config/chart_schema.yaml
debug: true
chart-dirs:
- library
- charts
charts:
- library/common-test
excluded-charts: []
@@ -1,7 +1,13 @@
remote: origin
target-branch: master
helm-extra-args: --timeout 600s --debug
lint-conf: .github/ct-install-config/lint-conf.yaml
chart-yaml-schema: .github/ct-install-config/chart_schema.yaml
# Check that the version in Chart.yaml is incremented
check-version-increment: true
debug: true
chart-dirs:
- library
charts:
- library/common-test
excluded-charts: []