@intentic/sdk 1.125.1 → 1.126.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,563 +1,669 @@
1
1
  export const expectedGraph = {
2
- version: 1,
3
- resources: {
4
- host: {
5
- id: "host",
6
- type: "host",
7
- inputs: {
8
- address: "203.0.113.10",
9
- user: "deploy",
10
- sshKey: {
11
- $secret: {
12
- source: "env",
13
- key: "HOST_SSH_KEY",
14
- },
15
- },
2
+ "version": 1,
3
+ "resources": {
4
+ "host": {
5
+ "id": "host",
6
+ "type": "host",
7
+ "inputs": {
8
+ "address": "203.0.113.10",
9
+ "user": "deploy",
10
+ "sshKey": {
11
+ "$secret": {
12
+ "source": "env",
13
+ "key": "HOST_SSH_KEY"
14
+ }
15
+ }
16
16
  },
17
- dependsOn: [],
17
+ "dependsOn": []
18
18
  },
19
- cf: {
20
- id: "cf",
21
- type: "cloudflare",
22
- inputs: {
23
- apiToken: {
24
- $secret: {
25
- source: "env",
26
- key: "CLOUDFLARE_API_TOKEN",
27
- },
28
- },
29
- zone: "example.com",
19
+ "cf": {
20
+ "id": "cf",
21
+ "type": "cloudflare",
22
+ "inputs": {
23
+ "apiToken": {
24
+ "$secret": {
25
+ "source": "env",
26
+ "key": "CLOUDFLARE_API_TOKEN"
27
+ }
28
+ },
29
+ "zone": "example.com"
30
30
  },
31
- dependsOn: [],
31
+ "dependsOn": []
32
32
  },
33
33
  "host-git": {
34
- id: "host-git",
35
- type: "forgejo",
36
- inputs: {
37
- server: {
38
- $ref: "host",
39
- },
40
- address: "203.0.113.10",
41
- user: "deploy",
42
- sshKey: {
43
- $secret: {
44
- source: "env",
45
- key: "HOST_SSH_KEY",
46
- },
47
- },
48
- internalIp: {
49
- $ref: "host.internalIp",
50
- },
51
- domain: "git.example.com",
52
- adminUser: "intentic",
53
- adminPassword: {
54
- $secret: {
55
- source: "generated",
56
- key: "FORGEJO_ADMIN_PASSWORD",
57
- },
58
- },
59
- image: "codeberg.org/forgejo/forgejo:15.0.3@sha256:55bb42bec9abef5223744804f164e37d37b20df7e8b8b4807ba213ad4f071d6d",
60
- },
61
- dependsOn: ["host"],
62
- readyWhen: {
63
- check: "httpOk",
64
- url: {
65
- $ref: "host-git.internalUrl",
66
- },
67
- timeout: "120s",
34
+ "id": "host-git",
35
+ "type": "forgejo",
36
+ "inputs": {
37
+ "server": {
38
+ "$ref": "host"
39
+ },
40
+ "address": "203.0.113.10",
41
+ "user": "deploy",
42
+ "sshKey": {
43
+ "$secret": {
44
+ "source": "env",
45
+ "key": "HOST_SSH_KEY"
46
+ }
47
+ },
48
+ "internalIp": {
49
+ "$ref": "host.internalIp"
50
+ },
51
+ "domain": "git.example.com",
52
+ "adminUser": "intentic",
53
+ "adminPassword": {
54
+ "$secret": {
55
+ "source": "generated",
56
+ "key": "FORGEJO_ADMIN_PASSWORD"
57
+ }
58
+ },
59
+ "image": "codeberg.org/forgejo/forgejo:15.0.3@sha256:55bb42bec9abef5223744804f164e37d37b20df7e8b8b4807ba213ad4f071d6d"
68
60
  },
61
+ "dependsOn": [
62
+ "host"
63
+ ],
64
+ "readyWhen": {
65
+ "check": "httpOk",
66
+ "url": {
67
+ "$ref": "host-git.internalUrl"
68
+ },
69
+ "timeout": "120s"
70
+ }
69
71
  },
70
72
  "host-git-runner": {
71
- id: "host-git-runner",
72
- type: "forgejo-runner",
73
- inputs: {
74
- server: {
75
- $ref: "host",
76
- },
77
- address: "203.0.113.10",
78
- user: "deploy",
79
- sshKey: {
80
- $secret: {
81
- source: "env",
82
- key: "HOST_SSH_KEY",
83
- },
84
- },
85
- instanceUrl: {
86
- $ref: "host-git.internalUrl",
87
- },
88
- token: {
89
- $ref: "host-git.runnerToken",
90
- },
91
- image: "data.forgejo.org/forgejo/runner:12.12.0@sha256:268ad0d1d24bd7ecf2386b7c44e8211398dc014ca81d4fd5fbad96fe79af18f5",
92
- jobImage: "data.forgejo.org/oci/node:24-bookworm@sha256:fdddfb3e688158251943d52eba361de991548f6814007acba4917ae6b512d6be",
73
+ "id": "host-git-runner",
74
+ "type": "forgejo-runner",
75
+ "inputs": {
76
+ "server": {
77
+ "$ref": "host"
78
+ },
79
+ "address": "203.0.113.10",
80
+ "user": "deploy",
81
+ "sshKey": {
82
+ "$secret": {
83
+ "source": "env",
84
+ "key": "HOST_SSH_KEY"
85
+ }
86
+ },
87
+ "instanceUrl": {
88
+ "$ref": "host-git.internalUrl"
89
+ },
90
+ "token": {
91
+ "$ref": "host-git.runnerToken"
92
+ },
93
+ "image": "data.forgejo.org/forgejo/runner:12.12.0@sha256:268ad0d1d24bd7ecf2386b7c44e8211398dc014ca81d4fd5fbad96fe79af18f5",
94
+ "jobImage": "data.forgejo.org/oci/node:24-bookworm@sha256:fdddfb3e688158251943d52eba361de991548f6814007acba4917ae6b512d6be"
93
95
  },
94
- dependsOn: ["host", "host-git"],
96
+ "dependsOn": [
97
+ "host",
98
+ "host-git"
99
+ ]
95
100
  },
96
101
  "host-deploy": {
97
- id: "host-deploy",
98
- type: "komodo",
99
- inputs: {
100
- server: {
101
- $ref: "host",
102
- },
103
- address: "203.0.113.10",
104
- user: "deploy",
105
- sshKey: {
106
- $secret: {
107
- source: "env",
108
- key: "HOST_SSH_KEY",
109
- },
110
- },
111
- internalIp: {
112
- $ref: "host.internalIp",
113
- },
114
- domain: "deploy.example.com",
115
- forgejoUrl: {
116
- $ref: "host-git.internalUrl",
117
- },
118
- runnerToken: {
119
- $ref: "host-git.runnerToken",
120
- },
121
- adminUser: "intentic",
122
- adminPassword: {
123
- $secret: {
124
- source: "generated",
125
- key: "KOMODO_ADMIN_PASSWORD",
126
- },
127
- },
128
- gitAccount: "intentic",
129
- gitToken: {
130
- $ref: "host-git.gitToken",
131
- },
132
- registry: "git.example.com",
133
- packagesToken: {
134
- $ref: "host-git.packagesToken",
135
- },
136
- coreImage: "ghcr.io/moghtech/komodo-core:2.1.0@sha256:4915d91b5c6e9de4e8fd59391eed5cad090ec84dcf6a1a9233d97edfdbbb88e7",
137
- peripheryImage: "ghcr.io/moghtech/komodo-periphery:2.1.0@sha256:f5b272e3d9acd60d4eac69ea4fa0292dcaddfdecfc2be64ba5575e5ae18e72ae",
138
- ferretdbImage: "ghcr.io/ferretdb/ferretdb:2.7.0@sha256:5706414241eb84f0515512c37b46db0f1b1eac9e5ceb7e4c2523211c184b1985",
139
- postgresImage: "ghcr.io/ferretdb/postgres-documentdb:17-0.107.0-ferretdb-2.7.0@sha256:2386795ec2aa7ae559304361979f1dc5708d383ee9020ae63dadc2940dfe58f7",
140
- },
141
- dependsOn: ["host", "host-git"],
142
- readyWhen: {
143
- check: "httpOk",
144
- url: {
145
- $ref: "host-deploy.internalUrl",
146
- },
147
- timeout: "90s",
102
+ "id": "host-deploy",
103
+ "type": "komodo",
104
+ "inputs": {
105
+ "server": {
106
+ "$ref": "host"
107
+ },
108
+ "address": "203.0.113.10",
109
+ "user": "deploy",
110
+ "sshKey": {
111
+ "$secret": {
112
+ "source": "env",
113
+ "key": "HOST_SSH_KEY"
114
+ }
115
+ },
116
+ "internalIp": {
117
+ "$ref": "host.internalIp"
118
+ },
119
+ "domain": "deploy.example.com",
120
+ "adminUser": "intentic",
121
+ "adminPassword": {
122
+ "$secret": {
123
+ "source": "generated",
124
+ "key": "KOMODO_ADMIN_PASSWORD"
125
+ }
126
+ },
127
+ "gitUrl": {
128
+ "$ref": "host-git.internalUrl"
129
+ },
130
+ "gitAccount": "intentic",
131
+ "gitToken": {
132
+ "$ref": "host-git.gitToken"
133
+ },
134
+ "registry": "git.example.com",
135
+ "registryUser": "intentic",
136
+ "registryToken": {
137
+ "$ref": "host-git.packagesToken"
138
+ },
139
+ "coreImage": "ghcr.io/moghtech/komodo-core:2.1.0@sha256:4915d91b5c6e9de4e8fd59391eed5cad090ec84dcf6a1a9233d97edfdbbb88e7",
140
+ "peripheryImage": "ghcr.io/moghtech/komodo-periphery:2.1.0@sha256:f5b272e3d9acd60d4eac69ea4fa0292dcaddfdecfc2be64ba5575e5ae18e72ae",
141
+ "ferretdbImage": "ghcr.io/ferretdb/ferretdb:2.7.0@sha256:5706414241eb84f0515512c37b46db0f1b1eac9e5ceb7e4c2523211c184b1985",
142
+ "postgresImage": "ghcr.io/ferretdb/postgres-documentdb:17-0.107.0-ferretdb-2.7.0@sha256:2386795ec2aa7ae559304361979f1dc5708d383ee9020ae63dadc2940dfe58f7"
148
143
  },
144
+ "dependsOn": [
145
+ "host",
146
+ "host-git"
147
+ ],
148
+ "readyWhen": {
149
+ "check": "httpOk",
150
+ "url": {
151
+ "$ref": "host-deploy.internalUrl"
152
+ },
153
+ "timeout": "90s"
154
+ }
149
155
  },
150
156
  "cf-git-example-com": {
151
- id: "cf-git-example-com",
152
- type: "cf-route",
153
- inputs: {
154
- hostname: "git.example.com",
155
- zoneId: {
156
- $ref: "cf.zoneId",
157
- },
158
- apiToken: {
159
- $secret: {
160
- source: "env",
161
- key: "CLOUDFLARE_API_TOKEN",
162
- },
163
- },
164
- cname: {
165
- $ref: "host-tunnel.cname",
166
- },
157
+ "id": "cf-git-example-com",
158
+ "type": "cf-route",
159
+ "inputs": {
160
+ "hostname": "git.example.com",
161
+ "zoneId": {
162
+ "$ref": "cf.zoneId"
163
+ },
164
+ "apiToken": {
165
+ "$secret": {
166
+ "source": "env",
167
+ "key": "CLOUDFLARE_API_TOKEN"
168
+ }
169
+ },
170
+ "cname": {
171
+ "$ref": "host-tunnel.cname"
172
+ }
167
173
  },
168
- dependsOn: ["cf", "host-tunnel"],
174
+ "dependsOn": [
175
+ "cf",
176
+ "host-tunnel"
177
+ ]
169
178
  },
170
179
  "cf-deploy-example-com": {
171
- id: "cf-deploy-example-com",
172
- type: "cf-route",
173
- inputs: {
174
- hostname: "deploy.example.com",
175
- zoneId: {
176
- $ref: "cf.zoneId",
177
- },
178
- apiToken: {
179
- $secret: {
180
- source: "env",
181
- key: "CLOUDFLARE_API_TOKEN",
182
- },
183
- },
184
- cname: {
185
- $ref: "host-tunnel.cname",
186
- },
180
+ "id": "cf-deploy-example-com",
181
+ "type": "cf-route",
182
+ "inputs": {
183
+ "hostname": "deploy.example.com",
184
+ "zoneId": {
185
+ "$ref": "cf.zoneId"
186
+ },
187
+ "apiToken": {
188
+ "$secret": {
189
+ "source": "env",
190
+ "key": "CLOUDFLARE_API_TOKEN"
191
+ }
192
+ },
193
+ "cname": {
194
+ "$ref": "host-tunnel.cname"
195
+ }
187
196
  },
188
- dependsOn: ["cf", "host-tunnel"],
197
+ "dependsOn": [
198
+ "cf",
199
+ "host-tunnel"
200
+ ]
189
201
  },
190
202
  "my-app-repo": {
191
- id: "my-app-repo",
192
- type: "repo",
193
- inputs: {
194
- name: "my-app",
195
- owner: "squad",
196
- private: true,
197
- forgejoUrl: {
198
- $ref: "host-git.url",
199
- },
200
- domain: "git.example.com",
201
- adminUser: "intentic",
202
- adminPassword: {
203
- $secret: {
204
- source: "generated",
205
- key: "FORGEJO_ADMIN_PASSWORD",
206
- },
207
- },
203
+ "id": "my-app-repo",
204
+ "type": "repo",
205
+ "inputs": {
206
+ "name": "my-app",
207
+ "owner": "squad",
208
+ "private": true,
209
+ "address": "203.0.113.10",
210
+ "user": "deploy",
211
+ "sshKey": {
212
+ "$secret": {
213
+ "source": "env",
214
+ "key": "HOST_SSH_KEY"
215
+ }
216
+ },
217
+ "domain": "git.example.com",
218
+ "adminUser": "intentic",
219
+ "adminPassword": {
220
+ "$secret": {
221
+ "source": "generated",
222
+ "key": "FORGEJO_ADMIN_PASSWORD"
223
+ }
224
+ }
208
225
  },
209
- dependsOn: ["host-git", "cf-git-example-com", "host-git-org-squad"],
226
+ "dependsOn": [
227
+ "host-git",
228
+ "host-git-org-squad"
229
+ ]
210
230
  },
211
231
  "my-app.staging-ci": {
212
- id: "my-app.staging-ci",
213
- type: "ci",
214
- inputs: {
215
- forgejoUrl: {
216
- $ref: "host-git.url",
217
- },
218
- adminUser: "intentic",
219
- adminPassword: {
220
- $secret: {
221
- source: "generated",
222
- key: "FORGEJO_ADMIN_PASSWORD",
223
- },
224
- },
225
- komodoPassword: {
226
- $secret: {
227
- source: "generated",
228
- key: "KOMODO_ADMIN_PASSWORD",
229
- },
230
- },
231
- owner: "squad",
232
- repoName: "my-app",
233
- branch: "develop",
234
- registry: "git.example.com",
235
- tag: "staging",
236
- packagesToken: {
237
- $ref: "host-git.packagesToken",
238
- },
239
- komodoUrl: {
240
- $ref: "host-deploy.internalUrl",
241
- },
242
- deployment: "my-app.staging",
232
+ "id": "my-app.staging-ci",
233
+ "type": "ci",
234
+ "inputs": {
235
+ "address": "203.0.113.10",
236
+ "user": "deploy",
237
+ "sshKey": {
238
+ "$secret": {
239
+ "source": "env",
240
+ "key": "HOST_SSH_KEY"
241
+ }
242
+ },
243
+ "adminUser": "intentic",
244
+ "adminPassword": {
245
+ "$secret": {
246
+ "source": "generated",
247
+ "key": "FORGEJO_ADMIN_PASSWORD"
248
+ }
249
+ },
250
+ "komodoPassword": {
251
+ "$secret": {
252
+ "source": "generated",
253
+ "key": "KOMODO_ADMIN_PASSWORD"
254
+ }
255
+ },
256
+ "owner": "squad",
257
+ "repoName": "my-app",
258
+ "branch": "develop",
259
+ "registry": "git.example.com",
260
+ "tag": "staging",
261
+ "packagesToken": {
262
+ "$ref": "host-git.packagesToken"
263
+ },
264
+ "komodoUrl": {
265
+ "$ref": "host-deploy.internalUrl"
266
+ },
267
+ "deployment": "my-app.staging"
243
268
  },
244
- dependsOn: ["host-git", "cf-git-example-com", "host-deploy", "my-app-repo", "host-git-org-squad"],
269
+ "dependsOn": [
270
+ "host-git",
271
+ "host-deploy",
272
+ "my-app-repo",
273
+ "host-git-org-squad"
274
+ ]
245
275
  },
246
276
  "my-app.staging": {
247
- id: "my-app.staging",
248
- type: "deployment",
249
- inputs: {
250
- owner: "squad",
251
- repoName: "my-app",
252
- registry: "git.example.com",
253
- tag: "staging",
254
- domain: "staging.example.com",
255
- internalIp: {
256
- $ref: "host.internalIp",
257
- },
258
- port: 27748,
259
- komodoUrl: {
260
- $ref: "host-deploy.url",
261
- },
262
- adminUser: "intentic",
263
- adminPassword: {
264
- $secret: {
265
- source: "generated",
266
- key: "KOMODO_ADMIN_PASSWORD",
267
- },
268
- },
269
- env: {
270
- DATABASE_URL: {
271
- $secret: {
272
- source: "env",
273
- key: "STAGING_DATABASE_URL",
274
- },
275
- },
276
- },
277
+ "id": "my-app.staging",
278
+ "type": "deployment",
279
+ "inputs": {
280
+ "owner": "squad",
281
+ "repoName": "my-app",
282
+ "registry": "git.example.com",
283
+ "registryAccount": "intentic",
284
+ "tag": "staging",
285
+ "domain": "staging.example.com",
286
+ "internalIp": {
287
+ "$ref": "host.internalIp"
288
+ },
289
+ "port": 27748,
290
+ "address": "203.0.113.10",
291
+ "user": "deploy",
292
+ "sshKey": {
293
+ "$secret": {
294
+ "source": "env",
295
+ "key": "HOST_SSH_KEY"
296
+ }
297
+ },
298
+ "adminUser": "intentic",
299
+ "adminPassword": {
300
+ "$secret": {
301
+ "source": "generated",
302
+ "key": "KOMODO_ADMIN_PASSWORD"
303
+ }
304
+ },
305
+ "env": {
306
+ "DATABASE_URL": {
307
+ "$secret": {
308
+ "source": "env",
309
+ "key": "STAGING_DATABASE_URL"
310
+ }
311
+ }
312
+ }
277
313
  },
278
- dependsOn: ["my-app.staging-ci", "cf-deploy-example-com", "host", "host-deploy"],
314
+ "dependsOn": [
315
+ "my-app.staging-ci",
316
+ "host-deploy",
317
+ "host"
318
+ ]
279
319
  },
280
320
  "cf-staging-example-com": {
281
- id: "cf-staging-example-com",
282
- type: "cf-route",
283
- inputs: {
284
- hostname: "staging.example.com",
285
- zoneId: {
286
- $ref: "cf.zoneId",
287
- },
288
- apiToken: {
289
- $secret: {
290
- source: "env",
291
- key: "CLOUDFLARE_API_TOKEN",
292
- },
293
- },
294
- cname: {
295
- $ref: "host-tunnel.cname",
296
- },
321
+ "id": "cf-staging-example-com",
322
+ "type": "cf-route",
323
+ "inputs": {
324
+ "hostname": "staging.example.com",
325
+ "zoneId": {
326
+ "$ref": "cf.zoneId"
327
+ },
328
+ "apiToken": {
329
+ "$secret": {
330
+ "source": "env",
331
+ "key": "CLOUDFLARE_API_TOKEN"
332
+ }
333
+ },
334
+ "cname": {
335
+ "$ref": "host-tunnel.cname"
336
+ }
297
337
  },
298
- dependsOn: ["cf", "host-tunnel"],
338
+ "dependsOn": [
339
+ "cf",
340
+ "host-tunnel"
341
+ ]
299
342
  },
300
343
  "my-app.production-ci": {
301
- id: "my-app.production-ci",
302
- type: "ci",
303
- inputs: {
304
- forgejoUrl: {
305
- $ref: "host-git.url",
306
- },
307
- adminUser: "intentic",
308
- adminPassword: {
309
- $secret: {
310
- source: "generated",
311
- key: "FORGEJO_ADMIN_PASSWORD",
312
- },
313
- },
314
- komodoPassword: {
315
- $secret: {
316
- source: "generated",
317
- key: "KOMODO_ADMIN_PASSWORD",
318
- },
319
- },
320
- owner: "squad",
321
- repoName: "my-app",
322
- branch: "main",
323
- registry: "git.example.com",
324
- tag: "production",
325
- packagesToken: {
326
- $ref: "host-git.packagesToken",
327
- },
328
- komodoUrl: {
329
- $ref: "host-deploy.internalUrl",
330
- },
331
- deployment: "my-app.production",
344
+ "id": "my-app.production-ci",
345
+ "type": "ci",
346
+ "inputs": {
347
+ "address": "203.0.113.10",
348
+ "user": "deploy",
349
+ "sshKey": {
350
+ "$secret": {
351
+ "source": "env",
352
+ "key": "HOST_SSH_KEY"
353
+ }
354
+ },
355
+ "adminUser": "intentic",
356
+ "adminPassword": {
357
+ "$secret": {
358
+ "source": "generated",
359
+ "key": "FORGEJO_ADMIN_PASSWORD"
360
+ }
361
+ },
362
+ "komodoPassword": {
363
+ "$secret": {
364
+ "source": "generated",
365
+ "key": "KOMODO_ADMIN_PASSWORD"
366
+ }
367
+ },
368
+ "owner": "squad",
369
+ "repoName": "my-app",
370
+ "branch": "main",
371
+ "registry": "git.example.com",
372
+ "tag": "production",
373
+ "packagesToken": {
374
+ "$ref": "host-git.packagesToken"
375
+ },
376
+ "komodoUrl": {
377
+ "$ref": "host-deploy.internalUrl"
378
+ },
379
+ "deployment": "my-app.production"
332
380
  },
333
- dependsOn: ["host-git", "cf-git-example-com", "host-deploy", "my-app-repo", "host-git-org-squad"],
381
+ "dependsOn": [
382
+ "host-git",
383
+ "host-deploy",
384
+ "my-app-repo",
385
+ "host-git-org-squad"
386
+ ]
334
387
  },
335
388
  "my-app.production": {
336
- id: "my-app.production",
337
- type: "deployment",
338
- inputs: {
339
- owner: "squad",
340
- repoName: "my-app",
341
- registry: "git.example.com",
342
- tag: "production",
343
- domain: "app.example.com",
344
- internalIp: {
345
- $ref: "host.internalIp",
346
- },
347
- port: 23104,
348
- komodoUrl: {
349
- $ref: "host-deploy.url",
350
- },
351
- adminUser: "intentic",
352
- adminPassword: {
353
- $secret: {
354
- source: "generated",
355
- key: "KOMODO_ADMIN_PASSWORD",
356
- },
357
- },
358
- env: {
359
- DATABASE_URL: {
360
- $secret: {
361
- source: "env",
362
- key: "PRODUCTION_DATABASE_URL",
363
- },
364
- },
365
- },
389
+ "id": "my-app.production",
390
+ "type": "deployment",
391
+ "inputs": {
392
+ "owner": "squad",
393
+ "repoName": "my-app",
394
+ "registry": "git.example.com",
395
+ "registryAccount": "intentic",
396
+ "tag": "production",
397
+ "domain": "app.example.com",
398
+ "internalIp": {
399
+ "$ref": "host.internalIp"
400
+ },
401
+ "port": 23104,
402
+ "address": "203.0.113.10",
403
+ "user": "deploy",
404
+ "sshKey": {
405
+ "$secret": {
406
+ "source": "env",
407
+ "key": "HOST_SSH_KEY"
408
+ }
409
+ },
410
+ "adminUser": "intentic",
411
+ "adminPassword": {
412
+ "$secret": {
413
+ "source": "generated",
414
+ "key": "KOMODO_ADMIN_PASSWORD"
415
+ }
416
+ },
417
+ "env": {
418
+ "DATABASE_URL": {
419
+ "$secret": {
420
+ "source": "env",
421
+ "key": "PRODUCTION_DATABASE_URL"
422
+ }
423
+ }
424
+ }
366
425
  },
367
- dependsOn: ["my-app.production-ci", "cf-deploy-example-com", "host", "host-deploy"],
426
+ "dependsOn": [
427
+ "my-app.production-ci",
428
+ "host-deploy",
429
+ "host"
430
+ ]
368
431
  },
369
432
  "cf-app-example-com": {
370
- id: "cf-app-example-com",
371
- type: "cf-route",
372
- inputs: {
373
- hostname: "app.example.com",
374
- zoneId: {
375
- $ref: "cf.zoneId",
376
- },
377
- apiToken: {
378
- $secret: {
379
- source: "env",
380
- key: "CLOUDFLARE_API_TOKEN",
381
- },
382
- },
383
- cname: {
384
- $ref: "host-tunnel.cname",
385
- },
433
+ "id": "cf-app-example-com",
434
+ "type": "cf-route",
435
+ "inputs": {
436
+ "hostname": "app.example.com",
437
+ "zoneId": {
438
+ "$ref": "cf.zoneId"
439
+ },
440
+ "apiToken": {
441
+ "$secret": {
442
+ "source": "env",
443
+ "key": "CLOUDFLARE_API_TOKEN"
444
+ }
445
+ },
446
+ "cname": {
447
+ "$ref": "host-tunnel.cname"
448
+ }
386
449
  },
387
- dependsOn: ["cf", "host-tunnel"],
450
+ "dependsOn": [
451
+ "cf",
452
+ "host-tunnel"
453
+ ]
388
454
  },
389
455
  "host-git-user-dev": {
390
- id: "host-git-user-dev",
391
- type: "forgejo-user",
392
- inputs: {
393
- forgejoUrl: {
394
- $ref: "host-git.url",
395
- },
396
- adminUser: "intentic",
397
- adminPassword: {
398
- $secret: {
399
- source: "generated",
400
- key: "FORGEJO_ADMIN_PASSWORD",
401
- },
402
- },
403
- username: "dev",
404
- email: "dev@example.com",
405
- accountPassword: {
406
- $secret: {
407
- source: "generated",
408
- key: "INTENTIC_USER_PASSWORD_DEV",
409
- },
410
- },
456
+ "id": "host-git-user-dev",
457
+ "type": "forgejo-user",
458
+ "inputs": {
459
+ "address": "203.0.113.10",
460
+ "user": "deploy",
461
+ "sshKey": {
462
+ "$secret": {
463
+ "source": "env",
464
+ "key": "HOST_SSH_KEY"
465
+ }
466
+ },
467
+ "adminUser": "intentic",
468
+ "adminPassword": {
469
+ "$secret": {
470
+ "source": "generated",
471
+ "key": "FORGEJO_ADMIN_PASSWORD"
472
+ }
473
+ },
474
+ "username": "dev",
475
+ "email": "dev@example.com",
476
+ "accountPassword": {
477
+ "$secret": {
478
+ "source": "generated",
479
+ "key": "INTENTIC_USER_PASSWORD_DEV"
480
+ }
481
+ }
411
482
  },
412
- dependsOn: ["host-git", "cf-git-example-com"],
483
+ "dependsOn": [
484
+ "host-git"
485
+ ]
413
486
  },
414
487
  "host-deploy-user-dev": {
415
- id: "host-deploy-user-dev",
416
- type: "komodo-user",
417
- inputs: {
418
- komodoUrl: {
419
- $ref: "host-deploy.url",
420
- },
421
- adminUser: "intentic",
422
- adminPassword: {
423
- $secret: {
424
- source: "generated",
425
- key: "KOMODO_ADMIN_PASSWORD",
426
- },
427
- },
428
- username: "dev",
429
- password: {
430
- $secret: {
431
- source: "generated",
432
- key: "INTENTIC_USER_PASSWORD_DEV",
433
- },
434
- },
435
- grants: [
488
+ "id": "host-deploy-user-dev",
489
+ "type": "komodo-user",
490
+ "inputs": {
491
+ "address": "203.0.113.10",
492
+ "user": "deploy",
493
+ "sshKey": {
494
+ "$secret": {
495
+ "source": "env",
496
+ "key": "HOST_SSH_KEY"
497
+ }
498
+ },
499
+ "adminUser": "intentic",
500
+ "adminPassword": {
501
+ "$secret": {
502
+ "source": "generated",
503
+ "key": "KOMODO_ADMIN_PASSWORD"
504
+ }
505
+ },
506
+ "username": "dev",
507
+ "password": {
508
+ "$secret": {
509
+ "source": "generated",
510
+ "key": "INTENTIC_USER_PASSWORD_DEV"
511
+ }
512
+ },
513
+ "grants": [
436
514
  {
437
- deployment: "my-app.staging",
438
- level: "Execute",
515
+ "deployment": "my-app.staging",
516
+ "level": "Execute"
439
517
  },
440
518
  {
441
- deployment: "my-app.production",
442
- level: "Execute",
443
- },
444
- ],
519
+ "deployment": "my-app.production",
520
+ "level": "Execute"
521
+ }
522
+ ]
445
523
  },
446
- dependsOn: ["host-deploy", "cf-deploy-example-com", "my-app.staging", "my-app.production"],
524
+ "dependsOn": [
525
+ "host-deploy",
526
+ "my-app.staging",
527
+ "my-app.production"
528
+ ]
447
529
  },
448
530
  "host-git-org-squad": {
449
- id: "host-git-org-squad",
450
- type: "forgejo-org",
451
- inputs: {
452
- forgejoUrl: {
453
- $ref: "host-git.url",
454
- },
455
- adminUser: "intentic",
456
- adminPassword: {
457
- $secret: {
458
- source: "generated",
459
- key: "FORGEJO_ADMIN_PASSWORD",
460
- },
461
- },
462
- org: "squad",
531
+ "id": "host-git-org-squad",
532
+ "type": "forgejo-org",
533
+ "inputs": {
534
+ "address": "203.0.113.10",
535
+ "user": "deploy",
536
+ "sshKey": {
537
+ "$secret": {
538
+ "source": "env",
539
+ "key": "HOST_SSH_KEY"
540
+ }
541
+ },
542
+ "adminUser": "intentic",
543
+ "adminPassword": {
544
+ "$secret": {
545
+ "source": "generated",
546
+ "key": "FORGEJO_ADMIN_PASSWORD"
547
+ }
548
+ },
549
+ "org": "squad"
463
550
  },
464
- dependsOn: ["host-git", "cf-git-example-com"],
551
+ "dependsOn": [
552
+ "host-git"
553
+ ]
465
554
  },
466
555
  "host-git-org-squad-team": {
467
- id: "host-git-org-squad-team",
468
- type: "forgejo-team",
469
- inputs: {
470
- forgejoUrl: {
471
- $ref: "host-git.url",
472
- },
473
- adminUser: "intentic",
474
- adminPassword: {
475
- $secret: {
476
- source: "generated",
477
- key: "FORGEJO_ADMIN_PASSWORD",
478
- },
479
- },
480
- org: "squad",
481
- name: "members",
482
- permission: "write",
483
- members: ["dev"],
484
- repos: [
485
- {
486
- owner: "squad",
487
- name: "my-app",
488
- },
556
+ "id": "host-git-org-squad-team",
557
+ "type": "forgejo-team",
558
+ "inputs": {
559
+ "address": "203.0.113.10",
560
+ "user": "deploy",
561
+ "sshKey": {
562
+ "$secret": {
563
+ "source": "env",
564
+ "key": "HOST_SSH_KEY"
565
+ }
566
+ },
567
+ "adminUser": "intentic",
568
+ "adminPassword": {
569
+ "$secret": {
570
+ "source": "generated",
571
+ "key": "FORGEJO_ADMIN_PASSWORD"
572
+ }
573
+ },
574
+ "org": "squad",
575
+ "name": "members",
576
+ "permission": "write",
577
+ "members": [
578
+ "dev"
489
579
  ],
580
+ "repos": [
581
+ {
582
+ "owner": "squad",
583
+ "name": "my-app"
584
+ }
585
+ ]
490
586
  },
491
- dependsOn: ["host-git-org-squad", "host-git-user-dev", "my-app-repo", "host-git"],
587
+ "dependsOn": [
588
+ "host-git-org-squad",
589
+ "host-git-user-dev",
590
+ "my-app-repo"
591
+ ]
492
592
  },
493
593
  "host-backup": {
494
- id: "host-backup",
495
- type: "backup",
496
- inputs: {
497
- address: "203.0.113.10",
498
- user: "deploy",
499
- sshKey: {
500
- $secret: {
501
- source: "env",
502
- key: "HOST_SSH_KEY",
503
- },
504
- },
505
- repo: "/repo",
506
- password: {
507
- $secret: {
508
- source: "generated",
509
- key: "RESTIC_PASSWORD",
510
- },
511
- },
512
- signoz: false,
513
- image: "restic/restic:0.19.0@sha256:7f44e0057b82348597568ea209360762d0b38f8e1dbc8ad859661ac1055e45f2",
594
+ "id": "host-backup",
595
+ "type": "backup",
596
+ "inputs": {
597
+ "address": "203.0.113.10",
598
+ "user": "deploy",
599
+ "sshKey": {
600
+ "$secret": {
601
+ "source": "env",
602
+ "key": "HOST_SSH_KEY"
603
+ }
604
+ },
605
+ "repo": "/repo",
606
+ "password": {
607
+ "$secret": {
608
+ "source": "generated",
609
+ "key": "RESTIC_PASSWORD"
610
+ }
611
+ },
612
+ "signoz": false,
613
+ "image": "restic/restic:0.19.0@sha256:7f44e0057b82348597568ea209360762d0b38f8e1dbc8ad859661ac1055e45f2"
514
614
  },
515
- dependsOn: ["host-git", "host-deploy"],
615
+ "dependsOn": [
616
+ "host-git",
617
+ "host-deploy"
618
+ ]
516
619
  },
517
620
  "host-tunnel": {
518
- id: "host-tunnel",
519
- type: "tunnel",
520
- inputs: {
521
- name: "intentic-host",
522
- accountId: {
523
- $ref: "cf.accountId",
524
- },
525
- apiToken: {
526
- $secret: {
527
- source: "env",
528
- key: "CLOUDFLARE_API_TOKEN",
529
- },
530
- },
531
- address: "203.0.113.10",
532
- user: "deploy",
533
- sshKey: {
534
- $secret: {
535
- source: "env",
536
- key: "HOST_SSH_KEY",
537
- },
538
- },
539
- ingress: [
621
+ "id": "host-tunnel",
622
+ "type": "tunnel",
623
+ "inputs": {
624
+ "name": "intentic-host",
625
+ "accountId": {
626
+ "$ref": "cf.accountId"
627
+ },
628
+ "apiToken": {
629
+ "$secret": {
630
+ "source": "env",
631
+ "key": "CLOUDFLARE_API_TOKEN"
632
+ }
633
+ },
634
+ "address": "203.0.113.10",
635
+ "user": "deploy",
636
+ "sshKey": {
637
+ "$secret": {
638
+ "source": "env",
639
+ "key": "HOST_SSH_KEY"
640
+ }
641
+ },
642
+ "ingress": [
540
643
  {
541
- hostname: "git.example.com",
542
- port: 3000,
644
+ "hostname": "git.example.com",
645
+ "port": 3000
543
646
  },
544
647
  {
545
- hostname: "deploy.example.com",
546
- port: 9120,
648
+ "hostname": "deploy.example.com",
649
+ "port": 9120
547
650
  },
548
651
  {
549
- hostname: "staging.example.com",
550
- port: 27748,
652
+ "hostname": "staging.example.com",
653
+ "port": 27748
551
654
  },
552
655
  {
553
- hostname: "app.example.com",
554
- port: 23104,
555
- },
656
+ "hostname": "app.example.com",
657
+ "port": 23104
658
+ }
556
659
  ],
557
- image: "cloudflare/cloudflared:2026.6.1@sha256:6d91c121b803126f7a5344005d17a9324788fc09d305b6e2560ec6040a7ae283",
660
+ "image": "cloudflare/cloudflared:2026.6.1@sha256:6d91c121b803126f7a5344005d17a9324788fc09d305b6e2560ec6040a7ae283"
558
661
  },
559
- dependsOn: ["cf", "host"],
560
- },
561
- },
662
+ "dependsOn": [
663
+ "cf",
664
+ "host"
665
+ ]
666
+ }
667
+ }
562
668
  };
563
669
  //# sourceMappingURL=deploy.graph.js.map