File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060 curl -4 -sS -o /dev/null -w "IPv4 -> HTTP %{http_code}, TLS %{time_appconnect}s\n" --max-time 15 "https://$HOST/" || echo "IPv4 fehlgeschlagen"
6161 curl -6 -sS -o /dev/null -w "IPv6 -> HTTP %{http_code}, TLS %{time_appconnect}s\n" --max-time 15 "https://$HOST/" || echo "IPv6 fehlgeschlagen"
6262
63+ - name : Blob seriell mehrfach ziehen (Intermittenz prüfen)
64+ continue-on-error : true
65+ run : |
66+ TOKEN=$(curl -fsS "$GITLAB/jwt/auth?service=container_registry&scope=repository:${IMG}:pull" | jq -r .token)
67+ for i in 1 2 3 4 5; do
68+ curl -4 -sS -L -o /dev/null \
69+ -w "try $i: HTTP %{http_code}, TLS %{time_appconnect}s, total %{time_total}s\n" \
70+ --max-time 60 -H "Authorization: Bearer $TOKEN" \
71+ "https://$REGISTRY/v2/$IMG/blobs/$DIGEST_PLACEHOLDER" || echo "try $i: fehlgeschlagen"
72+ sleep 2
73+ done
74+ # DIGEST aus dem vorigen Schritt übernehmen (z.B. als job-output oder hier neu ermitteln)
75+
76+ - name : Pull mit Concurrency = 1 (drosselt parallele Handshakes)
77+ run : |
78+ echo '{ "max-concurrent-downloads": 1 }' | sudo tee /etc/docker/daemon.json
79+ sudo systemctl restart docker
80+ docker pull "$REGISTRY/$IMG:$TAG"
81+
6382 - name : Pull-Test (der eigentliche Beweis)
6483 run : |
6584 docker pull "$REGISTRY/$IMG:$TAG"
You can’t perform that action at this time.
0 commit comments