Files
cadcraft/test.sh
T
feedc0de 442b7d5dc8
Validate, publish and promote cadcraft / validate (push) Successful in 14s
Validate, publish and promote cadcraft / publish (push) Failing after 36s
Add maintained cadcraft Helm chart
2026-10-18 18:57:34 +02:00

11 lines
235 B
Bash
Executable File

#!/bin/sh
set -eu
chart="chart/cadcraft"
helm lint "$chart"
rendered=$(mktemp)
trap 'rm -f "$rendered"' EXIT
helm template cadcraft "$chart" > "$rendered"
grep -q '^kind: Deployment$' "$rendered"
grep -q '^kind: Service$' "$rendered"