2 Commits

Author SHA1 Message Date
renovate-bot cedef7167d chore(deps): update dependency binwiederhier/ntfy to v2.23.0
lint-test-helm / lint-helm (pull_request) Successful in 1m1s
lint-test-helm / validate-kubeconform (pull_request) Failing after 49s
2026-05-18 03:13:57 +00:00
alexlebens 62f3b61e9d ci: handle errors in helm templating
renovate / renovate (push) Successful in 11m51s
2026-05-17 22:11:14 -05:00
4 changed files with 21 additions and 4 deletions
+1
View File
@@ -343,6 +343,7 @@ jobs:
helm dependency build "${CHART_PATH}" --skip-refresh
set -o pipefail
if ! helm template "${DIR}" "${CHART_PATH}" --include-crds --namespace default --api-versions "gateway.networking.k8s.io/v1/HTTPRoute,monitoring.coreos.com/v1,monitoring.coreos.com/v1/ServiceMonitor" | \
kubeconform \
${SCHEMA_LOCATIONS} \
+18 -2
View File
@@ -250,6 +250,8 @@ jobs:
echo ">> Rendering Manifests ..."
EXIT_CODE=0
render_chart() {
local DIR="$1"
local CHART_PATH="${MAIN_DIR}/clusters/${CLUSTER}/helm/${DIR}"
@@ -283,10 +285,17 @@ jobs:
echo ">> Formating rendered template ..."
local TEMPLATE
TEMPLATE=$(helm template "${CHART_NAME}" ./ --namespace "${NAMESPACE}" --include-crds --dry-run=server --api-versions "gateway.networking.k8s.io/v1/HTTPRoute,monitoring.coreos.com/v1,monitoring.coreos.com/v1/ServiceMonitor")
if ! TEMPLATE=$(helm template "${CHART_NAME}" ./ --namespace "${NAMESPACE}" --include-crds --dry-run=server --api-versions "gateway.networking.k8s.io/v1/HTTPRoute,monitoring.coreos.com/v1,monitoring.coreos.com/v1/ServiceMonitor"); then
echo "${DIR}" > "${MAIN_DIR}/.failed_chart_${DIR}"
return 1
fi
# Format and split rendered template
echo "${TEMPLATE}" | yq '... comments=""' | yq 'select(. != null)' | yq -s '"'"${OUTPUT_FOLDER}"'" + .kind + "-" + .metadata.name + ".yaml"'
set -o pipefail
if ! echo "${TEMPLATE}" | yq '... comments=""' | yq 'select(. != null)' | yq -s '"'"${OUTPUT_FOLDER}"'" + .kind + "-" + .metadata.name + ".yaml"'; then
echo "${DIR}" > "${MAIN_DIR}/.failed_chart_${DIR}"
return 1
fi
# Strip comments again to ensure formatting correctness
for file in "$OUTPUT_FOLDER"/*; do
@@ -316,9 +325,16 @@ jobs:
done | xargs -P 5 -I {} bash -c 'OUT=$(render_chart "$@" 2>&1); printf "%s\n" "$OUT"' _ {}
if ls .failed_chart_* 1> /dev/null 2>&1; then
EXIT_CODE=1
rm -f .failed_chart_*
fi
echo ""
echo "----"
exit $EXIT_CODE
- name: Check for Changes
id: check-changes
if: steps.check-dir-changes.outputs.changes-detected == 'true'
+1 -1
View File
@@ -28,4 +28,4 @@ dependencies:
version: 0.11.4
icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/ntfy.png
# renovate: datasource=github-releases depName=binwiederhier/ntfy
appVersion: 2.22.0
appVersion: 2.23.0
+1 -1
View File
@@ -8,7 +8,7 @@ ntfy:
main:
image:
repository: binwiederhier/ntfy
tag: v2.22.0@sha256:d8b3408c75d5ae78e03339af6103e7e6195e56573eea6f1ad34bb4dc4f44f340
tag: v2.23.0@sha256:b32b4221a64ec2e7c000f0782b2feef24022e1a09a24e531640f4cbba6cfa1e6
args: ["serve"]
env:
- name: TZ