From a60831763c479fa00c83b2357577fa1e5f4922a7 Mon Sep 17 00:00:00 2001 From: Juan P Lopez Date: Mon, 21 Oct 2024 04:37:19 -0500 Subject: [PATCH] fix: env variable in consent test --- dev/Tiltfile | 3 +++ 1 file changed, 3 insertions(+) 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,