This commit is contained in:
2026-08-13 14:37:28 -05:00
parent abb181e537
commit 4b34d5f9a7
5 changed files with 35 additions and 3 deletions
+20
View File
@@ -62,6 +62,26 @@ grep -F -- './config/letsencrypt/archive:/etc/archive:ro' \
printf 'FAIL: TLS compose does not expose Certbot archive symlink targets\n' >&2
exit 1
}
grep -F -- '/var/cache/nginx:size=256m,mode=0755' \
"${TEST_ROOT}/compose.yaml" >/dev/null || {
printf 'FAIL: Nginx cache tmpfs is too small for Git pack streaming\n' >&2
exit 1
}
for template in \
"${TEST_ROOT}/deploy/nginx/templates/http.conf.template" \
"${TEST_ROOT}/deploy/nginx/templates/tls.conf.template"; do
for directive in \
'proxy_send_timeout 30m;' \
'proxy_read_timeout 30m;' \
'proxy_request_buffering off;' \
'proxy_buffering off;'; do
[[ "$(grep -Fc -- "$directive" "$template")" == 2 ]] || {
printf 'FAIL: both proxied services need %s in %s\n' \
"$directive" "$template" >&2
exit 1
}
done
done
printf '%s\n' \
'broker.test' \