From e5e3418906d6b08d07b9542fe7707e74446be083 Mon Sep 17 00:00:00 2001 From: vindard <17693119+vindard@users.noreply.github.com> Date: Sat, 10 Feb 2024 15:37:15 -0400 Subject: [PATCH] ci: add readiness_probe to consent --- dev/Tiltfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev/Tiltfile b/dev/Tiltfile index 35e8314f55..52e7f5570f 100644 --- a/dev/Tiltfile +++ b/dev/Tiltfile @@ -284,6 +284,13 @@ local_resource( labels = ["auth"], cmd = "buck2 build {}".format(consent_target), serve_cmd = "buck2 run {}".format(consent_target), + readiness_probe = probe( + period_secs = 5, + http_get = http_get_action( + path = "/", + port = 3000, + ), + ), deps = _buck2_dep_inputs(consent_target), allow_parallel = True, auto_init = run_apps,