Skip to content

Commit

Permalink
ci: add readiness_probe to consent
Browse files Browse the repository at this point in the history
  • Loading branch information
vindard committed Feb 10, 2024
1 parent 6088d96 commit e5e3418
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dev/Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e5e3418

Please sign in to comment.