chore(Apps): Project-Eclipse 5, move app-readme to automatic generation script (#1181)

This commit is contained in:
Kjeld Schouten-Lebbing
2021-10-19 19:00:56 +02:00
committed by GitHub
parent c0fe3092f6
commit d0630ae93c
162 changed files with 5 additions and 486 deletions
+4 -5
View File
@@ -330,11 +330,6 @@ generate_docs() {
--output-file="CONFIG.md" \
--template-files="/__w/apps/apps/templates/docs/CONFIG.md.gotmpl" \
--chart-search-root="${chart}"
helm-docs \
--ignore-file=".helmdocsignore" \
--output-file="app-readme.md" \
--template-files="/__w/apps/apps/templates/docs/app-readme.md.gotmpl" \
--chart-search-root="${chart}"
helm-docs \
--ignore-file=".helmdocsignore" \
--output-file="helm-values.md" \
@@ -406,6 +401,10 @@ patch_apps() {
cat ${target}/Chart.yaml | grep "icon" >> catalog/${train}/${chartname}/item.yaml
echo "categories:" >> catalog/${train}/${chartname}/item.yaml
cat ${target}/Chart.yaml | yq '.annotations."truecharts.org/catagories"' -r >> catalog/${train}/${chartname}/item.yaml
# Generate SCALE App description file
cat ${target}/Chart.yaml | yq .description -r >> ${target}/app-readme.md
echo "" >> ${target}/app-readme.md
echo "This App is supplied by TrueCharts, for more information please visit https://truecharts.org" >> ${target}/app-readme.md
}
copy_apps() {