Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #74

Merged
merged 2 commits into from
Aug 2, 2024
Merged

Dev #74

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name = "dilmahtea-me-baserow-matrix-webhook"
account_id = "f0f636c746c8673c3905e9104b385251"
compatibility_date = "2022-11-30"
main = "./src/index.js"
workers_dev = true
workers_dev = false
logpush = true
routes = [
{ pattern = "baserow-matrix-webhook.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" }
Expand Down
12 changes: 6 additions & 6 deletions src/workers/dilmahtea-me-baserow/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ main = "./src/index.ts"
workers_dev = false
logpush = true
placement = { mode = "smart" }
routes = [
{ pattern = "baserow.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" }
]
# routes = [
# { pattern = "baserow.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" }
# ]
kv_namespaces = [
{ binding = "CROWDFUNDINGS", id = "c971dd86589647799fb64dde47563fac" },
{ binding = "ECOMMERCE_PAYMENTS", id = "5086c43e26a14fa3a177ea876f514a8f" }
Expand All @@ -20,9 +20,9 @@ services = [{ binding = "RETRY_WORKERS", service = "dilmahtea-me-retry-workers"
[env.development]
name = "dilmahtea-me-baserow-dev"
vars = { CF_PAGES_DOMAIN = "https://*.dilmahtea-me.pages.dev" }
routes = [
{ pattern = "dev.baserow.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" }
]
# routes = [
# { pattern = "dev.baserow.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" }
# ]
kv_namespaces = [
{ binding = "CROWDFUNDINGS", id = "bce59b3e55474063abce8ef8f5d755e7" },
{ binding = "ECOMMERCE_PAYMENTS", id = "acd54db867fe4fa18351d3b89a00c05a" }
Expand Down
12 changes: 6 additions & 6 deletions src/workers/dilmahtea-me-dimass-webhook/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ workers_dev = false
logpush = true
placement = { mode = "smart" }
vars = { ENVIRONMENT = "PRODUCTION", JOURNAL_CODE = "VER" }
routes = [
{ pattern = "dimass-webhook.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" },
]
# routes = [
# { pattern = "dimass-webhook.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" },
# ]
kv_namespaces = [
{ binding = "EXACT_TOKENS", id = "0cbeb7b84a6a4e31b9c3360f97c9cef5" },
{ binding = "EXACT_GUID_COLLECTION", id = "b75eb1bee9d7488fa33b8be89caab307" },
Expand All @@ -22,9 +22,9 @@ services = [{ binding = "RETRY_WORKERS", service = "dilmahtea-me-retry-workers"
[env.development]
name = "dilmahtea-me-dimass-webhook-dev"
vars = { ENVIRONMENT = "DEVELOPMENT", JOURNAL_CODE = "VER" }
routes = [
{ pattern = "dev.dimass-webhook.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" },
]
# routes = [
# { pattern = "dev.dimass-webhook.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" },
# ]
kv_namespaces = [
{ binding = "EXACT_TOKENS", id = "0cbeb7b84a6a4e31b9c3360f97c9cef5" },
{ binding = "EXACT_GUID_COLLECTION", id = "f767fadbe91d459893e903cc9a01d40a" },
Expand Down
6 changes: 3 additions & 3 deletions src/workers/dilmahtea-me-exact-account/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ services = [{ binding = "RETRY_WORKERS", service = "dilmahtea-me-retry-workers"

[env.development]
name = "dilmahtea-me-exact-account-dev"
routes = [
{ pattern = "dev.exact-account.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" },
]
# routes = [
# { pattern = "dev.exact-account.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" },
# ]
kv_namespaces = [
{ binding = "EXACT_TOKENS", id = "0cbeb7b84a6a4e31b9c3360f97c9cef5" },
{ binding = "EXACT_GUID_COLLECTION", id = "f767fadbe91d459893e903cc9a01d40a" },
Expand Down
3 changes: 2 additions & 1 deletion src/workers/dilmahtea-me-exact-auth/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ compatibility_date = "2022-11-30"
main = "./src/index.js"
workers_dev = false
logpush = true
triggers = { crons = ["*/10 * * * *"]}
# re-enabling the worker requires regenerating the initial auth tokens
# triggers = { crons = ["*/10 * * * *"]}
kv_namespaces = [{ binding = "EXACT_TOKENS", id = "0cbeb7b84a6a4e31b9c3360f97c9cef5" }]

# secrets
Expand Down
3 changes: 2 additions & 1 deletion src/workers/dilmahtea-me-exact-sync/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ compatibility_date = "2022-11-30"
main = "./src/index.js"
workers_dev = false
logpush = true
triggers = { crons = ["0 * * * *"]}
# re-enabling the worker requires optimization # EXCEEDED RESOURCES (Cloudflare)
# triggers = { crons = ["0 * * * *"]}
vars = { ENVIRONMENT = "PRODUCTION" }
kv_namespaces = [{ binding = "EXACT_TOKENS", id = "0cbeb7b84a6a4e31b9c3360f97c9cef5" }]

Expand Down
13 changes: 7 additions & 6 deletions src/workers/dilmahtea-me-exact-webhook/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,18 @@ main = "./src/index.ts"
workers_dev = false
logpush = true
placement = { mode = "smart" }
routes = [
{ pattern = "exact-webhook.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" }
]
# re-enabling the worker requires re-subscribing to Exact webhooks and fixing the worker first (probably)
# routes = [
# { pattern = "exact-webhook.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" }
# ]
kv_namespaces = [{ binding = "EXACT_TOKENS", id = "0cbeb7b84a6a4e31b9c3360f97c9cef5" }]
services = [{ binding = "RETRY_WORKERS", service = "dilmahtea-me-retry-workers" }]

[env.development]
name = "dilmahtea-me-exact-webhook-dev"
routes = [
{ pattern = "dev.exact-webhook.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" }
]
# routes = [
# { pattern = "dev.exact-webhook.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" }
# ]
kv_namespaces = [{ binding = "EXACT_TOKENS", id = "0cbeb7b84a6a4e31b9c3360f97c9cef5" }]
services = [{ binding = "RETRY_WORKERS", service = "dilmahtea-me-retry-workers" }]

Expand Down
6 changes: 3 additions & 3 deletions src/workers/dilmahtea-me-plausible/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ compatibility_date = "2022-11-30"
main = "./src/index.js"
workers_dev = false
logpush = true
routes = [
{ pattern = "analytics.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" }
]
# routes = [
# { pattern = "analytics.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" }
# ]
d1_databases = [
{ binding = "USERS", database_name = "users", database_id = "74a1dc02-0705-44fb-b009-fb2fe974e098" }
]
Expand Down
12 changes: 6 additions & 6 deletions src/workers/dilmahtea-me-stripe-webhook/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ workers_dev = false
logpush = true
placement = { mode = "smart" }
vars = { ENVIRONMENT = "PRODUCTION", PAYMENT_CONDITION = "VB", EMAIL_WORKER_URL = "https://email.scripts.dilmahtea.me", EXACT_ACCOUNT_WORKER_URL = "https://exact-account.scripts.dilmahtea.me" }
routes = [
{ pattern = "pay-webhook.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" }
]
# routes = [
# { pattern = "pay-webhook.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" }
# ]
kv_namespaces = [
{ binding = "MAILS", id = "51f5be62eaf64aa8a9c69bccb81d396e" },
{ binding = "EXACT_TOKENS", id = "0cbeb7b84a6a4e31b9c3360f97c9cef5" },
Expand All @@ -28,9 +28,9 @@ services = [
[env.development]
name = "dilmahtea-me-stripe-webhook-dev"
vars = { ENVIRONMENT = "DEVELOPMENT", PAYMENT_CONDITION = "VB", EMAIL_WORKER_URL = "https://email.scripts.dilmahtea.me", EXACT_ACCOUNT_WORKER_URL = "https://dev.exact-account.scripts.dilmahtea.me" }
routes = [
{ pattern = "dev.pay-webhook.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" }
]
# routes = [
# { pattern = "dev.pay-webhook.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" }
# ]
kv_namespaces = [
{ binding = "MAILS", id = "7001794de1f245c0b37792b9215c1acf" },
{ binding = "EXACT_TOKENS", id = "0cbeb7b84a6a4e31b9c3360f97c9cef5" },
Expand Down
12 changes: 6 additions & 6 deletions src/workers/dilmahtea-me-stripe/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ main = "./src/index.js"
workers_dev = false
logpush = true
placement = { mode = "smart" }
routes = [
{ pattern = "pay.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" }
]
# routes = [
# { pattern = "pay.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" }
# ]
kv_namespaces = [
{ binding = "CROWDFUNDINGS", id = "c971dd86589647799fb64dde47563fac" },
{ binding = "ECOMMERCE_PAYMENTS", id = "5086c43e26a14fa3a177ea876f514a8f" }
Expand All @@ -19,9 +19,9 @@ d1_databases = [
[env.development]
name = "dilmahtea-me-stripe-dev"
vars = { CF_PAGES_DOMAIN = "https://*.dilmahtea-me.pages.dev" }
routes = [
{ pattern = "dev.pay.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" }
]
# routes = [
# { pattern = "dev.pay.scripts.dilmahtea.me", custom_domain = true, zone_name = "dilmahtea.me" }
# ]
kv_namespaces = [
{ binding = "CROWDFUNDINGS", id = "bce59b3e55474063abce8ef8f5d755e7" },
{ binding = "ECOMMERCE_PAYMENTS", id = "acd54db867fe4fa18351d3b89a00c05a" }
Expand Down
Loading