diff --git a/dev/Tiltfile b/dev/Tiltfile index bfe50143196..218fd0f2040 100644 --- a/dev/Tiltfile +++ b/dev/Tiltfile @@ -449,12 +449,15 @@ 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), + env = consent_env, serve_cmd = "buck2 run {}".format(consent_target), readiness_probe = probe( period_secs = 5,