Skip to content

Commit

Permalink
build(core): pass dummy env to dev-cron rule
Browse files Browse the repository at this point in the history
  • Loading branch information
vindard committed Jan 8, 2024
1 parent abf2c99 commit 7253750
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions core/api/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -255,6 +275,7 @@ dev_pnpm_task_binary(
command = "dev:cron",
srcs = [":src"],
visibility = ["PUBLIC"],
env = dummy_env_dict,
)

dev_pnpm_task_binary(
Expand Down

0 comments on commit 7253750

Please sign in to comment.