flagon-io/g1t

public

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

g1t/services/deployments/wrangler.jsonc

56 lines2,454 bytesCodeBlame
1{
2 "$schema": "../../node_modules/wrangler/config-schema.json",
3 "name": "g1t-deployments",
4 "account_id": "1e6f2cffa3f445920836e8ebe446bb58",
5 "compatibility_date": "2026-09-26",
6 "main": "./src/index.ts",
7 // Reached only through service bindings; builds report through the API.
8 "workers_dev": false,
9 "placement": { "mode": "off" },
10 "d1_databases": [
11 {
12 "binding": "DB",
13 "database_name": "g1t-deployments",
14 "database_id": "aa935a8f-845b-4132-8fa3-98f1afba1db5",
15 "migrations_dir": "migrations"
16 }
17 ],
18 "services": [
19 { "binding": "REPOS", "service": "g1t-repos" },
20 { "binding": "WORK", "service": "g1t-work" },
21 { "binding": "IDENTITY", "service": "g1t-identity" },
22 { "binding": "BILLING", "service": "g1t-billing" },
23 { "binding": "RUNNER", "service": "g1t-runner" },
24 // Deployments belong to projects.
25 { "binding": "PROJECTS", "service": "g1t-projects" },
26 // Secrets and variables, with who may read each.
27 { "binding": "ACTIONS", "service": "g1t-actions" },
28 // Production's screenshot, asked for once per deploy (services/og).
29 { "binding": "SCREENSHOTS", "service": "g1t-og", "entrypoint": "Screenshots" }
30 ],
31 // Pull requests opened, pushed to, closed and merged; pushes to the
32 // default branch.
33 "queues": {
34 "consumers": [{ "queue": "g1t-events-deployments", "max_batch_size": 20, "max_batch_timeout": 1 }]
35 },
36 // Builds that died, usage counts, idle previews, apps of ended plans,
37 // and charging a month that is over.
38 "triggers": { "crons": ["*/10 * * * *"] },
39 "vars": {
40 "CLOUDFLARE_ACCOUNT_ID": "1e6f2cffa3f445920836e8ebe446bb58",
41 // The Workers for Platforms namespace apps are uploaded to; the
42 // dispatcher on *.g1t.page (services/pages) reads from the same one.
43 "DISPATCH_NAMESPACE": "g1t-deployments",
44 "SITE": "https://g1t.sh",
45 // The g1t.page zone: custom domains are Cloudflare for SaaS custom
46 // hostnames on it (see src/domains.ts).
47 "CUSTOM_HOSTNAMES_ZONE_ID": "45d1c969bdd9d593756e70d5f45c2cbb"
48 },
49 // Custom domains: hostname to app, written here and read by the
50 // dispatcher (services/pages). Made by scripts/setup-custom-domains.sh.
51 "kv_namespaces": [{ "binding": "DOMAINS", "id": "14bc5c233d4c46a5bbf23b5367cce5fd" }],
52 // Secret: CLOUDFLARE_API_TOKEN, scoped to Workers Scripts (edit) and
53 // Account Analytics (read), and, for custom domains, SSL and
54 // Certificates (edit) on the g1t.page zone. Without it nothing deploys.
55 "observability": { "enabled": true }
56}