diff --git a/core/api/BUCK b/core/api/BUCK index ae9155829e1..9c10f9ba18d 100644 --- a/core/api/BUCK +++ b/core/api/BUCK @@ -15,6 +15,26 @@ load( ) load("@toolchains//rover:macros.bzl", "sdl", "diff_check", "dev_update_file") +dummy_env_dict = { + "HELMREVISION": "dummy", + "KRATOS_PG_CON": "pg://dummy", + "OATHKEEPER_DECISION_ENDPOINT": "http://dummy", + "NETWORK": "regtest", + "TWILIO_ACCOUNT_SID": "dummy", + "TWILIO_AUTH_TOKEN": "dummy", + "TWILIO_VERIFY_SERVICE_ID": "dummy", + "KRATOS_PUBLIC_API": "http://dummy", + "KRATOS_ADMIN_API": "http://dummy", + "KRATOS_MASTER_USER_PASSWORD": "dummy", + "KRATOS_CALLBACK_API_KEY": "dummy", + "BRIA_HOST": "dummy", + "BRIA_API_KEY": "dummy", + "MONGODB_CON": "mongodb://dummy", + "REDIS_MASTER_NAME": "dummy", + "REDIS_PASSWORD": "dummy", + "REDIS_0_DNS": "dummy", +} + dev_pnpm_task_binary( name = "fix-lint", command = "eslint-fix", @@ -255,6 +275,7 @@ dev_pnpm_task_binary( command = "dev:cron", srcs = [":src"], visibility = ["PUBLIC"], + env = dummy_env_dict, ) dev_pnpm_task_binary(