fix(CI): ensure Apps use the correct icon_url key in item.yaml

This commit is contained in:
kjeld Schouten-Lebbing
2021-10-20 10:14:56 +02:00
parent 0aee478a94
commit 849e6e02c5

View File

@@ -398,6 +398,7 @@ patch_apps() {
touch ${target}/values.yaml
# Generate item.yaml
cat ${target}/Chart.yaml | grep "icon" >> catalog/${train}/${chartname}/item.yaml
sed -i "s|^icon:|icon_url:|g" ${target}/chart.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