common: Bring the fullname definition here, and not depend on Postgre… (#32)

* common: Bring the fullname definition here, and not depend on Postgresql chart to bring it.
* Fix lint
* Fix changelog checker
* Fix values linting
* Trying to fix the charts-changelog.
* Trying to fix the charts-changelog, part two
* values: fix lint
* It seems k8s-at-home repo is went poof, so use upstream helm-docs.
This commit is contained in:
Skyler Mäntysaari
2023-06-28 13:14:16 +03:00
committed by GitHub
parent db7f5a2877
commit e8170c0c8d
5 changed files with 51 additions and 40 deletions
+5 -3
View File
@@ -27,12 +27,14 @@ jobs:
- name: Check changelog annotations
if: inputs.isRenovatePR != 'true'
run: |
UP_CHARTS_DIR="charts"
IN_CHARTS=(${{ inputs.modifiedCharts }})
CHARTS=($(python -c 'import sys;a=sys.argv[1].translate(str.maketrans("","","[]")).split(",");print(" ".join(a))' $IN_CHARTS))
for i in "${CHARTS[@]}"
do
IFS='/' read -r -a chart_parts <<< "$i"
./.github/scripts/check-releasenotes.sh "${chart_parts[0]}/${chart_parts[1]}"
chart_path="$UP_CHARTS_DIR/${chart_parts[0]}/${chart_parts[1]}"
./.github/scripts/check-releasenotes.sh "$chart_path"
echo ""
done
generate-changelog:
@@ -56,8 +58,8 @@ jobs:
- name: Install helm-docs
run: |
cd /tmp
wget https://github.com/k8s-at-home/helm-docs/releases/download/v0.1.1/helm-docs_0.1.1_Linux_x86_64.tar.gz
tar -xvf helm-docs_0.1.1_Linux_x86_64.tar.gz
wget https://github.com/norwoodj/helm-docs/releases/download/v1.11.0/helm-docs_1.11.0_Linux_x86_64.tar.gz
tar -xvf helm-docs_1.11.0_Linux_x86_64.tar.gz
sudo mv helm-docs /usr/local/sbin
sudo chmod +x /usr/local/sbin/helm-docs