-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
64 lines (55 loc) · 2.19 KB
/
Copy pathwrangler.jsonc
File metadata and controls
64 lines (55 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "gitflare",
"main": "src/server.ts",
"compatibility_date": "2026-08-06",
"compatibility_flags": ["nodejs_compat"],
"observability": { "enabled": true },
"vars": {
// The Artifacts namespace every repo lives in. Artifacts repo names are flat
// within a namespace, so `owner/repo` is stored as `owner--repo`.
"ARTIFACTS_NAMESPACE": "gitflare",
// Cloudflare Access team domain, e.g. "acme.cloudflareaccess.com". Leave empty
// to fall back to local dev sessions (see src/server/auth/access.ts).
"ACCESS_TEAM_DOMAIN": "",
// Access application AUD tag. Required whenever ACCESS_TEAM_DOMAIN is set.
"ACCESS_AUD": "",
"GITFLARE_URL": "https://gitflare.astrid-906.workers.dev"
},
// Secrets (set with `wrangler secret put`):
// CLOUDFLARE_ACCOUNT_ID - account that owns the Artifacts namespace
// CF_API_TOKEN - Artifacts:Read token for the REST content endpoints
"artifacts": [{ "binding": "ARTIFACTS", "namespace": "gitflare" }],
"d1_databases": [
{
"binding": "DB",
"database_name": "gitflare",
"database_id": "6d8788b0-a346-472f-b13c-925272f42378",
"migrations_dir": "migrations"
}
],
"kv_namespaces": [
// Caches the Cloudflare Access JWKS and other short-lived lookups.
{ "binding": "CACHE", "id": "d27a1c5c71144970985e1075e21a36cd" }
],
"r2_buckets": [{ "binding": "ASSETS_BUCKET", "bucket_name": "gitflare-assets" }],
"queues": {
"producers": [{ "binding": "WEBHOOKS", "queue": "gitflare-webhooks" }],
"consumers": [
{
"queue": "gitflare-webhooks",
"max_batch_size": 10,
"max_retries": 5,
"dead_letter_queue": "gitflare-webhooks-dlq"
}
]
},
"durable_objects": {
"bindings": [{ "name": "CI_LOGS", "class_name": "CiLogStream" }]
},
"migrations": [{ "tag": "v1", "new_sqlite_classes": ["CiLogStream"] }],
// Uncomment once gitflare-ci is deployed. The binding is optional in code —
// CIService.Rerun reports `unavailable` without it — so the main Worker can
// ship before the CI Worker exists.
// "services": [{ "binding": "CI", "service": "gitflare-ci" }]
}