Files
feedc0de d55d23e62e
Validate, publish and promote photocraft / validate (push) Successful in 14s
Validate, publish and promote photocraft / publish (push) Successful in 48s
Provide writable cache for read-only Nginx
2026-10-18 20:05:53 +02:00

12 lines
289 B
Bash
Executable File

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