Skip to content

Commit

Permalink
fix: env variable in consent test
Browse files Browse the repository at this point in the history
  • Loading branch information
dolcalmi committed Oct 21, 2024
1 parent 8bb4876 commit 294d617
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev/Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -449,13 +449,16 @@ local_resource(


consent_target = "//apps/consent:dev"
consent_env = {}
if is_ci:
consent_target = '//apps/consent:consent'
consent_env = { "CI": "true" }
local_resource(
"consent",
labels = ["auth"],
cmd = "buck2 build {}".format(consent_target),
serve_cmd = "buck2 run {}".format(consent_target),
serve_env = consent_env,
readiness_probe = probe(
period_secs = 5,
http_get = http_get_action(
Expand Down

0 comments on commit 294d617

Please sign in to comment.