fix(ci): reduce readiness probe pressure (#1)
This commit is contained in:
@@ -198,9 +198,9 @@ jobs:
|
|||||||
--workdir /source \
|
--workdir /source \
|
||||||
"$smoke_client_image" \
|
"$smoke_client_image" \
|
||||||
bash -lc '
|
bash -lc '
|
||||||
for attempt in {1..900}; do
|
for attempt in {1..180}; 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 1
|
||||||
done
|
done
|
||||||
exit 1
|
exit 1
|
||||||
' || {
|
' || {
|
||||||
|
|||||||
@@ -156,9 +156,9 @@ jobs:
|
|||||||
--workdir /source \
|
--workdir /source \
|
||||||
"$RENDEZVOUS_RELEASE_BUILDER" \
|
"$RENDEZVOUS_RELEASE_BUILDER" \
|
||||||
bash -lc '
|
bash -lc '
|
||||||
for attempt in {1..900}; do
|
for attempt in {1..180}; 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 1
|
||||||
done
|
done
|
||||||
exit 1
|
exit 1
|
||||||
' || {
|
' || {
|
||||||
|
|||||||
@@ -53,9 +53,10 @@ 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. Automation allows up to 90 seconds
|
read-only for the non-root service container. Automation probes readiness once
|
||||||
for a cold image to become ready; the protocol smoke retains its separate,
|
per second and allows up to three minutes for a cold, resource-constrained image
|
||||||
stricter scenario timeout.
|
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,8 @@ 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..900}", workflow, StringComparison.Ordinal);
|
Assert.Contains("for attempt in {1..180}", workflow, StringComparison.Ordinal);
|
||||||
|
Assert.Contains("sleep 1", 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);
|
||||||
|
|||||||
Reference in New Issue
Block a user