fix(ci): allow cold container startup (#1)
quality-gate / quality (push) Successful in 2m39s
quality-gate / container (push) Failing after 3m11s

This commit is contained in:
KyuubiYoru
2026-07-17 01:59:30 +02:00
parent a77d4b801c
commit 74ae126ea7
4 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ jobs:
--workdir /source \ --workdir /source \
"$smoke_client_image" \ "$smoke_client_image" \
bash -lc ' bash -lc '
for attempt in {1..300}; do for attempt in {1..900}; do
curl --fail --silent "${RENDEZVOUS_SMOKE_HTTP_URL%/}/health/ready" >/dev/null 2>&1 && exec ./scripts/smoke-deployment.sh curl --fail --silent "${RENDEZVOUS_SMOKE_HTTP_URL%/}/health/ready" >/dev/null 2>&1 && exec ./scripts/smoke-deployment.sh
sleep 0.1 sleep 0.1
done done
+1 -1
View File
@@ -156,7 +156,7 @@ jobs:
--workdir /source \ --workdir /source \
"$RENDEZVOUS_RELEASE_BUILDER" \ "$RENDEZVOUS_RELEASE_BUILDER" \
bash -lc ' bash -lc '
for attempt in {1..300}; do for attempt in {1..900}; do
curl --fail --silent "${RENDEZVOUS_SMOKE_HTTP_URL%/}/health/ready" >/dev/null 2>&1 && exec ./scripts/smoke-deployment.sh curl --fail --silent "${RENDEZVOUS_SMOKE_HTTP_URL%/}/health/ready" >/dev/null 2>&1 && exec ./scripts/smoke-deployment.sh
sleep 0.1 sleep 0.1
done done
+3 -1
View File
@@ -53,7 +53,9 @@ operators should normally keep the checked-in relative defaults. CI starts its
ephemeral smoke client directly on the isolated Compose network; it does not ephemeral smoke client directly on the isolated Compose network; it does not
widen the default loopback HTTP publication. It mints the disposable publisher widen the default loopback HTTP publication. It mints the disposable publisher
credential while the generated key is still owner-private, then makes the key credential while the generated key is still owner-private, then makes the key
read-only for the non-root service container. read-only for the non-root service container. Automation allows up to 90 seconds
for a cold image to become ready; the protocol smoke retains its separate,
stricter scenario timeout.
`deploy/compose/appsettings.Production.json` is a local/private-bridge smoke `deploy/compose/appsettings.Production.json` is a local/private-bridge smoke
profile, not an Internet template: TCP is published only on host loopback, the profile, not an Internet template: TCP is published only on host loopback, the
@@ -182,7 +182,7 @@ public sealed class ReleaseCompatibilityTests
Assert.Contains("--network \"$compose_network\"", workflow, StringComparison.Ordinal); Assert.Contains("--network \"$compose_network\"", workflow, StringComparison.Ordinal);
Assert.Contains("publisher_credential", workflow, StringComparison.Ordinal); Assert.Contains("publisher_credential", workflow, StringComparison.Ordinal);
Assert.Contains("RENDEZVOUS_PUBLISHER_CREDENTIAL", workflow, StringComparison.Ordinal); Assert.Contains("RENDEZVOUS_PUBLISHER_CREDENTIAL", workflow, StringComparison.Ordinal);
Assert.Contains("for attempt in {1..300}", workflow, StringComparison.Ordinal); Assert.Contains("for attempt in {1..900}", workflow, StringComparison.Ordinal);
Assert.Contains("service_ip", workflow, StringComparison.Ordinal); Assert.Contains("service_ip", workflow, StringComparison.Ordinal);
Assert.Contains("http://${service_ip}:8080/", workflow, StringComparison.Ordinal); Assert.Contains("http://${service_ip}:8080/", workflow, StringComparison.Ordinal);
Assert.Contains("${service_ip}:9050", workflow, StringComparison.Ordinal); Assert.Contains("${service_ip}:9050", workflow, StringComparison.Ordinal);