debug: check /etc/ssl/cert.pem cert count in buildkit container
Some checks failed
Build and push telegraf-snmp image / build-and-push-image (push) Failing after 2m17s
Some checks failed
Build and push telegraf-snmp image / build-and-push-image (push) Failing after 2m17s
This commit is contained in:
parent
b65ef5c1df
commit
7c411c5a0f
@ -36,15 +36,14 @@ jobs:
|
||||
BUILDER=$(docker ps --filter "name=buildx_buildkit" --format "{{.Names}}" | head -1)
|
||||
echo "=== Builder: $BUILDER ==="
|
||||
docker exec "$BUILDER" sh -c '
|
||||
echo "=== SSL env vars in current shell ==="
|
||||
env | grep -iE "ssl|cert|tls|ca_" || echo "none"
|
||||
echo "=== All env vars of buildkitd (PID 1) ==="
|
||||
cat /proc/1/environ 2>/dev/null | tr "\0" "\n"
|
||||
echo "=== Certs in bundle ==="
|
||||
grep -c "BEGIN CERTIFICATE" /etc/ssl/certs/ca-certificates.crt 2>/dev/null || echo "bundle not found"
|
||||
echo "=== TLS test harbor.lan root ==="
|
||||
echo "=== Certs in ca-certificates.crt ==="
|
||||
grep -c "BEGIN CERTIFICATE" /etc/ssl/certs/ca-certificates.crt 2>/dev/null || echo "not found"
|
||||
echo "=== /etc/ssl/cert.pem ==="
|
||||
ls -la /etc/ssl/cert.pem 2>/dev/null || echo "not found"
|
||||
grep -c "BEGIN CERTIFICATE" /etc/ssl/cert.pem 2>/dev/null || echo "not found"
|
||||
echo "=== TLS test harbor.lan ==="
|
||||
wget -qO /dev/null https://harbor.lan/ 2>&1 && echo "TLS OK" || echo "TLS FAILED"
|
||||
echo "=== TLS test harbor.lan token endpoint ==="
|
||||
echo "=== TLS test token endpoint ==="
|
||||
wget -qO /dev/null https://harbor.lan/service/token 2>&1 && echo "TLS OK" || echo "TLS FAILED"
|
||||
'
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user