Files
feedc0de ce5584d0fb
Validate, publish and promote wordcraft / validate (push) Successful in 12s
Validate, publish and promote wordcraft / publish (push) Successful in 35s
Provide writable cache for read-only Nginx
2026-10-18 20:05:55 +02:00

12 lines
287 B
Bash
Executable File

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