@northflank/js-client 0.9.3 → 0.9.4
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.
- package/dist/cjs/api-client.d.ts +91 -3857
- package/dist/cjs/api-client.js +37 -19
- package/dist/esm/api-client.d.ts +91 -3857
- package/dist/esm/api-client.js +34 -16
- package/package.json +1 -1
package/dist/cjs/api-client.d.ts
CHANGED
|
@@ -23328,434 +23328,7 @@ type RunPreviewtemplateResult = {
|
|
|
23328
23328
|
'spec': any;
|
|
23329
23329
|
/** Optional spec to run when the template is deleted. */
|
|
23330
23330
|
'teardownSpec'?: {
|
|
23331
|
-
|
|
23332
|
-
'spec': {
|
|
23333
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
23334
|
-
'ref'?: string;
|
|
23335
|
-
/** The kind of node. Example: "Workflow" */
|
|
23336
|
-
'kind': 'Workflow';
|
|
23337
|
-
/** The specification for the workflow node. */
|
|
23338
|
-
'spec': {
|
|
23339
|
-
/** The type of workflow. If set to `sequential`, nodes in the workflow will run in order. If set to `parallel`, nodes will run simultaneously. Example: "sequential" */
|
|
23340
|
-
'type': 'sequential' | 'parallel';
|
|
23341
|
-
/** An array of nodes belonging to the workflow. */
|
|
23342
|
-
'steps': any[];
|
|
23343
|
-
};
|
|
23344
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
23345
|
-
} | {
|
|
23346
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
23347
|
-
'ref'?: string;
|
|
23348
|
-
/** The kind of node. Example: "JobRun" */
|
|
23349
|
-
'kind': 'JobRun';
|
|
23350
|
-
/** The specification for the JobRun node. */
|
|
23351
|
-
'spec': {
|
|
23352
|
-
/** ID of parent project */
|
|
23353
|
-
'projectId'?: string;
|
|
23354
|
-
'runtimeEnvironment'?: any | string;
|
|
23355
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
23356
|
-
'runtimeFiles'?: any;
|
|
23357
|
-
/** Docker secret mount contents as JSON object, encrypted at rest. Must be a valid Docker secret mount identifier Example: {"example-secret-mount_1":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
23358
|
-
'dockerSecretMounts'?: any;
|
|
23359
|
-
'billing'?: {
|
|
23360
|
-
/** The ID of the deployment plan override to use. */
|
|
23361
|
-
'deploymentPlan'?: string;
|
|
23362
|
-
};
|
|
23363
|
-
/** Override the job run deployment source. */
|
|
23364
|
-
'deployment'?: {
|
|
23365
|
-
/** Allows for customization of docker runtime */
|
|
23366
|
-
'docker'?: {
|
|
23367
|
-
/** Type of entrypoint & command override configuration Example: "default" */
|
|
23368
|
-
'configType': 'default' | 'customEntrypoint' | 'customCommand' | 'customEntrypointCustomCommand';
|
|
23369
|
-
/** Custom entrypoint which should be used. Required in case where `configType` is `customEntrypoint` or `customEntrypointCustomCommand` */
|
|
23370
|
-
'customEntrypoint'?: string;
|
|
23371
|
-
/** Custom command which should be used. Required in case where `configType` is `customCommand` or `customEntrypointCustomCommand` */
|
|
23372
|
-
'customCommand'?: string;
|
|
23373
|
-
};
|
|
23374
|
-
/** Allows for customization of buildpack runtime */
|
|
23375
|
-
'buildpack'?: {
|
|
23376
|
-
/** Type of buildpack run configuration */
|
|
23377
|
-
'configType': 'default' | 'customProcess' | 'customCommand' | 'customEntrypointCustomCommand' | 'originalEntrypointCustomCommand';
|
|
23378
|
-
/** Custom process which should be run. Required in case where `configType` is `customProcess` */
|
|
23379
|
-
'customProcess'?: string;
|
|
23380
|
-
/** Custom entrypoint which should be run. Required in case where `configType` is `customEntrypointCustomCommand` */
|
|
23381
|
-
'customEntrypoint'?: string;
|
|
23382
|
-
/** Custom command which should be run. Required in case where `configType` is `customCommand`, `customEntrypointCustomCommand` or `originalEntrypointCustomCommand` */
|
|
23383
|
-
'customCommand'?: string;
|
|
23384
|
-
};
|
|
23385
|
-
'storage'?: {
|
|
23386
|
-
'useHdbStorage'?: boolean;
|
|
23387
|
-
'usePdSsdStorage'?: boolean;
|
|
23388
|
-
'ephemeralStorage'?: {
|
|
23389
|
-
/** Ephemeral storage per container in MB */
|
|
23390
|
-
'storageSize'?: number | string;
|
|
23391
|
-
};
|
|
23392
|
-
/** Configures the amount of available memory-backed disk space available to /dev/shm */
|
|
23393
|
-
'shmSize'?: number | string;
|
|
23394
|
-
};
|
|
23395
|
-
/** Optional: Specify the commit to run */
|
|
23396
|
-
'internal'?: {
|
|
23397
|
-
/** ID of the build service to deploy */
|
|
23398
|
-
'id'?: string;
|
|
23399
|
-
/** Branch to deploy */
|
|
23400
|
-
'branch'?: string;
|
|
23401
|
-
/** Commit SHA to deploy, or 'latest' to deploy the most recent commit */
|
|
23402
|
-
'buildSHA'?: any | string;
|
|
23403
|
-
/** ID of the build that should be deployed */
|
|
23404
|
-
'buildId'?: string;
|
|
23405
|
-
};
|
|
23406
|
-
} | {
|
|
23407
|
-
/** Allows for customization of docker runtime */
|
|
23408
|
-
'docker'?: {
|
|
23409
|
-
/** Type of entrypoint & command override configuration Example: "default" */
|
|
23410
|
-
'configType': 'default' | 'customEntrypoint' | 'customCommand' | 'customEntrypointCustomCommand';
|
|
23411
|
-
/** Custom entrypoint which should be used. Required in case where `configType` is `customEntrypoint` or `customEntrypointCustomCommand` */
|
|
23412
|
-
'customEntrypoint'?: string;
|
|
23413
|
-
/** Custom command which should be used. Required in case where `configType` is `customCommand` or `customEntrypointCustomCommand` */
|
|
23414
|
-
'customCommand'?: string;
|
|
23415
|
-
};
|
|
23416
|
-
/** Allows for customization of buildpack runtime */
|
|
23417
|
-
'buildpack'?: {
|
|
23418
|
-
/** Type of buildpack run configuration */
|
|
23419
|
-
'configType': 'default' | 'customProcess' | 'customCommand' | 'customEntrypointCustomCommand' | 'originalEntrypointCustomCommand';
|
|
23420
|
-
/** Custom process which should be run. Required in case where `configType` is `customProcess` */
|
|
23421
|
-
'customProcess'?: string;
|
|
23422
|
-
/** Custom entrypoint which should be run. Required in case where `configType` is `customEntrypointCustomCommand` */
|
|
23423
|
-
'customEntrypoint'?: string;
|
|
23424
|
-
/** Custom command which should be run. Required in case where `configType` is `customCommand`, `customEntrypointCustomCommand` or `originalEntrypointCustomCommand` */
|
|
23425
|
-
'customCommand'?: string;
|
|
23426
|
-
};
|
|
23427
|
-
'storage'?: {
|
|
23428
|
-
'useHdbStorage'?: boolean;
|
|
23429
|
-
'usePdSsdStorage'?: boolean;
|
|
23430
|
-
'ephemeralStorage'?: {
|
|
23431
|
-
/** Ephemeral storage per container in MB */
|
|
23432
|
-
'storageSize'?: number | string;
|
|
23433
|
-
};
|
|
23434
|
-
/** Configures the amount of available memory-backed disk space available to /dev/shm */
|
|
23435
|
-
'shmSize'?: number | string;
|
|
23436
|
-
};
|
|
23437
|
-
/** Optional: Specify the external image to run */
|
|
23438
|
-
'external'?: {
|
|
23439
|
-
/** Image to be deployed. When not deploying from Dockerhub the URL must be specified. */
|
|
23440
|
-
'imagePath': string;
|
|
23441
|
-
/** ID of the saved credentials to use to access this external image. */
|
|
23442
|
-
'credentials'?: string;
|
|
23443
|
-
};
|
|
23444
|
-
};
|
|
23445
|
-
/** The ID of the job to run. */
|
|
23446
|
-
'jobId': string;
|
|
23447
|
-
};
|
|
23448
|
-
'condition'?: 'success';
|
|
23449
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
23450
|
-
} | {
|
|
23451
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
23452
|
-
'ref'?: string;
|
|
23453
|
-
/** The kind of node. Example: "LoopWorkflow" */
|
|
23454
|
-
'kind': 'LoopWorkflow';
|
|
23455
|
-
/** The specification for the loop workflow node. */
|
|
23456
|
-
'spec': {
|
|
23457
|
-
'iterations': any[] | string;
|
|
23458
|
-
/** An array of nodes that will be run multiple times. */
|
|
23459
|
-
'steps': any[];
|
|
23460
|
-
};
|
|
23461
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
23462
|
-
} | {
|
|
23463
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
23464
|
-
'ref'?: string;
|
|
23465
|
-
/** The kind of node. Example: "Action" */
|
|
23466
|
-
'kind': 'Action';
|
|
23467
|
-
/** The specification for the Action node. */
|
|
23468
|
-
'spec': {
|
|
23469
|
-
/** The kind of action. Example: "Addon" */
|
|
23470
|
-
'kind': 'Addon';
|
|
23471
|
-
'spec': {
|
|
23472
|
-
/** The type of action. Example: "restart" */
|
|
23473
|
-
'type': 'restart';
|
|
23474
|
-
'data': {
|
|
23475
|
-
/** ID of parent project */
|
|
23476
|
-
'projectId'?: string;
|
|
23477
|
-
/** The id of the addon to restart. */
|
|
23478
|
-
'addonId': string;
|
|
23479
|
-
'timeoutDuration'?: number | string;
|
|
23480
|
-
};
|
|
23481
|
-
'condition'?: 'running';
|
|
23482
|
-
};
|
|
23483
|
-
} | {
|
|
23484
|
-
/** The kind of action. Example: "AddonBackup" */
|
|
23485
|
-
'kind': 'AddonBackup';
|
|
23486
|
-
'spec': {
|
|
23487
|
-
/** The type of action. Example: "restore" */
|
|
23488
|
-
'type': 'restore';
|
|
23489
|
-
'data': {
|
|
23490
|
-
/** ID of parent project */
|
|
23491
|
-
'projectId'?: string;
|
|
23492
|
-
/** The id of the addon to restore a backup to. */
|
|
23493
|
-
'addonId': string;
|
|
23494
|
-
/** The id of the backup to restore. */
|
|
23495
|
-
'backupId': string;
|
|
23496
|
-
'timeoutDuration'?: number | string;
|
|
23497
|
-
};
|
|
23498
|
-
'condition'?: 'success';
|
|
23499
|
-
};
|
|
23500
|
-
} | {
|
|
23501
|
-
/** The kind of action. Example: "Job" */
|
|
23502
|
-
'kind': 'Job';
|
|
23503
|
-
'spec': {
|
|
23504
|
-
/** The type of action. Example: "execute" */
|
|
23505
|
-
'type': 'execute';
|
|
23506
|
-
'data': {
|
|
23507
|
-
/** ID of parent project */
|
|
23508
|
-
'projectId'?: string;
|
|
23509
|
-
/** The id of the job to run the command in. */
|
|
23510
|
-
'jobId': string;
|
|
23511
|
-
'command': string;
|
|
23512
|
-
'shell'?: string;
|
|
23513
|
-
'user'?: string;
|
|
23514
|
-
'group'?: string;
|
|
23515
|
-
};
|
|
23516
|
-
};
|
|
23517
|
-
} | {
|
|
23518
|
-
/** The kind of action. Example: "Service" */
|
|
23519
|
-
'kind': 'Service';
|
|
23520
|
-
'spec': {
|
|
23521
|
-
/** The type of action. Example: "restart" */
|
|
23522
|
-
'type': 'restart';
|
|
23523
|
-
'data': {
|
|
23524
|
-
/** ID of parent project */
|
|
23525
|
-
'projectId'?: string;
|
|
23526
|
-
/** The id of the service to restart. */
|
|
23527
|
-
'serviceId': string;
|
|
23528
|
-
'timeoutDuration'?: number | string;
|
|
23529
|
-
};
|
|
23530
|
-
'condition'?: 'running';
|
|
23531
|
-
} | {
|
|
23532
|
-
/** The type of action. Example: "execute" */
|
|
23533
|
-
'type': 'execute';
|
|
23534
|
-
'data': {
|
|
23535
|
-
/** ID of parent project */
|
|
23536
|
-
'projectId'?: string;
|
|
23537
|
-
/** The id of the service to run the command in. */
|
|
23538
|
-
'serviceId': string;
|
|
23539
|
-
'options'?: {
|
|
23540
|
-
/** Specify whether the command output should be awaited the node should succeed after having sent the command. Example: true */
|
|
23541
|
-
'dispatchOnly'?: boolean;
|
|
23542
|
-
};
|
|
23543
|
-
'command': string;
|
|
23544
|
-
'shell'?: string;
|
|
23545
|
-
'user'?: string;
|
|
23546
|
-
'group'?: string;
|
|
23547
|
-
};
|
|
23548
|
-
};
|
|
23549
|
-
} | {
|
|
23550
|
-
/** The kind of action. Example: "VCS" */
|
|
23551
|
-
'kind': 'VCS';
|
|
23552
|
-
'spec': {
|
|
23553
|
-
/** The type of action. Example: "createRepoFromSource" */
|
|
23554
|
-
'type': 'createRepoFromSource';
|
|
23555
|
-
'data': {
|
|
23556
|
-
'sourceData': {
|
|
23557
|
-
'publicRepo'?: boolean | string;
|
|
23558
|
-
'vcsService'?: string;
|
|
23559
|
-
'oauthProvider'?: string;
|
|
23560
|
-
'repoUrl': string;
|
|
23561
|
-
'accountLogin'?: string;
|
|
23562
|
-
'vcsLinkId'?: string;
|
|
23563
|
-
'selfHostedVcsId'?: string;
|
|
23564
|
-
};
|
|
23565
|
-
'targetData': {
|
|
23566
|
-
'name': string;
|
|
23567
|
-
'description'?: string;
|
|
23568
|
-
'privateRepo': boolean | string;
|
|
23569
|
-
'context'?: string;
|
|
23570
|
-
'folder'?: string;
|
|
23571
|
-
'accountLogin'?: string;
|
|
23572
|
-
'vcsLinkId'?: string;
|
|
23573
|
-
'oauthProvider'?: string;
|
|
23574
|
-
'vcsService'?: string;
|
|
23575
|
-
'selfHostedVcsId'?: string;
|
|
23576
|
-
};
|
|
23577
|
-
};
|
|
23578
|
-
};
|
|
23579
|
-
};
|
|
23580
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
23581
|
-
} | {
|
|
23582
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
23583
|
-
'ref'?: string;
|
|
23584
|
-
/** The kind of node. Example: "Condition" */
|
|
23585
|
-
'kind': 'Condition';
|
|
23586
|
-
/** The specification for the Condition node. */
|
|
23587
|
-
'spec': {
|
|
23588
|
-
/** The kind of condition. Example: "Addon" */
|
|
23589
|
-
'kind': 'Addon';
|
|
23590
|
-
'spec': {
|
|
23591
|
-
/** The type of condition. Example: "running" */
|
|
23592
|
-
'type': 'running';
|
|
23593
|
-
'data': {
|
|
23594
|
-
/** ID of parent project */
|
|
23595
|
-
'projectId'?: string;
|
|
23596
|
-
/** The id of the addon to monitor. */
|
|
23597
|
-
'addonId': string;
|
|
23598
|
-
'timeoutDuration'?: number | string;
|
|
23599
|
-
};
|
|
23600
|
-
};
|
|
23601
|
-
} | {
|
|
23602
|
-
/** The kind of condition. Example: "AddonBackup" */
|
|
23603
|
-
'kind': 'AddonBackup';
|
|
23604
|
-
'spec': {
|
|
23605
|
-
/** The type of condition. Example: "success" */
|
|
23606
|
-
'type': 'success';
|
|
23607
|
-
'data': {
|
|
23608
|
-
/** ID of parent project */
|
|
23609
|
-
'projectId'?: string;
|
|
23610
|
-
/** The id of the addon to monitor. */
|
|
23611
|
-
'addonId': string;
|
|
23612
|
-
/** The id of the backup to monitor. */
|
|
23613
|
-
'backupId': string;
|
|
23614
|
-
};
|
|
23615
|
-
};
|
|
23616
|
-
} | {
|
|
23617
|
-
/** The kind of condition. Example: "Build" */
|
|
23618
|
-
'kind': 'Build';
|
|
23619
|
-
'spec': {
|
|
23620
|
-
/** The type of condition. Example: "success" */
|
|
23621
|
-
'type': 'success';
|
|
23622
|
-
'data': {
|
|
23623
|
-
/** ID of parent project */
|
|
23624
|
-
'projectId'?: string;
|
|
23625
|
-
/** The id of the build to monitor. */
|
|
23626
|
-
'buildId': string;
|
|
23627
|
-
};
|
|
23628
|
-
};
|
|
23629
|
-
} | {
|
|
23630
|
-
/** The kind of condition. Example: "BYOCCluster" */
|
|
23631
|
-
'kind': 'BYOCCluster';
|
|
23632
|
-
'spec': {
|
|
23633
|
-
/** The type of condition. Example: "running" */
|
|
23634
|
-
'type': 'running';
|
|
23635
|
-
'data': {
|
|
23636
|
-
/** The id of the cluster to monitor. */
|
|
23637
|
-
'clusterId': string;
|
|
23638
|
-
'timeoutDuration'?: number | string;
|
|
23639
|
-
};
|
|
23640
|
-
};
|
|
23641
|
-
} | {
|
|
23642
|
-
/** The kind of condition. Example: "JobRun" */
|
|
23643
|
-
'kind': 'JobRun';
|
|
23644
|
-
'spec': {
|
|
23645
|
-
/** The type of condition. Example: "success" */
|
|
23646
|
-
'type': 'success';
|
|
23647
|
-
'data': {
|
|
23648
|
-
/** ID of parent project */
|
|
23649
|
-
'projectId'?: string;
|
|
23650
|
-
/** The id of the job to monitor. */
|
|
23651
|
-
'jobId': string;
|
|
23652
|
-
/** The id of the job run to monitor. */
|
|
23653
|
-
'runId': string;
|
|
23654
|
-
};
|
|
23655
|
-
};
|
|
23656
|
-
} | {
|
|
23657
|
-
/** The kind of condition. Example: "Service" */
|
|
23658
|
-
'kind': 'Service';
|
|
23659
|
-
'spec': {
|
|
23660
|
-
/** The type of condition. Example: "running" */
|
|
23661
|
-
'type': 'running';
|
|
23662
|
-
'data': {
|
|
23663
|
-
/** ID of parent project */
|
|
23664
|
-
'projectId'?: string;
|
|
23665
|
-
/** The id of the service to monitor. */
|
|
23666
|
-
'serviceId': string;
|
|
23667
|
-
'timeoutDuration'?: number | string;
|
|
23668
|
-
};
|
|
23669
|
-
};
|
|
23670
|
-
} | {
|
|
23671
|
-
/** The kind of condition. Example: "VCS" */
|
|
23672
|
-
'kind': 'VCS';
|
|
23673
|
-
'spec': {
|
|
23674
|
-
/** The type of condition. Example: "createRepoFromSourceSuccess" */
|
|
23675
|
-
'type': 'createRepoFromSourceSuccess';
|
|
23676
|
-
'data': {
|
|
23677
|
-
/** The tracker id outputted from the 'createRepoFromSource' action to monitor. */
|
|
23678
|
-
'trackerId': string;
|
|
23679
|
-
};
|
|
23680
|
-
};
|
|
23681
|
-
};
|
|
23682
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
23683
|
-
} | {
|
|
23684
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
23685
|
-
'ref'?: string;
|
|
23686
|
-
/** The kind of node. Example: "Message" */
|
|
23687
|
-
'kind': 'Message';
|
|
23688
|
-
/** The specification for the Message node. */
|
|
23689
|
-
'spec': {
|
|
23690
|
-
/** The kind of message to send. Example: "VCS" */
|
|
23691
|
-
'kind': 'VCS';
|
|
23692
|
-
'spec': {
|
|
23693
|
-
/** The VCS provider to use. */
|
|
23694
|
-
'vcsService': 'bitbucket' | 'gitlab' | 'github' | 'self-hosted' | 'azure' | string;
|
|
23695
|
-
/** If projectType is self-hosted, the ID of the self-hosted vcs to use. */
|
|
23696
|
-
'selfHostedVcsId'?: string;
|
|
23697
|
-
/** By default, if you have multiple version control accounts of the same provider linked, Northflank will pick a linked account that has access to the repository. If `accountLogin` is provided, Northflank will instead use your linked account with that login name. */
|
|
23698
|
-
'accountLogin'?: string;
|
|
23699
|
-
/** URL of the Git repo to send this message to. */
|
|
23700
|
-
'repoUrl': string;
|
|
23701
|
-
/** The ID of the pull request to comment on. */
|
|
23702
|
-
'pullRequestId': string;
|
|
23703
|
-
/** The rich text message to comment. */
|
|
23704
|
-
'message': string;
|
|
23705
|
-
};
|
|
23706
|
-
} | {
|
|
23707
|
-
/** The kind of message to send. Example: "SLACK" */
|
|
23708
|
-
'kind': 'SLACK';
|
|
23709
|
-
'spec': {
|
|
23710
|
-
/** The Slack webhook URL to send messages to. */
|
|
23711
|
-
'webhookUrl'?: string;
|
|
23712
|
-
/** The ID of an existing Slack integration to use. */
|
|
23713
|
-
'integrationInternalId'?: string;
|
|
23714
|
-
/** The message content to send to Slack. Supports markdown formatting. */
|
|
23715
|
-
'message': string;
|
|
23716
|
-
};
|
|
23717
|
-
} | {
|
|
23718
|
-
/** The kind of message to send. Example: "RAW_WEBHOOK" */
|
|
23719
|
-
'kind': 'RAW_WEBHOOK';
|
|
23720
|
-
'spec': {
|
|
23721
|
-
/** The webhook URL to send messages to. */
|
|
23722
|
-
'webhookUrl': string;
|
|
23723
|
-
/** The message content to send to the webhook. */
|
|
23724
|
-
'message': string;
|
|
23725
|
-
};
|
|
23726
|
-
};
|
|
23727
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
23728
|
-
} | {
|
|
23729
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
23730
|
-
'ref'?: string;
|
|
23731
|
-
/** The kind of node. Example: "LoopData" */
|
|
23732
|
-
'kind': 'LoopData';
|
|
23733
|
-
/** The specification for the LoopData node. */
|
|
23734
|
-
'spec': any;
|
|
23735
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
23736
|
-
} | {
|
|
23737
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
23738
|
-
'ref'?: string;
|
|
23739
|
-
/** The kind of node. Example: "OpenTofuDestroy" */
|
|
23740
|
-
'kind': 'OpenTofuDestroy';
|
|
23741
|
-
/** The specification for the OpenTofuDestroy node. */
|
|
23742
|
-
'spec': {
|
|
23743
|
-
/** The `ref` value of the `OpenTofu` node in the parent template whose state should be destroyed. Example: "my-infra" */
|
|
23744
|
-
'nodeRef': string;
|
|
23745
|
-
};
|
|
23746
|
-
'condition'?: 'success';
|
|
23747
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
23748
|
-
} | {
|
|
23749
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
23750
|
-
'ref'?: string;
|
|
23751
|
-
/** The kind of node. Example: "Approval" */
|
|
23752
|
-
'kind': 'Approval';
|
|
23753
|
-
/** The specification for the Approval node. */
|
|
23754
|
-
'spec': {
|
|
23755
|
-
'amount': number;
|
|
23756
|
-
};
|
|
23757
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
23758
|
-
};
|
|
23331
|
+
'spec': any;
|
|
23759
23332
|
/** Controls what happens if the teardown spec fails or times out. `ignore` (default) — proceed with resource deletion regardless. `block` — halt deletion and set the environment to `teardown_failed` */
|
|
23760
23333
|
'failurePolicy'?: 'ignore' | 'block';
|
|
23761
23334
|
} | null;
|
|
@@ -24128,434 +23701,7 @@ type GetReleaseflowResult = {
|
|
|
24128
23701
|
'spec': any;
|
|
24129
23702
|
/** Optional spec to run when the template is deleted. */
|
|
24130
23703
|
'teardownSpec'?: {
|
|
24131
|
-
|
|
24132
|
-
'spec': {
|
|
24133
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
24134
|
-
'ref'?: string;
|
|
24135
|
-
/** The kind of node. Example: "Workflow" */
|
|
24136
|
-
'kind': 'Workflow';
|
|
24137
|
-
/** The specification for the workflow node. */
|
|
24138
|
-
'spec': {
|
|
24139
|
-
/** The type of workflow. If set to `sequential`, nodes in the workflow will run in order. If set to `parallel`, nodes will run simultaneously. Example: "sequential" */
|
|
24140
|
-
'type': 'sequential' | 'parallel';
|
|
24141
|
-
/** An array of nodes belonging to the workflow. */
|
|
24142
|
-
'steps': any[];
|
|
24143
|
-
};
|
|
24144
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
24145
|
-
} | {
|
|
24146
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
24147
|
-
'ref'?: string;
|
|
24148
|
-
/** The kind of node. Example: "JobRun" */
|
|
24149
|
-
'kind': 'JobRun';
|
|
24150
|
-
/** The specification for the JobRun node. */
|
|
24151
|
-
'spec': {
|
|
24152
|
-
/** ID of parent project */
|
|
24153
|
-
'projectId'?: string;
|
|
24154
|
-
'runtimeEnvironment'?: any | string;
|
|
24155
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
24156
|
-
'runtimeFiles'?: any;
|
|
24157
|
-
/** Docker secret mount contents as JSON object, encrypted at rest. Must be a valid Docker secret mount identifier Example: {"example-secret-mount_1":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
24158
|
-
'dockerSecretMounts'?: any;
|
|
24159
|
-
'billing'?: {
|
|
24160
|
-
/** The ID of the deployment plan override to use. */
|
|
24161
|
-
'deploymentPlan'?: string;
|
|
24162
|
-
};
|
|
24163
|
-
/** Override the job run deployment source. */
|
|
24164
|
-
'deployment'?: {
|
|
24165
|
-
/** Allows for customization of docker runtime */
|
|
24166
|
-
'docker'?: {
|
|
24167
|
-
/** Type of entrypoint & command override configuration Example: "default" */
|
|
24168
|
-
'configType': 'default' | 'customEntrypoint' | 'customCommand' | 'customEntrypointCustomCommand';
|
|
24169
|
-
/** Custom entrypoint which should be used. Required in case where `configType` is `customEntrypoint` or `customEntrypointCustomCommand` */
|
|
24170
|
-
'customEntrypoint'?: string;
|
|
24171
|
-
/** Custom command which should be used. Required in case where `configType` is `customCommand` or `customEntrypointCustomCommand` */
|
|
24172
|
-
'customCommand'?: string;
|
|
24173
|
-
};
|
|
24174
|
-
/** Allows for customization of buildpack runtime */
|
|
24175
|
-
'buildpack'?: {
|
|
24176
|
-
/** Type of buildpack run configuration */
|
|
24177
|
-
'configType': 'default' | 'customProcess' | 'customCommand' | 'customEntrypointCustomCommand' | 'originalEntrypointCustomCommand';
|
|
24178
|
-
/** Custom process which should be run. Required in case where `configType` is `customProcess` */
|
|
24179
|
-
'customProcess'?: string;
|
|
24180
|
-
/** Custom entrypoint which should be run. Required in case where `configType` is `customEntrypointCustomCommand` */
|
|
24181
|
-
'customEntrypoint'?: string;
|
|
24182
|
-
/** Custom command which should be run. Required in case where `configType` is `customCommand`, `customEntrypointCustomCommand` or `originalEntrypointCustomCommand` */
|
|
24183
|
-
'customCommand'?: string;
|
|
24184
|
-
};
|
|
24185
|
-
'storage'?: {
|
|
24186
|
-
'useHdbStorage'?: boolean;
|
|
24187
|
-
'usePdSsdStorage'?: boolean;
|
|
24188
|
-
'ephemeralStorage'?: {
|
|
24189
|
-
/** Ephemeral storage per container in MB */
|
|
24190
|
-
'storageSize'?: number | string;
|
|
24191
|
-
};
|
|
24192
|
-
/** Configures the amount of available memory-backed disk space available to /dev/shm */
|
|
24193
|
-
'shmSize'?: number | string;
|
|
24194
|
-
};
|
|
24195
|
-
/** Optional: Specify the commit to run */
|
|
24196
|
-
'internal'?: {
|
|
24197
|
-
/** ID of the build service to deploy */
|
|
24198
|
-
'id'?: string;
|
|
24199
|
-
/** Branch to deploy */
|
|
24200
|
-
'branch'?: string;
|
|
24201
|
-
/** Commit SHA to deploy, or 'latest' to deploy the most recent commit */
|
|
24202
|
-
'buildSHA'?: any | string;
|
|
24203
|
-
/** ID of the build that should be deployed */
|
|
24204
|
-
'buildId'?: string;
|
|
24205
|
-
};
|
|
24206
|
-
} | {
|
|
24207
|
-
/** Allows for customization of docker runtime */
|
|
24208
|
-
'docker'?: {
|
|
24209
|
-
/** Type of entrypoint & command override configuration Example: "default" */
|
|
24210
|
-
'configType': 'default' | 'customEntrypoint' | 'customCommand' | 'customEntrypointCustomCommand';
|
|
24211
|
-
/** Custom entrypoint which should be used. Required in case where `configType` is `customEntrypoint` or `customEntrypointCustomCommand` */
|
|
24212
|
-
'customEntrypoint'?: string;
|
|
24213
|
-
/** Custom command which should be used. Required in case where `configType` is `customCommand` or `customEntrypointCustomCommand` */
|
|
24214
|
-
'customCommand'?: string;
|
|
24215
|
-
};
|
|
24216
|
-
/** Allows for customization of buildpack runtime */
|
|
24217
|
-
'buildpack'?: {
|
|
24218
|
-
/** Type of buildpack run configuration */
|
|
24219
|
-
'configType': 'default' | 'customProcess' | 'customCommand' | 'customEntrypointCustomCommand' | 'originalEntrypointCustomCommand';
|
|
24220
|
-
/** Custom process which should be run. Required in case where `configType` is `customProcess` */
|
|
24221
|
-
'customProcess'?: string;
|
|
24222
|
-
/** Custom entrypoint which should be run. Required in case where `configType` is `customEntrypointCustomCommand` */
|
|
24223
|
-
'customEntrypoint'?: string;
|
|
24224
|
-
/** Custom command which should be run. Required in case where `configType` is `customCommand`, `customEntrypointCustomCommand` or `originalEntrypointCustomCommand` */
|
|
24225
|
-
'customCommand'?: string;
|
|
24226
|
-
};
|
|
24227
|
-
'storage'?: {
|
|
24228
|
-
'useHdbStorage'?: boolean;
|
|
24229
|
-
'usePdSsdStorage'?: boolean;
|
|
24230
|
-
'ephemeralStorage'?: {
|
|
24231
|
-
/** Ephemeral storage per container in MB */
|
|
24232
|
-
'storageSize'?: number | string;
|
|
24233
|
-
};
|
|
24234
|
-
/** Configures the amount of available memory-backed disk space available to /dev/shm */
|
|
24235
|
-
'shmSize'?: number | string;
|
|
24236
|
-
};
|
|
24237
|
-
/** Optional: Specify the external image to run */
|
|
24238
|
-
'external'?: {
|
|
24239
|
-
/** Image to be deployed. When not deploying from Dockerhub the URL must be specified. */
|
|
24240
|
-
'imagePath': string;
|
|
24241
|
-
/** ID of the saved credentials to use to access this external image. */
|
|
24242
|
-
'credentials'?: string;
|
|
24243
|
-
};
|
|
24244
|
-
};
|
|
24245
|
-
/** The ID of the job to run. */
|
|
24246
|
-
'jobId': string;
|
|
24247
|
-
};
|
|
24248
|
-
'condition'?: 'success';
|
|
24249
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
24250
|
-
} | {
|
|
24251
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
24252
|
-
'ref'?: string;
|
|
24253
|
-
/** The kind of node. Example: "LoopWorkflow" */
|
|
24254
|
-
'kind': 'LoopWorkflow';
|
|
24255
|
-
/** The specification for the loop workflow node. */
|
|
24256
|
-
'spec': {
|
|
24257
|
-
'iterations': any[] | string;
|
|
24258
|
-
/** An array of nodes that will be run multiple times. */
|
|
24259
|
-
'steps': any[];
|
|
24260
|
-
};
|
|
24261
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
24262
|
-
} | {
|
|
24263
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
24264
|
-
'ref'?: string;
|
|
24265
|
-
/** The kind of node. Example: "Action" */
|
|
24266
|
-
'kind': 'Action';
|
|
24267
|
-
/** The specification for the Action node. */
|
|
24268
|
-
'spec': {
|
|
24269
|
-
/** The kind of action. Example: "Addon" */
|
|
24270
|
-
'kind': 'Addon';
|
|
24271
|
-
'spec': {
|
|
24272
|
-
/** The type of action. Example: "restart" */
|
|
24273
|
-
'type': 'restart';
|
|
24274
|
-
'data': {
|
|
24275
|
-
/** ID of parent project */
|
|
24276
|
-
'projectId'?: string;
|
|
24277
|
-
/** The id of the addon to restart. */
|
|
24278
|
-
'addonId': string;
|
|
24279
|
-
'timeoutDuration'?: number | string;
|
|
24280
|
-
};
|
|
24281
|
-
'condition'?: 'running';
|
|
24282
|
-
};
|
|
24283
|
-
} | {
|
|
24284
|
-
/** The kind of action. Example: "AddonBackup" */
|
|
24285
|
-
'kind': 'AddonBackup';
|
|
24286
|
-
'spec': {
|
|
24287
|
-
/** The type of action. Example: "restore" */
|
|
24288
|
-
'type': 'restore';
|
|
24289
|
-
'data': {
|
|
24290
|
-
/** ID of parent project */
|
|
24291
|
-
'projectId'?: string;
|
|
24292
|
-
/** The id of the addon to restore a backup to. */
|
|
24293
|
-
'addonId': string;
|
|
24294
|
-
/** The id of the backup to restore. */
|
|
24295
|
-
'backupId': string;
|
|
24296
|
-
'timeoutDuration'?: number | string;
|
|
24297
|
-
};
|
|
24298
|
-
'condition'?: 'success';
|
|
24299
|
-
};
|
|
24300
|
-
} | {
|
|
24301
|
-
/** The kind of action. Example: "Job" */
|
|
24302
|
-
'kind': 'Job';
|
|
24303
|
-
'spec': {
|
|
24304
|
-
/** The type of action. Example: "execute" */
|
|
24305
|
-
'type': 'execute';
|
|
24306
|
-
'data': {
|
|
24307
|
-
/** ID of parent project */
|
|
24308
|
-
'projectId'?: string;
|
|
24309
|
-
/** The id of the job to run the command in. */
|
|
24310
|
-
'jobId': string;
|
|
24311
|
-
'command': string;
|
|
24312
|
-
'shell'?: string;
|
|
24313
|
-
'user'?: string;
|
|
24314
|
-
'group'?: string;
|
|
24315
|
-
};
|
|
24316
|
-
};
|
|
24317
|
-
} | {
|
|
24318
|
-
/** The kind of action. Example: "Service" */
|
|
24319
|
-
'kind': 'Service';
|
|
24320
|
-
'spec': {
|
|
24321
|
-
/** The type of action. Example: "restart" */
|
|
24322
|
-
'type': 'restart';
|
|
24323
|
-
'data': {
|
|
24324
|
-
/** ID of parent project */
|
|
24325
|
-
'projectId'?: string;
|
|
24326
|
-
/** The id of the service to restart. */
|
|
24327
|
-
'serviceId': string;
|
|
24328
|
-
'timeoutDuration'?: number | string;
|
|
24329
|
-
};
|
|
24330
|
-
'condition'?: 'running';
|
|
24331
|
-
} | {
|
|
24332
|
-
/** The type of action. Example: "execute" */
|
|
24333
|
-
'type': 'execute';
|
|
24334
|
-
'data': {
|
|
24335
|
-
/** ID of parent project */
|
|
24336
|
-
'projectId'?: string;
|
|
24337
|
-
/** The id of the service to run the command in. */
|
|
24338
|
-
'serviceId': string;
|
|
24339
|
-
'options'?: {
|
|
24340
|
-
/** Specify whether the command output should be awaited the node should succeed after having sent the command. Example: true */
|
|
24341
|
-
'dispatchOnly'?: boolean;
|
|
24342
|
-
};
|
|
24343
|
-
'command': string;
|
|
24344
|
-
'shell'?: string;
|
|
24345
|
-
'user'?: string;
|
|
24346
|
-
'group'?: string;
|
|
24347
|
-
};
|
|
24348
|
-
};
|
|
24349
|
-
} | {
|
|
24350
|
-
/** The kind of action. Example: "VCS" */
|
|
24351
|
-
'kind': 'VCS';
|
|
24352
|
-
'spec': {
|
|
24353
|
-
/** The type of action. Example: "createRepoFromSource" */
|
|
24354
|
-
'type': 'createRepoFromSource';
|
|
24355
|
-
'data': {
|
|
24356
|
-
'sourceData': {
|
|
24357
|
-
'publicRepo'?: boolean | string;
|
|
24358
|
-
'vcsService'?: string;
|
|
24359
|
-
'oauthProvider'?: string;
|
|
24360
|
-
'repoUrl': string;
|
|
24361
|
-
'accountLogin'?: string;
|
|
24362
|
-
'vcsLinkId'?: string;
|
|
24363
|
-
'selfHostedVcsId'?: string;
|
|
24364
|
-
};
|
|
24365
|
-
'targetData': {
|
|
24366
|
-
'name': string;
|
|
24367
|
-
'description'?: string;
|
|
24368
|
-
'privateRepo': boolean | string;
|
|
24369
|
-
'context'?: string;
|
|
24370
|
-
'folder'?: string;
|
|
24371
|
-
'accountLogin'?: string;
|
|
24372
|
-
'vcsLinkId'?: string;
|
|
24373
|
-
'oauthProvider'?: string;
|
|
24374
|
-
'vcsService'?: string;
|
|
24375
|
-
'selfHostedVcsId'?: string;
|
|
24376
|
-
};
|
|
24377
|
-
};
|
|
24378
|
-
};
|
|
24379
|
-
};
|
|
24380
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
24381
|
-
} | {
|
|
24382
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
24383
|
-
'ref'?: string;
|
|
24384
|
-
/** The kind of node. Example: "Condition" */
|
|
24385
|
-
'kind': 'Condition';
|
|
24386
|
-
/** The specification for the Condition node. */
|
|
24387
|
-
'spec': {
|
|
24388
|
-
/** The kind of condition. Example: "Addon" */
|
|
24389
|
-
'kind': 'Addon';
|
|
24390
|
-
'spec': {
|
|
24391
|
-
/** The type of condition. Example: "running" */
|
|
24392
|
-
'type': 'running';
|
|
24393
|
-
'data': {
|
|
24394
|
-
/** ID of parent project */
|
|
24395
|
-
'projectId'?: string;
|
|
24396
|
-
/** The id of the addon to monitor. */
|
|
24397
|
-
'addonId': string;
|
|
24398
|
-
'timeoutDuration'?: number | string;
|
|
24399
|
-
};
|
|
24400
|
-
};
|
|
24401
|
-
} | {
|
|
24402
|
-
/** The kind of condition. Example: "AddonBackup" */
|
|
24403
|
-
'kind': 'AddonBackup';
|
|
24404
|
-
'spec': {
|
|
24405
|
-
/** The type of condition. Example: "success" */
|
|
24406
|
-
'type': 'success';
|
|
24407
|
-
'data': {
|
|
24408
|
-
/** ID of parent project */
|
|
24409
|
-
'projectId'?: string;
|
|
24410
|
-
/** The id of the addon to monitor. */
|
|
24411
|
-
'addonId': string;
|
|
24412
|
-
/** The id of the backup to monitor. */
|
|
24413
|
-
'backupId': string;
|
|
24414
|
-
};
|
|
24415
|
-
};
|
|
24416
|
-
} | {
|
|
24417
|
-
/** The kind of condition. Example: "Build" */
|
|
24418
|
-
'kind': 'Build';
|
|
24419
|
-
'spec': {
|
|
24420
|
-
/** The type of condition. Example: "success" */
|
|
24421
|
-
'type': 'success';
|
|
24422
|
-
'data': {
|
|
24423
|
-
/** ID of parent project */
|
|
24424
|
-
'projectId'?: string;
|
|
24425
|
-
/** The id of the build to monitor. */
|
|
24426
|
-
'buildId': string;
|
|
24427
|
-
};
|
|
24428
|
-
};
|
|
24429
|
-
} | {
|
|
24430
|
-
/** The kind of condition. Example: "BYOCCluster" */
|
|
24431
|
-
'kind': 'BYOCCluster';
|
|
24432
|
-
'spec': {
|
|
24433
|
-
/** The type of condition. Example: "running" */
|
|
24434
|
-
'type': 'running';
|
|
24435
|
-
'data': {
|
|
24436
|
-
/** The id of the cluster to monitor. */
|
|
24437
|
-
'clusterId': string;
|
|
24438
|
-
'timeoutDuration'?: number | string;
|
|
24439
|
-
};
|
|
24440
|
-
};
|
|
24441
|
-
} | {
|
|
24442
|
-
/** The kind of condition. Example: "JobRun" */
|
|
24443
|
-
'kind': 'JobRun';
|
|
24444
|
-
'spec': {
|
|
24445
|
-
/** The type of condition. Example: "success" */
|
|
24446
|
-
'type': 'success';
|
|
24447
|
-
'data': {
|
|
24448
|
-
/** ID of parent project */
|
|
24449
|
-
'projectId'?: string;
|
|
24450
|
-
/** The id of the job to monitor. */
|
|
24451
|
-
'jobId': string;
|
|
24452
|
-
/** The id of the job run to monitor. */
|
|
24453
|
-
'runId': string;
|
|
24454
|
-
};
|
|
24455
|
-
};
|
|
24456
|
-
} | {
|
|
24457
|
-
/** The kind of condition. Example: "Service" */
|
|
24458
|
-
'kind': 'Service';
|
|
24459
|
-
'spec': {
|
|
24460
|
-
/** The type of condition. Example: "running" */
|
|
24461
|
-
'type': 'running';
|
|
24462
|
-
'data': {
|
|
24463
|
-
/** ID of parent project */
|
|
24464
|
-
'projectId'?: string;
|
|
24465
|
-
/** The id of the service to monitor. */
|
|
24466
|
-
'serviceId': string;
|
|
24467
|
-
'timeoutDuration'?: number | string;
|
|
24468
|
-
};
|
|
24469
|
-
};
|
|
24470
|
-
} | {
|
|
24471
|
-
/** The kind of condition. Example: "VCS" */
|
|
24472
|
-
'kind': 'VCS';
|
|
24473
|
-
'spec': {
|
|
24474
|
-
/** The type of condition. Example: "createRepoFromSourceSuccess" */
|
|
24475
|
-
'type': 'createRepoFromSourceSuccess';
|
|
24476
|
-
'data': {
|
|
24477
|
-
/** The tracker id outputted from the 'createRepoFromSource' action to monitor. */
|
|
24478
|
-
'trackerId': string;
|
|
24479
|
-
};
|
|
24480
|
-
};
|
|
24481
|
-
};
|
|
24482
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
24483
|
-
} | {
|
|
24484
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
24485
|
-
'ref'?: string;
|
|
24486
|
-
/** The kind of node. Example: "Message" */
|
|
24487
|
-
'kind': 'Message';
|
|
24488
|
-
/** The specification for the Message node. */
|
|
24489
|
-
'spec': {
|
|
24490
|
-
/** The kind of message to send. Example: "VCS" */
|
|
24491
|
-
'kind': 'VCS';
|
|
24492
|
-
'spec': {
|
|
24493
|
-
/** The VCS provider to use. */
|
|
24494
|
-
'vcsService': 'bitbucket' | 'gitlab' | 'github' | 'self-hosted' | 'azure' | string;
|
|
24495
|
-
/** If projectType is self-hosted, the ID of the self-hosted vcs to use. */
|
|
24496
|
-
'selfHostedVcsId'?: string;
|
|
24497
|
-
/** By default, if you have multiple version control accounts of the same provider linked, Northflank will pick a linked account that has access to the repository. If `accountLogin` is provided, Northflank will instead use your linked account with that login name. */
|
|
24498
|
-
'accountLogin'?: string;
|
|
24499
|
-
/** URL of the Git repo to send this message to. */
|
|
24500
|
-
'repoUrl': string;
|
|
24501
|
-
/** The ID of the pull request to comment on. */
|
|
24502
|
-
'pullRequestId': string;
|
|
24503
|
-
/** The rich text message to comment. */
|
|
24504
|
-
'message': string;
|
|
24505
|
-
};
|
|
24506
|
-
} | {
|
|
24507
|
-
/** The kind of message to send. Example: "SLACK" */
|
|
24508
|
-
'kind': 'SLACK';
|
|
24509
|
-
'spec': {
|
|
24510
|
-
/** The Slack webhook URL to send messages to. */
|
|
24511
|
-
'webhookUrl'?: string;
|
|
24512
|
-
/** The ID of an existing Slack integration to use. */
|
|
24513
|
-
'integrationInternalId'?: string;
|
|
24514
|
-
/** The message content to send to Slack. Supports markdown formatting. */
|
|
24515
|
-
'message': string;
|
|
24516
|
-
};
|
|
24517
|
-
} | {
|
|
24518
|
-
/** The kind of message to send. Example: "RAW_WEBHOOK" */
|
|
24519
|
-
'kind': 'RAW_WEBHOOK';
|
|
24520
|
-
'spec': {
|
|
24521
|
-
/** The webhook URL to send messages to. */
|
|
24522
|
-
'webhookUrl': string;
|
|
24523
|
-
/** The message content to send to the webhook. */
|
|
24524
|
-
'message': string;
|
|
24525
|
-
};
|
|
24526
|
-
};
|
|
24527
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
24528
|
-
} | {
|
|
24529
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
24530
|
-
'ref'?: string;
|
|
24531
|
-
/** The kind of node. Example: "LoopData" */
|
|
24532
|
-
'kind': 'LoopData';
|
|
24533
|
-
/** The specification for the LoopData node. */
|
|
24534
|
-
'spec': any;
|
|
24535
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
24536
|
-
} | {
|
|
24537
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
24538
|
-
'ref'?: string;
|
|
24539
|
-
/** The kind of node. Example: "OpenTofuDestroy" */
|
|
24540
|
-
'kind': 'OpenTofuDestroy';
|
|
24541
|
-
/** The specification for the OpenTofuDestroy node. */
|
|
24542
|
-
'spec': {
|
|
24543
|
-
/** The `ref` value of the `OpenTofu` node in the parent template whose state should be destroyed. Example: "my-infra" */
|
|
24544
|
-
'nodeRef': string;
|
|
24545
|
-
};
|
|
24546
|
-
'condition'?: 'success';
|
|
24547
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
24548
|
-
} | {
|
|
24549
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
24550
|
-
'ref'?: string;
|
|
24551
|
-
/** The kind of node. Example: "Approval" */
|
|
24552
|
-
'kind': 'Approval';
|
|
24553
|
-
/** The specification for the Approval node. */
|
|
24554
|
-
'spec': {
|
|
24555
|
-
'amount': number;
|
|
24556
|
-
};
|
|
24557
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
24558
|
-
};
|
|
23704
|
+
'spec': any;
|
|
24559
23705
|
/** Controls what happens if the teardown spec fails or times out. `ignore` (default) — proceed with resource deletion regardless. `block` — halt deletion and set the environment to `teardown_failed` */
|
|
24560
23706
|
'failurePolicy'?: 'ignore' | 'block';
|
|
24561
23707
|
} | null;
|
|
@@ -24679,434 +23825,7 @@ type UpdateReleaseflowData = {
|
|
|
24679
23825
|
'richInputs'?: any[];
|
|
24680
23826
|
/** Optional spec to run when the template is deleted. */
|
|
24681
23827
|
'teardownSpec'?: {
|
|
24682
|
-
|
|
24683
|
-
'spec': {
|
|
24684
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
24685
|
-
'ref'?: string;
|
|
24686
|
-
/** The kind of node. Example: "Workflow" */
|
|
24687
|
-
'kind': 'Workflow';
|
|
24688
|
-
/** The specification for the workflow node. */
|
|
24689
|
-
'spec': {
|
|
24690
|
-
/** The type of workflow. If set to `sequential`, nodes in the workflow will run in order. If set to `parallel`, nodes will run simultaneously. Example: "sequential" */
|
|
24691
|
-
'type': 'sequential' | 'parallel';
|
|
24692
|
-
/** An array of nodes belonging to the workflow. */
|
|
24693
|
-
'steps': any[];
|
|
24694
|
-
};
|
|
24695
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
24696
|
-
} | {
|
|
24697
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
24698
|
-
'ref'?: string;
|
|
24699
|
-
/** The kind of node. Example: "JobRun" */
|
|
24700
|
-
'kind': 'JobRun';
|
|
24701
|
-
/** The specification for the JobRun node. */
|
|
24702
|
-
'spec': {
|
|
24703
|
-
/** ID of parent project */
|
|
24704
|
-
'projectId'?: string;
|
|
24705
|
-
'runtimeEnvironment'?: any | string;
|
|
24706
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
24707
|
-
'runtimeFiles'?: any;
|
|
24708
|
-
/** Docker secret mount contents as JSON object, encrypted at rest. Must be a valid Docker secret mount identifier Example: {"example-secret-mount_1":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
24709
|
-
'dockerSecretMounts'?: any;
|
|
24710
|
-
'billing'?: {
|
|
24711
|
-
/** The ID of the deployment plan override to use. */
|
|
24712
|
-
'deploymentPlan'?: string;
|
|
24713
|
-
};
|
|
24714
|
-
/** Override the job run deployment source. */
|
|
24715
|
-
'deployment'?: {
|
|
24716
|
-
/** Allows for customization of docker runtime */
|
|
24717
|
-
'docker'?: {
|
|
24718
|
-
/** Type of entrypoint & command override configuration Example: "default" */
|
|
24719
|
-
'configType': 'default' | 'customEntrypoint' | 'customCommand' | 'customEntrypointCustomCommand';
|
|
24720
|
-
/** Custom entrypoint which should be used. Required in case where `configType` is `customEntrypoint` or `customEntrypointCustomCommand` */
|
|
24721
|
-
'customEntrypoint'?: string;
|
|
24722
|
-
/** Custom command which should be used. Required in case where `configType` is `customCommand` or `customEntrypointCustomCommand` */
|
|
24723
|
-
'customCommand'?: string;
|
|
24724
|
-
};
|
|
24725
|
-
/** Allows for customization of buildpack runtime */
|
|
24726
|
-
'buildpack'?: {
|
|
24727
|
-
/** Type of buildpack run configuration */
|
|
24728
|
-
'configType': 'default' | 'customProcess' | 'customCommand' | 'customEntrypointCustomCommand' | 'originalEntrypointCustomCommand';
|
|
24729
|
-
/** Custom process which should be run. Required in case where `configType` is `customProcess` */
|
|
24730
|
-
'customProcess'?: string;
|
|
24731
|
-
/** Custom entrypoint which should be run. Required in case where `configType` is `customEntrypointCustomCommand` */
|
|
24732
|
-
'customEntrypoint'?: string;
|
|
24733
|
-
/** Custom command which should be run. Required in case where `configType` is `customCommand`, `customEntrypointCustomCommand` or `originalEntrypointCustomCommand` */
|
|
24734
|
-
'customCommand'?: string;
|
|
24735
|
-
};
|
|
24736
|
-
'storage'?: {
|
|
24737
|
-
'useHdbStorage'?: boolean;
|
|
24738
|
-
'usePdSsdStorage'?: boolean;
|
|
24739
|
-
'ephemeralStorage'?: {
|
|
24740
|
-
/** Ephemeral storage per container in MB */
|
|
24741
|
-
'storageSize'?: number | string;
|
|
24742
|
-
};
|
|
24743
|
-
/** Configures the amount of available memory-backed disk space available to /dev/shm */
|
|
24744
|
-
'shmSize'?: number | string;
|
|
24745
|
-
};
|
|
24746
|
-
/** Optional: Specify the commit to run */
|
|
24747
|
-
'internal'?: {
|
|
24748
|
-
/** ID of the build service to deploy */
|
|
24749
|
-
'id'?: string;
|
|
24750
|
-
/** Branch to deploy */
|
|
24751
|
-
'branch'?: string;
|
|
24752
|
-
/** Commit SHA to deploy, or 'latest' to deploy the most recent commit */
|
|
24753
|
-
'buildSHA'?: any | string;
|
|
24754
|
-
/** ID of the build that should be deployed */
|
|
24755
|
-
'buildId'?: string;
|
|
24756
|
-
};
|
|
24757
|
-
} | {
|
|
24758
|
-
/** Allows for customization of docker runtime */
|
|
24759
|
-
'docker'?: {
|
|
24760
|
-
/** Type of entrypoint & command override configuration Example: "default" */
|
|
24761
|
-
'configType': 'default' | 'customEntrypoint' | 'customCommand' | 'customEntrypointCustomCommand';
|
|
24762
|
-
/** Custom entrypoint which should be used. Required in case where `configType` is `customEntrypoint` or `customEntrypointCustomCommand` */
|
|
24763
|
-
'customEntrypoint'?: string;
|
|
24764
|
-
/** Custom command which should be used. Required in case where `configType` is `customCommand` or `customEntrypointCustomCommand` */
|
|
24765
|
-
'customCommand'?: string;
|
|
24766
|
-
};
|
|
24767
|
-
/** Allows for customization of buildpack runtime */
|
|
24768
|
-
'buildpack'?: {
|
|
24769
|
-
/** Type of buildpack run configuration */
|
|
24770
|
-
'configType': 'default' | 'customProcess' | 'customCommand' | 'customEntrypointCustomCommand' | 'originalEntrypointCustomCommand';
|
|
24771
|
-
/** Custom process which should be run. Required in case where `configType` is `customProcess` */
|
|
24772
|
-
'customProcess'?: string;
|
|
24773
|
-
/** Custom entrypoint which should be run. Required in case where `configType` is `customEntrypointCustomCommand` */
|
|
24774
|
-
'customEntrypoint'?: string;
|
|
24775
|
-
/** Custom command which should be run. Required in case where `configType` is `customCommand`, `customEntrypointCustomCommand` or `originalEntrypointCustomCommand` */
|
|
24776
|
-
'customCommand'?: string;
|
|
24777
|
-
};
|
|
24778
|
-
'storage'?: {
|
|
24779
|
-
'useHdbStorage'?: boolean;
|
|
24780
|
-
'usePdSsdStorage'?: boolean;
|
|
24781
|
-
'ephemeralStorage'?: {
|
|
24782
|
-
/** Ephemeral storage per container in MB */
|
|
24783
|
-
'storageSize'?: number | string;
|
|
24784
|
-
};
|
|
24785
|
-
/** Configures the amount of available memory-backed disk space available to /dev/shm */
|
|
24786
|
-
'shmSize'?: number | string;
|
|
24787
|
-
};
|
|
24788
|
-
/** Optional: Specify the external image to run */
|
|
24789
|
-
'external'?: {
|
|
24790
|
-
/** Image to be deployed. When not deploying from Dockerhub the URL must be specified. */
|
|
24791
|
-
'imagePath': string;
|
|
24792
|
-
/** ID of the saved credentials to use to access this external image. */
|
|
24793
|
-
'credentials'?: string;
|
|
24794
|
-
};
|
|
24795
|
-
};
|
|
24796
|
-
/** The ID of the job to run. */
|
|
24797
|
-
'jobId': string;
|
|
24798
|
-
};
|
|
24799
|
-
'condition'?: 'success';
|
|
24800
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
24801
|
-
} | {
|
|
24802
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
24803
|
-
'ref'?: string;
|
|
24804
|
-
/** The kind of node. Example: "LoopWorkflow" */
|
|
24805
|
-
'kind': 'LoopWorkflow';
|
|
24806
|
-
/** The specification for the loop workflow node. */
|
|
24807
|
-
'spec': {
|
|
24808
|
-
'iterations': any[] | string;
|
|
24809
|
-
/** An array of nodes that will be run multiple times. */
|
|
24810
|
-
'steps': any[];
|
|
24811
|
-
};
|
|
24812
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
24813
|
-
} | {
|
|
24814
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
24815
|
-
'ref'?: string;
|
|
24816
|
-
/** The kind of node. Example: "Action" */
|
|
24817
|
-
'kind': 'Action';
|
|
24818
|
-
/** The specification for the Action node. */
|
|
24819
|
-
'spec': {
|
|
24820
|
-
/** The kind of action. Example: "Addon" */
|
|
24821
|
-
'kind': 'Addon';
|
|
24822
|
-
'spec': {
|
|
24823
|
-
/** The type of action. Example: "restart" */
|
|
24824
|
-
'type': 'restart';
|
|
24825
|
-
'data': {
|
|
24826
|
-
/** ID of parent project */
|
|
24827
|
-
'projectId'?: string;
|
|
24828
|
-
/** The id of the addon to restart. */
|
|
24829
|
-
'addonId': string;
|
|
24830
|
-
'timeoutDuration'?: number | string;
|
|
24831
|
-
};
|
|
24832
|
-
'condition'?: 'running';
|
|
24833
|
-
};
|
|
24834
|
-
} | {
|
|
24835
|
-
/** The kind of action. Example: "AddonBackup" */
|
|
24836
|
-
'kind': 'AddonBackup';
|
|
24837
|
-
'spec': {
|
|
24838
|
-
/** The type of action. Example: "restore" */
|
|
24839
|
-
'type': 'restore';
|
|
24840
|
-
'data': {
|
|
24841
|
-
/** ID of parent project */
|
|
24842
|
-
'projectId'?: string;
|
|
24843
|
-
/** The id of the addon to restore a backup to. */
|
|
24844
|
-
'addonId': string;
|
|
24845
|
-
/** The id of the backup to restore. */
|
|
24846
|
-
'backupId': string;
|
|
24847
|
-
'timeoutDuration'?: number | string;
|
|
24848
|
-
};
|
|
24849
|
-
'condition'?: 'success';
|
|
24850
|
-
};
|
|
24851
|
-
} | {
|
|
24852
|
-
/** The kind of action. Example: "Job" */
|
|
24853
|
-
'kind': 'Job';
|
|
24854
|
-
'spec': {
|
|
24855
|
-
/** The type of action. Example: "execute" */
|
|
24856
|
-
'type': 'execute';
|
|
24857
|
-
'data': {
|
|
24858
|
-
/** ID of parent project */
|
|
24859
|
-
'projectId'?: string;
|
|
24860
|
-
/** The id of the job to run the command in. */
|
|
24861
|
-
'jobId': string;
|
|
24862
|
-
'command': string;
|
|
24863
|
-
'shell'?: string;
|
|
24864
|
-
'user'?: string;
|
|
24865
|
-
'group'?: string;
|
|
24866
|
-
};
|
|
24867
|
-
};
|
|
24868
|
-
} | {
|
|
24869
|
-
/** The kind of action. Example: "Service" */
|
|
24870
|
-
'kind': 'Service';
|
|
24871
|
-
'spec': {
|
|
24872
|
-
/** The type of action. Example: "restart" */
|
|
24873
|
-
'type': 'restart';
|
|
24874
|
-
'data': {
|
|
24875
|
-
/** ID of parent project */
|
|
24876
|
-
'projectId'?: string;
|
|
24877
|
-
/** The id of the service to restart. */
|
|
24878
|
-
'serviceId': string;
|
|
24879
|
-
'timeoutDuration'?: number | string;
|
|
24880
|
-
};
|
|
24881
|
-
'condition'?: 'running';
|
|
24882
|
-
} | {
|
|
24883
|
-
/** The type of action. Example: "execute" */
|
|
24884
|
-
'type': 'execute';
|
|
24885
|
-
'data': {
|
|
24886
|
-
/** ID of parent project */
|
|
24887
|
-
'projectId'?: string;
|
|
24888
|
-
/** The id of the service to run the command in. */
|
|
24889
|
-
'serviceId': string;
|
|
24890
|
-
'options'?: {
|
|
24891
|
-
/** Specify whether the command output should be awaited the node should succeed after having sent the command. Example: true */
|
|
24892
|
-
'dispatchOnly'?: boolean;
|
|
24893
|
-
};
|
|
24894
|
-
'command': string;
|
|
24895
|
-
'shell'?: string;
|
|
24896
|
-
'user'?: string;
|
|
24897
|
-
'group'?: string;
|
|
24898
|
-
};
|
|
24899
|
-
};
|
|
24900
|
-
} | {
|
|
24901
|
-
/** The kind of action. Example: "VCS" */
|
|
24902
|
-
'kind': 'VCS';
|
|
24903
|
-
'spec': {
|
|
24904
|
-
/** The type of action. Example: "createRepoFromSource" */
|
|
24905
|
-
'type': 'createRepoFromSource';
|
|
24906
|
-
'data': {
|
|
24907
|
-
'sourceData': {
|
|
24908
|
-
'publicRepo'?: boolean | string;
|
|
24909
|
-
'vcsService'?: string;
|
|
24910
|
-
'oauthProvider'?: string;
|
|
24911
|
-
'repoUrl': string;
|
|
24912
|
-
'accountLogin'?: string;
|
|
24913
|
-
'vcsLinkId'?: string;
|
|
24914
|
-
'selfHostedVcsId'?: string;
|
|
24915
|
-
};
|
|
24916
|
-
'targetData': {
|
|
24917
|
-
'name': string;
|
|
24918
|
-
'description'?: string;
|
|
24919
|
-
'privateRepo': boolean | string;
|
|
24920
|
-
'context'?: string;
|
|
24921
|
-
'folder'?: string;
|
|
24922
|
-
'accountLogin'?: string;
|
|
24923
|
-
'vcsLinkId'?: string;
|
|
24924
|
-
'oauthProvider'?: string;
|
|
24925
|
-
'vcsService'?: string;
|
|
24926
|
-
'selfHostedVcsId'?: string;
|
|
24927
|
-
};
|
|
24928
|
-
};
|
|
24929
|
-
};
|
|
24930
|
-
};
|
|
24931
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
24932
|
-
} | {
|
|
24933
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
24934
|
-
'ref'?: string;
|
|
24935
|
-
/** The kind of node. Example: "Condition" */
|
|
24936
|
-
'kind': 'Condition';
|
|
24937
|
-
/** The specification for the Condition node. */
|
|
24938
|
-
'spec': {
|
|
24939
|
-
/** The kind of condition. Example: "Addon" */
|
|
24940
|
-
'kind': 'Addon';
|
|
24941
|
-
'spec': {
|
|
24942
|
-
/** The type of condition. Example: "running" */
|
|
24943
|
-
'type': 'running';
|
|
24944
|
-
'data': {
|
|
24945
|
-
/** ID of parent project */
|
|
24946
|
-
'projectId'?: string;
|
|
24947
|
-
/** The id of the addon to monitor. */
|
|
24948
|
-
'addonId': string;
|
|
24949
|
-
'timeoutDuration'?: number | string;
|
|
24950
|
-
};
|
|
24951
|
-
};
|
|
24952
|
-
} | {
|
|
24953
|
-
/** The kind of condition. Example: "AddonBackup" */
|
|
24954
|
-
'kind': 'AddonBackup';
|
|
24955
|
-
'spec': {
|
|
24956
|
-
/** The type of condition. Example: "success" */
|
|
24957
|
-
'type': 'success';
|
|
24958
|
-
'data': {
|
|
24959
|
-
/** ID of parent project */
|
|
24960
|
-
'projectId'?: string;
|
|
24961
|
-
/** The id of the addon to monitor. */
|
|
24962
|
-
'addonId': string;
|
|
24963
|
-
/** The id of the backup to monitor. */
|
|
24964
|
-
'backupId': string;
|
|
24965
|
-
};
|
|
24966
|
-
};
|
|
24967
|
-
} | {
|
|
24968
|
-
/** The kind of condition. Example: "Build" */
|
|
24969
|
-
'kind': 'Build';
|
|
24970
|
-
'spec': {
|
|
24971
|
-
/** The type of condition. Example: "success" */
|
|
24972
|
-
'type': 'success';
|
|
24973
|
-
'data': {
|
|
24974
|
-
/** ID of parent project */
|
|
24975
|
-
'projectId'?: string;
|
|
24976
|
-
/** The id of the build to monitor. */
|
|
24977
|
-
'buildId': string;
|
|
24978
|
-
};
|
|
24979
|
-
};
|
|
24980
|
-
} | {
|
|
24981
|
-
/** The kind of condition. Example: "BYOCCluster" */
|
|
24982
|
-
'kind': 'BYOCCluster';
|
|
24983
|
-
'spec': {
|
|
24984
|
-
/** The type of condition. Example: "running" */
|
|
24985
|
-
'type': 'running';
|
|
24986
|
-
'data': {
|
|
24987
|
-
/** The id of the cluster to monitor. */
|
|
24988
|
-
'clusterId': string;
|
|
24989
|
-
'timeoutDuration'?: number | string;
|
|
24990
|
-
};
|
|
24991
|
-
};
|
|
24992
|
-
} | {
|
|
24993
|
-
/** The kind of condition. Example: "JobRun" */
|
|
24994
|
-
'kind': 'JobRun';
|
|
24995
|
-
'spec': {
|
|
24996
|
-
/** The type of condition. Example: "success" */
|
|
24997
|
-
'type': 'success';
|
|
24998
|
-
'data': {
|
|
24999
|
-
/** ID of parent project */
|
|
25000
|
-
'projectId'?: string;
|
|
25001
|
-
/** The id of the job to monitor. */
|
|
25002
|
-
'jobId': string;
|
|
25003
|
-
/** The id of the job run to monitor. */
|
|
25004
|
-
'runId': string;
|
|
25005
|
-
};
|
|
25006
|
-
};
|
|
25007
|
-
} | {
|
|
25008
|
-
/** The kind of condition. Example: "Service" */
|
|
25009
|
-
'kind': 'Service';
|
|
25010
|
-
'spec': {
|
|
25011
|
-
/** The type of condition. Example: "running" */
|
|
25012
|
-
'type': 'running';
|
|
25013
|
-
'data': {
|
|
25014
|
-
/** ID of parent project */
|
|
25015
|
-
'projectId'?: string;
|
|
25016
|
-
/** The id of the service to monitor. */
|
|
25017
|
-
'serviceId': string;
|
|
25018
|
-
'timeoutDuration'?: number | string;
|
|
25019
|
-
};
|
|
25020
|
-
};
|
|
25021
|
-
} | {
|
|
25022
|
-
/** The kind of condition. Example: "VCS" */
|
|
25023
|
-
'kind': 'VCS';
|
|
25024
|
-
'spec': {
|
|
25025
|
-
/** The type of condition. Example: "createRepoFromSourceSuccess" */
|
|
25026
|
-
'type': 'createRepoFromSourceSuccess';
|
|
25027
|
-
'data': {
|
|
25028
|
-
/** The tracker id outputted from the 'createRepoFromSource' action to monitor. */
|
|
25029
|
-
'trackerId': string;
|
|
25030
|
-
};
|
|
25031
|
-
};
|
|
25032
|
-
};
|
|
25033
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
25034
|
-
} | {
|
|
25035
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
25036
|
-
'ref'?: string;
|
|
25037
|
-
/** The kind of node. Example: "Message" */
|
|
25038
|
-
'kind': 'Message';
|
|
25039
|
-
/** The specification for the Message node. */
|
|
25040
|
-
'spec': {
|
|
25041
|
-
/** The kind of message to send. Example: "VCS" */
|
|
25042
|
-
'kind': 'VCS';
|
|
25043
|
-
'spec': {
|
|
25044
|
-
/** The VCS provider to use. */
|
|
25045
|
-
'vcsService': 'bitbucket' | 'gitlab' | 'github' | 'self-hosted' | 'azure' | string;
|
|
25046
|
-
/** If projectType is self-hosted, the ID of the self-hosted vcs to use. */
|
|
25047
|
-
'selfHostedVcsId'?: string;
|
|
25048
|
-
/** By default, if you have multiple version control accounts of the same provider linked, Northflank will pick a linked account that has access to the repository. If `accountLogin` is provided, Northflank will instead use your linked account with that login name. */
|
|
25049
|
-
'accountLogin'?: string;
|
|
25050
|
-
/** URL of the Git repo to send this message to. */
|
|
25051
|
-
'repoUrl': string;
|
|
25052
|
-
/** The ID of the pull request to comment on. */
|
|
25053
|
-
'pullRequestId': string;
|
|
25054
|
-
/** The rich text message to comment. */
|
|
25055
|
-
'message': string;
|
|
25056
|
-
};
|
|
25057
|
-
} | {
|
|
25058
|
-
/** The kind of message to send. Example: "SLACK" */
|
|
25059
|
-
'kind': 'SLACK';
|
|
25060
|
-
'spec': {
|
|
25061
|
-
/** The Slack webhook URL to send messages to. */
|
|
25062
|
-
'webhookUrl'?: string;
|
|
25063
|
-
/** The ID of an existing Slack integration to use. */
|
|
25064
|
-
'integrationInternalId'?: string;
|
|
25065
|
-
/** The message content to send to Slack. Supports markdown formatting. */
|
|
25066
|
-
'message': string;
|
|
25067
|
-
};
|
|
25068
|
-
} | {
|
|
25069
|
-
/** The kind of message to send. Example: "RAW_WEBHOOK" */
|
|
25070
|
-
'kind': 'RAW_WEBHOOK';
|
|
25071
|
-
'spec': {
|
|
25072
|
-
/** The webhook URL to send messages to. */
|
|
25073
|
-
'webhookUrl': string;
|
|
25074
|
-
/** The message content to send to the webhook. */
|
|
25075
|
-
'message': string;
|
|
25076
|
-
};
|
|
25077
|
-
};
|
|
25078
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
25079
|
-
} | {
|
|
25080
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
25081
|
-
'ref'?: string;
|
|
25082
|
-
/** The kind of node. Example: "LoopData" */
|
|
25083
|
-
'kind': 'LoopData';
|
|
25084
|
-
/** The specification for the LoopData node. */
|
|
25085
|
-
'spec': any;
|
|
25086
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
25087
|
-
} | {
|
|
25088
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
25089
|
-
'ref'?: string;
|
|
25090
|
-
/** The kind of node. Example: "OpenTofuDestroy" */
|
|
25091
|
-
'kind': 'OpenTofuDestroy';
|
|
25092
|
-
/** The specification for the OpenTofuDestroy node. */
|
|
25093
|
-
'spec': {
|
|
25094
|
-
/** The `ref` value of the `OpenTofu` node in the parent template whose state should be destroyed. Example: "my-infra" */
|
|
25095
|
-
'nodeRef': string;
|
|
25096
|
-
};
|
|
25097
|
-
'condition'?: 'success';
|
|
25098
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
25099
|
-
} | {
|
|
25100
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
25101
|
-
'ref'?: string;
|
|
25102
|
-
/** The kind of node. Example: "Approval" */
|
|
25103
|
-
'kind': 'Approval';
|
|
25104
|
-
/** The specification for the Approval node. */
|
|
25105
|
-
'spec': {
|
|
25106
|
-
'amount': number;
|
|
25107
|
-
};
|
|
25108
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
25109
|
-
};
|
|
23828
|
+
'spec': any;
|
|
25110
23829
|
/** Controls what happens if the teardown spec fails or times out. `ignore` (default) — proceed with resource deletion regardless. `block` — halt deletion and set the environment to `teardown_failed` */
|
|
25111
23830
|
'failurePolicy'?: 'ignore' | 'block';
|
|
25112
23831
|
} | null;
|
|
@@ -26437,6 +25156,11 @@ type ListSecretsRequest = {
|
|
|
26437
25156
|
type ListSecretsParameters = {
|
|
26438
25157
|
/** ID of the project */
|
|
26439
25158
|
'projectId': string;
|
|
25159
|
+
} | {
|
|
25160
|
+
/** ID of the team */
|
|
25161
|
+
'teamId': string;
|
|
25162
|
+
/** ID of the project */
|
|
25163
|
+
'projectId': string;
|
|
26440
25164
|
};
|
|
26441
25165
|
type ListSecretsOptions = {
|
|
26442
25166
|
/** The number of results to display per request. Maximum of 100 results per page. */
|
|
@@ -26532,6 +25256,11 @@ type CreateSecretRequest = {
|
|
|
26532
25256
|
type CreateSecretParameters = {
|
|
26533
25257
|
/** ID of the project */
|
|
26534
25258
|
'projectId': string;
|
|
25259
|
+
} | {
|
|
25260
|
+
/** ID of the team */
|
|
25261
|
+
'teamId': string;
|
|
25262
|
+
/** ID of the project */
|
|
25263
|
+
'projectId': string;
|
|
26535
25264
|
};
|
|
26536
25265
|
type CreateSecretData = {
|
|
26537
25266
|
/** The name of the secret. Example: "Example Secret" */
|
|
@@ -26682,6 +25411,11 @@ type PutSecretRequest = {
|
|
|
26682
25411
|
type PutSecretParameters = {
|
|
26683
25412
|
/** ID of the project */
|
|
26684
25413
|
'projectId': string;
|
|
25414
|
+
} | {
|
|
25415
|
+
/** ID of the team */
|
|
25416
|
+
'teamId': string;
|
|
25417
|
+
/** ID of the project */
|
|
25418
|
+
'projectId': string;
|
|
26685
25419
|
};
|
|
26686
25420
|
type PutSecretData = {
|
|
26687
25421
|
/** The name of the secret. Example: "Example Secret" */
|
|
@@ -26834,6 +25568,13 @@ type PatchSecretParameters = {
|
|
|
26834
25568
|
'projectId': string;
|
|
26835
25569
|
/** ID of the project secret */
|
|
26836
25570
|
'secretId': string;
|
|
25571
|
+
} | {
|
|
25572
|
+
/** ID of the team */
|
|
25573
|
+
'teamId': string;
|
|
25574
|
+
/** ID of the project */
|
|
25575
|
+
'projectId': string;
|
|
25576
|
+
/** ID of the project secret */
|
|
25577
|
+
'secretId': string;
|
|
26837
25578
|
};
|
|
26838
25579
|
type PatchSecretData = {
|
|
26839
25580
|
/** A description of the secret. Example: "A description" */
|
|
@@ -26954,6 +25695,13 @@ type GetSecretParameters = {
|
|
|
26954
25695
|
'projectId': string;
|
|
26955
25696
|
/** ID of the project secret */
|
|
26956
25697
|
'secretId': string;
|
|
25698
|
+
} | {
|
|
25699
|
+
/** ID of the team */
|
|
25700
|
+
'teamId': string;
|
|
25701
|
+
/** ID of the project */
|
|
25702
|
+
'projectId': string;
|
|
25703
|
+
/** ID of the project secret */
|
|
25704
|
+
'secretId': string;
|
|
26957
25705
|
};
|
|
26958
25706
|
type GetSecretOptions = {
|
|
26959
25707
|
/** Which secrets to display - if set to `this` only the group's secrets are displayed, if set to `inherited` only secrets from linked addons are displayed, if set to `all` or not provided, both are displayed. */
|
|
@@ -26978,11 +25726,18 @@ type DeleteSecretParameters = {
|
|
|
26978
25726
|
'projectId': string;
|
|
26979
25727
|
/** ID of the project secret */
|
|
26980
25728
|
'secretId': string;
|
|
26981
|
-
}
|
|
26982
|
-
/**
|
|
26983
|
-
|
|
26984
|
-
|
|
26985
|
-
|
|
25729
|
+
} | {
|
|
25730
|
+
/** ID of the team */
|
|
25731
|
+
'teamId': string;
|
|
25732
|
+
/** ID of the project */
|
|
25733
|
+
'projectId': string;
|
|
25734
|
+
/** ID of the project secret */
|
|
25735
|
+
'secretId': string;
|
|
25736
|
+
};
|
|
25737
|
+
/** Delete a project secret */
|
|
25738
|
+
declare class DeleteSecretEndpoint extends DeleteApiEndpoint<DeleteSecretRequest, DeleteSecretResult> {
|
|
25739
|
+
description: string;
|
|
25740
|
+
withAuth: boolean;
|
|
26986
25741
|
requiredPermissions: string;
|
|
26987
25742
|
endpointUrl: (opts: DeleteSecretRequest) => string;
|
|
26988
25743
|
body: () => undefined;
|
|
@@ -26999,6 +25754,13 @@ type UpdateSecretParameters = {
|
|
|
26999
25754
|
'projectId': string;
|
|
27000
25755
|
/** ID of the project secret */
|
|
27001
25756
|
'secretId': string;
|
|
25757
|
+
} | {
|
|
25758
|
+
/** ID of the team */
|
|
25759
|
+
'teamId': string;
|
|
25760
|
+
/** ID of the project */
|
|
25761
|
+
'projectId': string;
|
|
25762
|
+
/** ID of the project secret */
|
|
25763
|
+
'secretId': string;
|
|
27002
25764
|
};
|
|
27003
25765
|
type UpdateSecretData = {
|
|
27004
25766
|
/** A description of the secret. Example: "A description" */
|
|
@@ -27089,6 +25851,15 @@ type UpdateSecretlinkParameters = {
|
|
|
27089
25851
|
'secretId': string;
|
|
27090
25852
|
/** ID of the addon */
|
|
27091
25853
|
'addonId': string;
|
|
25854
|
+
} | {
|
|
25855
|
+
/** ID of the team */
|
|
25856
|
+
'teamId': string;
|
|
25857
|
+
/** ID of the project */
|
|
25858
|
+
'projectId': string;
|
|
25859
|
+
/** ID of the project secret */
|
|
25860
|
+
'secretId': string;
|
|
25861
|
+
/** ID of the addon */
|
|
25862
|
+
'addonId': string;
|
|
27092
25863
|
};
|
|
27093
25864
|
type UpdateSecretlinkData = {
|
|
27094
25865
|
/** An array of objects containing details about the keys to link to this secret group. */
|
|
@@ -27143,6 +25914,15 @@ type GetSecretlinkParameters = {
|
|
|
27143
25914
|
'secretId': string;
|
|
27144
25915
|
/** ID of the addon */
|
|
27145
25916
|
'addonId': string;
|
|
25917
|
+
} | {
|
|
25918
|
+
/** ID of the team */
|
|
25919
|
+
'teamId': string;
|
|
25920
|
+
/** ID of the project */
|
|
25921
|
+
'projectId': string;
|
|
25922
|
+
/** ID of the project secret */
|
|
25923
|
+
'secretId': string;
|
|
25924
|
+
/** ID of the addon */
|
|
25925
|
+
'addonId': string;
|
|
27146
25926
|
};
|
|
27147
25927
|
/** Get details about a given addon link. */
|
|
27148
25928
|
declare class GetSecretlinkEndpoint extends GetApiEndpoint<GetSecretlinkRequest, GetSecretlinkResult> {
|
|
@@ -27165,6 +25945,15 @@ type DeleteSecretlinkParameters = {
|
|
|
27165
25945
|
'secretId': string;
|
|
27166
25946
|
/** ID of the addon */
|
|
27167
25947
|
'addonId': string;
|
|
25948
|
+
} | {
|
|
25949
|
+
/** ID of the team */
|
|
25950
|
+
'teamId': string;
|
|
25951
|
+
/** ID of the project */
|
|
25952
|
+
'projectId': string;
|
|
25953
|
+
/** ID of the project secret */
|
|
25954
|
+
'secretId': string;
|
|
25955
|
+
/** ID of the addon */
|
|
25956
|
+
'addonId': string;
|
|
27168
25957
|
};
|
|
27169
25958
|
/** Unlinks an addon from the project secret. */
|
|
27170
25959
|
declare class DeleteSecretlinkEndpoint extends DeleteApiEndpoint<DeleteSecretlinkRequest, DeleteSecretlinkResult> {
|
|
@@ -27237,6 +26026,13 @@ type GetSecretdetailsParameters = {
|
|
|
27237
26026
|
'projectId': string;
|
|
27238
26027
|
/** ID of the project secret */
|
|
27239
26028
|
'secretId': string;
|
|
26029
|
+
} | {
|
|
26030
|
+
/** ID of the team */
|
|
26031
|
+
'teamId': string;
|
|
26032
|
+
/** ID of the project */
|
|
26033
|
+
'projectId': string;
|
|
26034
|
+
/** ID of the project secret */
|
|
26035
|
+
'secretId': string;
|
|
27240
26036
|
};
|
|
27241
26037
|
/** View a project secret with details about its linked addons */
|
|
27242
26038
|
declare class GetSecretdetailsEndpoint extends GetApiEndpoint<GetSecretdetailsRequest, GetSecretdetailsResult> {
|
|
@@ -38327,434 +37123,7 @@ type CreateTemplateResult = {
|
|
|
38327
37123
|
'spec': any;
|
|
38328
37124
|
/** Optional spec to run when the template is deleted. */
|
|
38329
37125
|
'teardownSpec'?: {
|
|
38330
|
-
|
|
38331
|
-
'spec': {
|
|
38332
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
38333
|
-
'ref'?: string;
|
|
38334
|
-
/** The kind of node. Example: "Workflow" */
|
|
38335
|
-
'kind': 'Workflow';
|
|
38336
|
-
/** The specification for the workflow node. */
|
|
38337
|
-
'spec': {
|
|
38338
|
-
/** The type of workflow. If set to `sequential`, nodes in the workflow will run in order. If set to `parallel`, nodes will run simultaneously. Example: "sequential" */
|
|
38339
|
-
'type': 'sequential' | 'parallel';
|
|
38340
|
-
/** An array of nodes belonging to the workflow. */
|
|
38341
|
-
'steps': any[];
|
|
38342
|
-
};
|
|
38343
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
38344
|
-
} | {
|
|
38345
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
38346
|
-
'ref'?: string;
|
|
38347
|
-
/** The kind of node. Example: "JobRun" */
|
|
38348
|
-
'kind': 'JobRun';
|
|
38349
|
-
/** The specification for the JobRun node. */
|
|
38350
|
-
'spec': {
|
|
38351
|
-
/** ID of parent project */
|
|
38352
|
-
'projectId'?: string;
|
|
38353
|
-
'runtimeEnvironment'?: any | string;
|
|
38354
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
38355
|
-
'runtimeFiles'?: any;
|
|
38356
|
-
/** Docker secret mount contents as JSON object, encrypted at rest. Must be a valid Docker secret mount identifier Example: {"example-secret-mount_1":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
38357
|
-
'dockerSecretMounts'?: any;
|
|
38358
|
-
'billing'?: {
|
|
38359
|
-
/** The ID of the deployment plan override to use. */
|
|
38360
|
-
'deploymentPlan'?: string;
|
|
38361
|
-
};
|
|
38362
|
-
/** Override the job run deployment source. */
|
|
38363
|
-
'deployment'?: {
|
|
38364
|
-
/** Allows for customization of docker runtime */
|
|
38365
|
-
'docker'?: {
|
|
38366
|
-
/** Type of entrypoint & command override configuration Example: "default" */
|
|
38367
|
-
'configType': 'default' | 'customEntrypoint' | 'customCommand' | 'customEntrypointCustomCommand';
|
|
38368
|
-
/** Custom entrypoint which should be used. Required in case where `configType` is `customEntrypoint` or `customEntrypointCustomCommand` */
|
|
38369
|
-
'customEntrypoint'?: string;
|
|
38370
|
-
/** Custom command which should be used. Required in case where `configType` is `customCommand` or `customEntrypointCustomCommand` */
|
|
38371
|
-
'customCommand'?: string;
|
|
38372
|
-
};
|
|
38373
|
-
/** Allows for customization of buildpack runtime */
|
|
38374
|
-
'buildpack'?: {
|
|
38375
|
-
/** Type of buildpack run configuration */
|
|
38376
|
-
'configType': 'default' | 'customProcess' | 'customCommand' | 'customEntrypointCustomCommand' | 'originalEntrypointCustomCommand';
|
|
38377
|
-
/** Custom process which should be run. Required in case where `configType` is `customProcess` */
|
|
38378
|
-
'customProcess'?: string;
|
|
38379
|
-
/** Custom entrypoint which should be run. Required in case where `configType` is `customEntrypointCustomCommand` */
|
|
38380
|
-
'customEntrypoint'?: string;
|
|
38381
|
-
/** Custom command which should be run. Required in case where `configType` is `customCommand`, `customEntrypointCustomCommand` or `originalEntrypointCustomCommand` */
|
|
38382
|
-
'customCommand'?: string;
|
|
38383
|
-
};
|
|
38384
|
-
'storage'?: {
|
|
38385
|
-
'useHdbStorage'?: boolean;
|
|
38386
|
-
'usePdSsdStorage'?: boolean;
|
|
38387
|
-
'ephemeralStorage'?: {
|
|
38388
|
-
/** Ephemeral storage per container in MB */
|
|
38389
|
-
'storageSize'?: number | string;
|
|
38390
|
-
};
|
|
38391
|
-
/** Configures the amount of available memory-backed disk space available to /dev/shm */
|
|
38392
|
-
'shmSize'?: number | string;
|
|
38393
|
-
};
|
|
38394
|
-
/** Optional: Specify the commit to run */
|
|
38395
|
-
'internal'?: {
|
|
38396
|
-
/** ID of the build service to deploy */
|
|
38397
|
-
'id'?: string;
|
|
38398
|
-
/** Branch to deploy */
|
|
38399
|
-
'branch'?: string;
|
|
38400
|
-
/** Commit SHA to deploy, or 'latest' to deploy the most recent commit */
|
|
38401
|
-
'buildSHA'?: any | string;
|
|
38402
|
-
/** ID of the build that should be deployed */
|
|
38403
|
-
'buildId'?: string;
|
|
38404
|
-
};
|
|
38405
|
-
} | {
|
|
38406
|
-
/** Allows for customization of docker runtime */
|
|
38407
|
-
'docker'?: {
|
|
38408
|
-
/** Type of entrypoint & command override configuration Example: "default" */
|
|
38409
|
-
'configType': 'default' | 'customEntrypoint' | 'customCommand' | 'customEntrypointCustomCommand';
|
|
38410
|
-
/** Custom entrypoint which should be used. Required in case where `configType` is `customEntrypoint` or `customEntrypointCustomCommand` */
|
|
38411
|
-
'customEntrypoint'?: string;
|
|
38412
|
-
/** Custom command which should be used. Required in case where `configType` is `customCommand` or `customEntrypointCustomCommand` */
|
|
38413
|
-
'customCommand'?: string;
|
|
38414
|
-
};
|
|
38415
|
-
/** Allows for customization of buildpack runtime */
|
|
38416
|
-
'buildpack'?: {
|
|
38417
|
-
/** Type of buildpack run configuration */
|
|
38418
|
-
'configType': 'default' | 'customProcess' | 'customCommand' | 'customEntrypointCustomCommand' | 'originalEntrypointCustomCommand';
|
|
38419
|
-
/** Custom process which should be run. Required in case where `configType` is `customProcess` */
|
|
38420
|
-
'customProcess'?: string;
|
|
38421
|
-
/** Custom entrypoint which should be run. Required in case where `configType` is `customEntrypointCustomCommand` */
|
|
38422
|
-
'customEntrypoint'?: string;
|
|
38423
|
-
/** Custom command which should be run. Required in case where `configType` is `customCommand`, `customEntrypointCustomCommand` or `originalEntrypointCustomCommand` */
|
|
38424
|
-
'customCommand'?: string;
|
|
38425
|
-
};
|
|
38426
|
-
'storage'?: {
|
|
38427
|
-
'useHdbStorage'?: boolean;
|
|
38428
|
-
'usePdSsdStorage'?: boolean;
|
|
38429
|
-
'ephemeralStorage'?: {
|
|
38430
|
-
/** Ephemeral storage per container in MB */
|
|
38431
|
-
'storageSize'?: number | string;
|
|
38432
|
-
};
|
|
38433
|
-
/** Configures the amount of available memory-backed disk space available to /dev/shm */
|
|
38434
|
-
'shmSize'?: number | string;
|
|
38435
|
-
};
|
|
38436
|
-
/** Optional: Specify the external image to run */
|
|
38437
|
-
'external'?: {
|
|
38438
|
-
/** Image to be deployed. When not deploying from Dockerhub the URL must be specified. */
|
|
38439
|
-
'imagePath': string;
|
|
38440
|
-
/** ID of the saved credentials to use to access this external image. */
|
|
38441
|
-
'credentials'?: string;
|
|
38442
|
-
};
|
|
38443
|
-
};
|
|
38444
|
-
/** The ID of the job to run. */
|
|
38445
|
-
'jobId': string;
|
|
38446
|
-
};
|
|
38447
|
-
'condition'?: 'success';
|
|
38448
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
38449
|
-
} | {
|
|
38450
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
38451
|
-
'ref'?: string;
|
|
38452
|
-
/** The kind of node. Example: "LoopWorkflow" */
|
|
38453
|
-
'kind': 'LoopWorkflow';
|
|
38454
|
-
/** The specification for the loop workflow node. */
|
|
38455
|
-
'spec': {
|
|
38456
|
-
'iterations': any[] | string;
|
|
38457
|
-
/** An array of nodes that will be run multiple times. */
|
|
38458
|
-
'steps': any[];
|
|
38459
|
-
};
|
|
38460
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
38461
|
-
} | {
|
|
38462
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
38463
|
-
'ref'?: string;
|
|
38464
|
-
/** The kind of node. Example: "Action" */
|
|
38465
|
-
'kind': 'Action';
|
|
38466
|
-
/** The specification for the Action node. */
|
|
38467
|
-
'spec': {
|
|
38468
|
-
/** The kind of action. Example: "Addon" */
|
|
38469
|
-
'kind': 'Addon';
|
|
38470
|
-
'spec': {
|
|
38471
|
-
/** The type of action. Example: "restart" */
|
|
38472
|
-
'type': 'restart';
|
|
38473
|
-
'data': {
|
|
38474
|
-
/** ID of parent project */
|
|
38475
|
-
'projectId'?: string;
|
|
38476
|
-
/** The id of the addon to restart. */
|
|
38477
|
-
'addonId': string;
|
|
38478
|
-
'timeoutDuration'?: number | string;
|
|
38479
|
-
};
|
|
38480
|
-
'condition'?: 'running';
|
|
38481
|
-
};
|
|
38482
|
-
} | {
|
|
38483
|
-
/** The kind of action. Example: "AddonBackup" */
|
|
38484
|
-
'kind': 'AddonBackup';
|
|
38485
|
-
'spec': {
|
|
38486
|
-
/** The type of action. Example: "restore" */
|
|
38487
|
-
'type': 'restore';
|
|
38488
|
-
'data': {
|
|
38489
|
-
/** ID of parent project */
|
|
38490
|
-
'projectId'?: string;
|
|
38491
|
-
/** The id of the addon to restore a backup to. */
|
|
38492
|
-
'addonId': string;
|
|
38493
|
-
/** The id of the backup to restore. */
|
|
38494
|
-
'backupId': string;
|
|
38495
|
-
'timeoutDuration'?: number | string;
|
|
38496
|
-
};
|
|
38497
|
-
'condition'?: 'success';
|
|
38498
|
-
};
|
|
38499
|
-
} | {
|
|
38500
|
-
/** The kind of action. Example: "Job" */
|
|
38501
|
-
'kind': 'Job';
|
|
38502
|
-
'spec': {
|
|
38503
|
-
/** The type of action. Example: "execute" */
|
|
38504
|
-
'type': 'execute';
|
|
38505
|
-
'data': {
|
|
38506
|
-
/** ID of parent project */
|
|
38507
|
-
'projectId'?: string;
|
|
38508
|
-
/** The id of the job to run the command in. */
|
|
38509
|
-
'jobId': string;
|
|
38510
|
-
'command': string;
|
|
38511
|
-
'shell'?: string;
|
|
38512
|
-
'user'?: string;
|
|
38513
|
-
'group'?: string;
|
|
38514
|
-
};
|
|
38515
|
-
};
|
|
38516
|
-
} | {
|
|
38517
|
-
/** The kind of action. Example: "Service" */
|
|
38518
|
-
'kind': 'Service';
|
|
38519
|
-
'spec': {
|
|
38520
|
-
/** The type of action. Example: "restart" */
|
|
38521
|
-
'type': 'restart';
|
|
38522
|
-
'data': {
|
|
38523
|
-
/** ID of parent project */
|
|
38524
|
-
'projectId'?: string;
|
|
38525
|
-
/** The id of the service to restart. */
|
|
38526
|
-
'serviceId': string;
|
|
38527
|
-
'timeoutDuration'?: number | string;
|
|
38528
|
-
};
|
|
38529
|
-
'condition'?: 'running';
|
|
38530
|
-
} | {
|
|
38531
|
-
/** The type of action. Example: "execute" */
|
|
38532
|
-
'type': 'execute';
|
|
38533
|
-
'data': {
|
|
38534
|
-
/** ID of parent project */
|
|
38535
|
-
'projectId'?: string;
|
|
38536
|
-
/** The id of the service to run the command in. */
|
|
38537
|
-
'serviceId': string;
|
|
38538
|
-
'options'?: {
|
|
38539
|
-
/** Specify whether the command output should be awaited the node should succeed after having sent the command. Example: true */
|
|
38540
|
-
'dispatchOnly'?: boolean;
|
|
38541
|
-
};
|
|
38542
|
-
'command': string;
|
|
38543
|
-
'shell'?: string;
|
|
38544
|
-
'user'?: string;
|
|
38545
|
-
'group'?: string;
|
|
38546
|
-
};
|
|
38547
|
-
};
|
|
38548
|
-
} | {
|
|
38549
|
-
/** The kind of action. Example: "VCS" */
|
|
38550
|
-
'kind': 'VCS';
|
|
38551
|
-
'spec': {
|
|
38552
|
-
/** The type of action. Example: "createRepoFromSource" */
|
|
38553
|
-
'type': 'createRepoFromSource';
|
|
38554
|
-
'data': {
|
|
38555
|
-
'sourceData': {
|
|
38556
|
-
'publicRepo'?: boolean | string;
|
|
38557
|
-
'vcsService'?: string;
|
|
38558
|
-
'oauthProvider'?: string;
|
|
38559
|
-
'repoUrl': string;
|
|
38560
|
-
'accountLogin'?: string;
|
|
38561
|
-
'vcsLinkId'?: string;
|
|
38562
|
-
'selfHostedVcsId'?: string;
|
|
38563
|
-
};
|
|
38564
|
-
'targetData': {
|
|
38565
|
-
'name': string;
|
|
38566
|
-
'description'?: string;
|
|
38567
|
-
'privateRepo': boolean | string;
|
|
38568
|
-
'context'?: string;
|
|
38569
|
-
'folder'?: string;
|
|
38570
|
-
'accountLogin'?: string;
|
|
38571
|
-
'vcsLinkId'?: string;
|
|
38572
|
-
'oauthProvider'?: string;
|
|
38573
|
-
'vcsService'?: string;
|
|
38574
|
-
'selfHostedVcsId'?: string;
|
|
38575
|
-
};
|
|
38576
|
-
};
|
|
38577
|
-
};
|
|
38578
|
-
};
|
|
38579
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
38580
|
-
} | {
|
|
38581
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
38582
|
-
'ref'?: string;
|
|
38583
|
-
/** The kind of node. Example: "Condition" */
|
|
38584
|
-
'kind': 'Condition';
|
|
38585
|
-
/** The specification for the Condition node. */
|
|
38586
|
-
'spec': {
|
|
38587
|
-
/** The kind of condition. Example: "Addon" */
|
|
38588
|
-
'kind': 'Addon';
|
|
38589
|
-
'spec': {
|
|
38590
|
-
/** The type of condition. Example: "running" */
|
|
38591
|
-
'type': 'running';
|
|
38592
|
-
'data': {
|
|
38593
|
-
/** ID of parent project */
|
|
38594
|
-
'projectId'?: string;
|
|
38595
|
-
/** The id of the addon to monitor. */
|
|
38596
|
-
'addonId': string;
|
|
38597
|
-
'timeoutDuration'?: number | string;
|
|
38598
|
-
};
|
|
38599
|
-
};
|
|
38600
|
-
} | {
|
|
38601
|
-
/** The kind of condition. Example: "AddonBackup" */
|
|
38602
|
-
'kind': 'AddonBackup';
|
|
38603
|
-
'spec': {
|
|
38604
|
-
/** The type of condition. Example: "success" */
|
|
38605
|
-
'type': 'success';
|
|
38606
|
-
'data': {
|
|
38607
|
-
/** ID of parent project */
|
|
38608
|
-
'projectId'?: string;
|
|
38609
|
-
/** The id of the addon to monitor. */
|
|
38610
|
-
'addonId': string;
|
|
38611
|
-
/** The id of the backup to monitor. */
|
|
38612
|
-
'backupId': string;
|
|
38613
|
-
};
|
|
38614
|
-
};
|
|
38615
|
-
} | {
|
|
38616
|
-
/** The kind of condition. Example: "Build" */
|
|
38617
|
-
'kind': 'Build';
|
|
38618
|
-
'spec': {
|
|
38619
|
-
/** The type of condition. Example: "success" */
|
|
38620
|
-
'type': 'success';
|
|
38621
|
-
'data': {
|
|
38622
|
-
/** ID of parent project */
|
|
38623
|
-
'projectId'?: string;
|
|
38624
|
-
/** The id of the build to monitor. */
|
|
38625
|
-
'buildId': string;
|
|
38626
|
-
};
|
|
38627
|
-
};
|
|
38628
|
-
} | {
|
|
38629
|
-
/** The kind of condition. Example: "BYOCCluster" */
|
|
38630
|
-
'kind': 'BYOCCluster';
|
|
38631
|
-
'spec': {
|
|
38632
|
-
/** The type of condition. Example: "running" */
|
|
38633
|
-
'type': 'running';
|
|
38634
|
-
'data': {
|
|
38635
|
-
/** The id of the cluster to monitor. */
|
|
38636
|
-
'clusterId': string;
|
|
38637
|
-
'timeoutDuration'?: number | string;
|
|
38638
|
-
};
|
|
38639
|
-
};
|
|
38640
|
-
} | {
|
|
38641
|
-
/** The kind of condition. Example: "JobRun" */
|
|
38642
|
-
'kind': 'JobRun';
|
|
38643
|
-
'spec': {
|
|
38644
|
-
/** The type of condition. Example: "success" */
|
|
38645
|
-
'type': 'success';
|
|
38646
|
-
'data': {
|
|
38647
|
-
/** ID of parent project */
|
|
38648
|
-
'projectId'?: string;
|
|
38649
|
-
/** The id of the job to monitor. */
|
|
38650
|
-
'jobId': string;
|
|
38651
|
-
/** The id of the job run to monitor. */
|
|
38652
|
-
'runId': string;
|
|
38653
|
-
};
|
|
38654
|
-
};
|
|
38655
|
-
} | {
|
|
38656
|
-
/** The kind of condition. Example: "Service" */
|
|
38657
|
-
'kind': 'Service';
|
|
38658
|
-
'spec': {
|
|
38659
|
-
/** The type of condition. Example: "running" */
|
|
38660
|
-
'type': 'running';
|
|
38661
|
-
'data': {
|
|
38662
|
-
/** ID of parent project */
|
|
38663
|
-
'projectId'?: string;
|
|
38664
|
-
/** The id of the service to monitor. */
|
|
38665
|
-
'serviceId': string;
|
|
38666
|
-
'timeoutDuration'?: number | string;
|
|
38667
|
-
};
|
|
38668
|
-
};
|
|
38669
|
-
} | {
|
|
38670
|
-
/** The kind of condition. Example: "VCS" */
|
|
38671
|
-
'kind': 'VCS';
|
|
38672
|
-
'spec': {
|
|
38673
|
-
/** The type of condition. Example: "createRepoFromSourceSuccess" */
|
|
38674
|
-
'type': 'createRepoFromSourceSuccess';
|
|
38675
|
-
'data': {
|
|
38676
|
-
/** The tracker id outputted from the 'createRepoFromSource' action to monitor. */
|
|
38677
|
-
'trackerId': string;
|
|
38678
|
-
};
|
|
38679
|
-
};
|
|
38680
|
-
};
|
|
38681
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
38682
|
-
} | {
|
|
38683
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
38684
|
-
'ref'?: string;
|
|
38685
|
-
/** The kind of node. Example: "Message" */
|
|
38686
|
-
'kind': 'Message';
|
|
38687
|
-
/** The specification for the Message node. */
|
|
38688
|
-
'spec': {
|
|
38689
|
-
/** The kind of message to send. Example: "VCS" */
|
|
38690
|
-
'kind': 'VCS';
|
|
38691
|
-
'spec': {
|
|
38692
|
-
/** The VCS provider to use. */
|
|
38693
|
-
'vcsService': 'bitbucket' | 'gitlab' | 'github' | 'self-hosted' | 'azure' | string;
|
|
38694
|
-
/** If projectType is self-hosted, the ID of the self-hosted vcs to use. */
|
|
38695
|
-
'selfHostedVcsId'?: string;
|
|
38696
|
-
/** By default, if you have multiple version control accounts of the same provider linked, Northflank will pick a linked account that has access to the repository. If `accountLogin` is provided, Northflank will instead use your linked account with that login name. */
|
|
38697
|
-
'accountLogin'?: string;
|
|
38698
|
-
/** URL of the Git repo to send this message to. */
|
|
38699
|
-
'repoUrl': string;
|
|
38700
|
-
/** The ID of the pull request to comment on. */
|
|
38701
|
-
'pullRequestId': string;
|
|
38702
|
-
/** The rich text message to comment. */
|
|
38703
|
-
'message': string;
|
|
38704
|
-
};
|
|
38705
|
-
} | {
|
|
38706
|
-
/** The kind of message to send. Example: "SLACK" */
|
|
38707
|
-
'kind': 'SLACK';
|
|
38708
|
-
'spec': {
|
|
38709
|
-
/** The Slack webhook URL to send messages to. */
|
|
38710
|
-
'webhookUrl'?: string;
|
|
38711
|
-
/** The ID of an existing Slack integration to use. */
|
|
38712
|
-
'integrationInternalId'?: string;
|
|
38713
|
-
/** The message content to send to Slack. Supports markdown formatting. */
|
|
38714
|
-
'message': string;
|
|
38715
|
-
};
|
|
38716
|
-
} | {
|
|
38717
|
-
/** The kind of message to send. Example: "RAW_WEBHOOK" */
|
|
38718
|
-
'kind': 'RAW_WEBHOOK';
|
|
38719
|
-
'spec': {
|
|
38720
|
-
/** The webhook URL to send messages to. */
|
|
38721
|
-
'webhookUrl': string;
|
|
38722
|
-
/** The message content to send to the webhook. */
|
|
38723
|
-
'message': string;
|
|
38724
|
-
};
|
|
38725
|
-
};
|
|
38726
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
38727
|
-
} | {
|
|
38728
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
38729
|
-
'ref'?: string;
|
|
38730
|
-
/** The kind of node. Example: "LoopData" */
|
|
38731
|
-
'kind': 'LoopData';
|
|
38732
|
-
/** The specification for the LoopData node. */
|
|
38733
|
-
'spec': any;
|
|
38734
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
38735
|
-
} | {
|
|
38736
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
38737
|
-
'ref'?: string;
|
|
38738
|
-
/** The kind of node. Example: "OpenTofuDestroy" */
|
|
38739
|
-
'kind': 'OpenTofuDestroy';
|
|
38740
|
-
/** The specification for the OpenTofuDestroy node. */
|
|
38741
|
-
'spec': {
|
|
38742
|
-
/** The `ref` value of the `OpenTofu` node in the parent template whose state should be destroyed. Example: "my-infra" */
|
|
38743
|
-
'nodeRef': string;
|
|
38744
|
-
};
|
|
38745
|
-
'condition'?: 'success';
|
|
38746
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
38747
|
-
} | {
|
|
38748
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
38749
|
-
'ref'?: string;
|
|
38750
|
-
/** The kind of node. Example: "Approval" */
|
|
38751
|
-
'kind': 'Approval';
|
|
38752
|
-
/** The specification for the Approval node. */
|
|
38753
|
-
'spec': {
|
|
38754
|
-
'amount': number;
|
|
38755
|
-
};
|
|
38756
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
38757
|
-
};
|
|
37126
|
+
'spec': any;
|
|
38758
37127
|
/** Controls what happens if the teardown spec fails or times out. `ignore` (default) — proceed with resource deletion regardless. `block` — halt deletion and set the environment to `teardown_failed` */
|
|
38759
37128
|
'failurePolicy'?: 'ignore' | 'block';
|
|
38760
37129
|
} | null;
|
|
@@ -38875,434 +37244,7 @@ type CreateTemplateData = {
|
|
|
38875
37244
|
'spec': any;
|
|
38876
37245
|
/** Optional spec to run when the template is deleted. */
|
|
38877
37246
|
'teardownSpec'?: {
|
|
38878
|
-
|
|
38879
|
-
'spec': {
|
|
38880
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
38881
|
-
'ref'?: string;
|
|
38882
|
-
/** The kind of node. Example: "Workflow" */
|
|
38883
|
-
'kind': 'Workflow';
|
|
38884
|
-
/** The specification for the workflow node. */
|
|
38885
|
-
'spec': {
|
|
38886
|
-
/** The type of workflow. If set to `sequential`, nodes in the workflow will run in order. If set to `parallel`, nodes will run simultaneously. Example: "sequential" */
|
|
38887
|
-
'type': 'sequential' | 'parallel';
|
|
38888
|
-
/** An array of nodes belonging to the workflow. */
|
|
38889
|
-
'steps': any[];
|
|
38890
|
-
};
|
|
38891
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
38892
|
-
} | {
|
|
38893
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
38894
|
-
'ref'?: string;
|
|
38895
|
-
/** The kind of node. Example: "JobRun" */
|
|
38896
|
-
'kind': 'JobRun';
|
|
38897
|
-
/** The specification for the JobRun node. */
|
|
38898
|
-
'spec': {
|
|
38899
|
-
/** ID of parent project */
|
|
38900
|
-
'projectId'?: string;
|
|
38901
|
-
'runtimeEnvironment'?: any | string;
|
|
38902
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
38903
|
-
'runtimeFiles'?: any;
|
|
38904
|
-
/** Docker secret mount contents as JSON object, encrypted at rest. Must be a valid Docker secret mount identifier Example: {"example-secret-mount_1":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
38905
|
-
'dockerSecretMounts'?: any;
|
|
38906
|
-
'billing'?: {
|
|
38907
|
-
/** The ID of the deployment plan override to use. */
|
|
38908
|
-
'deploymentPlan'?: string;
|
|
38909
|
-
};
|
|
38910
|
-
/** Override the job run deployment source. */
|
|
38911
|
-
'deployment'?: {
|
|
38912
|
-
/** Allows for customization of docker runtime */
|
|
38913
|
-
'docker'?: {
|
|
38914
|
-
/** Type of entrypoint & command override configuration Example: "default" */
|
|
38915
|
-
'configType': 'default' | 'customEntrypoint' | 'customCommand' | 'customEntrypointCustomCommand';
|
|
38916
|
-
/** Custom entrypoint which should be used. Required in case where `configType` is `customEntrypoint` or `customEntrypointCustomCommand` */
|
|
38917
|
-
'customEntrypoint'?: string;
|
|
38918
|
-
/** Custom command which should be used. Required in case where `configType` is `customCommand` or `customEntrypointCustomCommand` */
|
|
38919
|
-
'customCommand'?: string;
|
|
38920
|
-
};
|
|
38921
|
-
/** Allows for customization of buildpack runtime */
|
|
38922
|
-
'buildpack'?: {
|
|
38923
|
-
/** Type of buildpack run configuration */
|
|
38924
|
-
'configType': 'default' | 'customProcess' | 'customCommand' | 'customEntrypointCustomCommand' | 'originalEntrypointCustomCommand';
|
|
38925
|
-
/** Custom process which should be run. Required in case where `configType` is `customProcess` */
|
|
38926
|
-
'customProcess'?: string;
|
|
38927
|
-
/** Custom entrypoint which should be run. Required in case where `configType` is `customEntrypointCustomCommand` */
|
|
38928
|
-
'customEntrypoint'?: string;
|
|
38929
|
-
/** Custom command which should be run. Required in case where `configType` is `customCommand`, `customEntrypointCustomCommand` or `originalEntrypointCustomCommand` */
|
|
38930
|
-
'customCommand'?: string;
|
|
38931
|
-
};
|
|
38932
|
-
'storage'?: {
|
|
38933
|
-
'useHdbStorage'?: boolean;
|
|
38934
|
-
'usePdSsdStorage'?: boolean;
|
|
38935
|
-
'ephemeralStorage'?: {
|
|
38936
|
-
/** Ephemeral storage per container in MB */
|
|
38937
|
-
'storageSize'?: number | string;
|
|
38938
|
-
};
|
|
38939
|
-
/** Configures the amount of available memory-backed disk space available to /dev/shm */
|
|
38940
|
-
'shmSize'?: number | string;
|
|
38941
|
-
};
|
|
38942
|
-
/** Optional: Specify the commit to run */
|
|
38943
|
-
'internal'?: {
|
|
38944
|
-
/** ID of the build service to deploy */
|
|
38945
|
-
'id'?: string;
|
|
38946
|
-
/** Branch to deploy */
|
|
38947
|
-
'branch'?: string;
|
|
38948
|
-
/** Commit SHA to deploy, or 'latest' to deploy the most recent commit */
|
|
38949
|
-
'buildSHA'?: any | string;
|
|
38950
|
-
/** ID of the build that should be deployed */
|
|
38951
|
-
'buildId'?: string;
|
|
38952
|
-
};
|
|
38953
|
-
} | {
|
|
38954
|
-
/** Allows for customization of docker runtime */
|
|
38955
|
-
'docker'?: {
|
|
38956
|
-
/** Type of entrypoint & command override configuration Example: "default" */
|
|
38957
|
-
'configType': 'default' | 'customEntrypoint' | 'customCommand' | 'customEntrypointCustomCommand';
|
|
38958
|
-
/** Custom entrypoint which should be used. Required in case where `configType` is `customEntrypoint` or `customEntrypointCustomCommand` */
|
|
38959
|
-
'customEntrypoint'?: string;
|
|
38960
|
-
/** Custom command which should be used. Required in case where `configType` is `customCommand` or `customEntrypointCustomCommand` */
|
|
38961
|
-
'customCommand'?: string;
|
|
38962
|
-
};
|
|
38963
|
-
/** Allows for customization of buildpack runtime */
|
|
38964
|
-
'buildpack'?: {
|
|
38965
|
-
/** Type of buildpack run configuration */
|
|
38966
|
-
'configType': 'default' | 'customProcess' | 'customCommand' | 'customEntrypointCustomCommand' | 'originalEntrypointCustomCommand';
|
|
38967
|
-
/** Custom process which should be run. Required in case where `configType` is `customProcess` */
|
|
38968
|
-
'customProcess'?: string;
|
|
38969
|
-
/** Custom entrypoint which should be run. Required in case where `configType` is `customEntrypointCustomCommand` */
|
|
38970
|
-
'customEntrypoint'?: string;
|
|
38971
|
-
/** Custom command which should be run. Required in case where `configType` is `customCommand`, `customEntrypointCustomCommand` or `originalEntrypointCustomCommand` */
|
|
38972
|
-
'customCommand'?: string;
|
|
38973
|
-
};
|
|
38974
|
-
'storage'?: {
|
|
38975
|
-
'useHdbStorage'?: boolean;
|
|
38976
|
-
'usePdSsdStorage'?: boolean;
|
|
38977
|
-
'ephemeralStorage'?: {
|
|
38978
|
-
/** Ephemeral storage per container in MB */
|
|
38979
|
-
'storageSize'?: number | string;
|
|
38980
|
-
};
|
|
38981
|
-
/** Configures the amount of available memory-backed disk space available to /dev/shm */
|
|
38982
|
-
'shmSize'?: number | string;
|
|
38983
|
-
};
|
|
38984
|
-
/** Optional: Specify the external image to run */
|
|
38985
|
-
'external'?: {
|
|
38986
|
-
/** Image to be deployed. When not deploying from Dockerhub the URL must be specified. */
|
|
38987
|
-
'imagePath': string;
|
|
38988
|
-
/** ID of the saved credentials to use to access this external image. */
|
|
38989
|
-
'credentials'?: string;
|
|
38990
|
-
};
|
|
38991
|
-
};
|
|
38992
|
-
/** The ID of the job to run. */
|
|
38993
|
-
'jobId': string;
|
|
38994
|
-
};
|
|
38995
|
-
'condition'?: 'success';
|
|
38996
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
38997
|
-
} | {
|
|
38998
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
38999
|
-
'ref'?: string;
|
|
39000
|
-
/** The kind of node. Example: "LoopWorkflow" */
|
|
39001
|
-
'kind': 'LoopWorkflow';
|
|
39002
|
-
/** The specification for the loop workflow node. */
|
|
39003
|
-
'spec': {
|
|
39004
|
-
'iterations': any[] | string;
|
|
39005
|
-
/** An array of nodes that will be run multiple times. */
|
|
39006
|
-
'steps': any[];
|
|
39007
|
-
};
|
|
39008
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
39009
|
-
} | {
|
|
39010
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
39011
|
-
'ref'?: string;
|
|
39012
|
-
/** The kind of node. Example: "Action" */
|
|
39013
|
-
'kind': 'Action';
|
|
39014
|
-
/** The specification for the Action node. */
|
|
39015
|
-
'spec': {
|
|
39016
|
-
/** The kind of action. Example: "Addon" */
|
|
39017
|
-
'kind': 'Addon';
|
|
39018
|
-
'spec': {
|
|
39019
|
-
/** The type of action. Example: "restart" */
|
|
39020
|
-
'type': 'restart';
|
|
39021
|
-
'data': {
|
|
39022
|
-
/** ID of parent project */
|
|
39023
|
-
'projectId'?: string;
|
|
39024
|
-
/** The id of the addon to restart. */
|
|
39025
|
-
'addonId': string;
|
|
39026
|
-
'timeoutDuration'?: number | string;
|
|
39027
|
-
};
|
|
39028
|
-
'condition'?: 'running';
|
|
39029
|
-
};
|
|
39030
|
-
} | {
|
|
39031
|
-
/** The kind of action. Example: "AddonBackup" */
|
|
39032
|
-
'kind': 'AddonBackup';
|
|
39033
|
-
'spec': {
|
|
39034
|
-
/** The type of action. Example: "restore" */
|
|
39035
|
-
'type': 'restore';
|
|
39036
|
-
'data': {
|
|
39037
|
-
/** ID of parent project */
|
|
39038
|
-
'projectId'?: string;
|
|
39039
|
-
/** The id of the addon to restore a backup to. */
|
|
39040
|
-
'addonId': string;
|
|
39041
|
-
/** The id of the backup to restore. */
|
|
39042
|
-
'backupId': string;
|
|
39043
|
-
'timeoutDuration'?: number | string;
|
|
39044
|
-
};
|
|
39045
|
-
'condition'?: 'success';
|
|
39046
|
-
};
|
|
39047
|
-
} | {
|
|
39048
|
-
/** The kind of action. Example: "Job" */
|
|
39049
|
-
'kind': 'Job';
|
|
39050
|
-
'spec': {
|
|
39051
|
-
/** The type of action. Example: "execute" */
|
|
39052
|
-
'type': 'execute';
|
|
39053
|
-
'data': {
|
|
39054
|
-
/** ID of parent project */
|
|
39055
|
-
'projectId'?: string;
|
|
39056
|
-
/** The id of the job to run the command in. */
|
|
39057
|
-
'jobId': string;
|
|
39058
|
-
'command': string;
|
|
39059
|
-
'shell'?: string;
|
|
39060
|
-
'user'?: string;
|
|
39061
|
-
'group'?: string;
|
|
39062
|
-
};
|
|
39063
|
-
};
|
|
39064
|
-
} | {
|
|
39065
|
-
/** The kind of action. Example: "Service" */
|
|
39066
|
-
'kind': 'Service';
|
|
39067
|
-
'spec': {
|
|
39068
|
-
/** The type of action. Example: "restart" */
|
|
39069
|
-
'type': 'restart';
|
|
39070
|
-
'data': {
|
|
39071
|
-
/** ID of parent project */
|
|
39072
|
-
'projectId'?: string;
|
|
39073
|
-
/** The id of the service to restart. */
|
|
39074
|
-
'serviceId': string;
|
|
39075
|
-
'timeoutDuration'?: number | string;
|
|
39076
|
-
};
|
|
39077
|
-
'condition'?: 'running';
|
|
39078
|
-
} | {
|
|
39079
|
-
/** The type of action. Example: "execute" */
|
|
39080
|
-
'type': 'execute';
|
|
39081
|
-
'data': {
|
|
39082
|
-
/** ID of parent project */
|
|
39083
|
-
'projectId'?: string;
|
|
39084
|
-
/** The id of the service to run the command in. */
|
|
39085
|
-
'serviceId': string;
|
|
39086
|
-
'options'?: {
|
|
39087
|
-
/** Specify whether the command output should be awaited the node should succeed after having sent the command. Example: true */
|
|
39088
|
-
'dispatchOnly'?: boolean;
|
|
39089
|
-
};
|
|
39090
|
-
'command': string;
|
|
39091
|
-
'shell'?: string;
|
|
39092
|
-
'user'?: string;
|
|
39093
|
-
'group'?: string;
|
|
39094
|
-
};
|
|
39095
|
-
};
|
|
39096
|
-
} | {
|
|
39097
|
-
/** The kind of action. Example: "VCS" */
|
|
39098
|
-
'kind': 'VCS';
|
|
39099
|
-
'spec': {
|
|
39100
|
-
/** The type of action. Example: "createRepoFromSource" */
|
|
39101
|
-
'type': 'createRepoFromSource';
|
|
39102
|
-
'data': {
|
|
39103
|
-
'sourceData': {
|
|
39104
|
-
'publicRepo'?: boolean | string;
|
|
39105
|
-
'vcsService'?: string;
|
|
39106
|
-
'oauthProvider'?: string;
|
|
39107
|
-
'repoUrl': string;
|
|
39108
|
-
'accountLogin'?: string;
|
|
39109
|
-
'vcsLinkId'?: string;
|
|
39110
|
-
'selfHostedVcsId'?: string;
|
|
39111
|
-
};
|
|
39112
|
-
'targetData': {
|
|
39113
|
-
'name': string;
|
|
39114
|
-
'description'?: string;
|
|
39115
|
-
'privateRepo': boolean | string;
|
|
39116
|
-
'context'?: string;
|
|
39117
|
-
'folder'?: string;
|
|
39118
|
-
'accountLogin'?: string;
|
|
39119
|
-
'vcsLinkId'?: string;
|
|
39120
|
-
'oauthProvider'?: string;
|
|
39121
|
-
'vcsService'?: string;
|
|
39122
|
-
'selfHostedVcsId'?: string;
|
|
39123
|
-
};
|
|
39124
|
-
};
|
|
39125
|
-
};
|
|
39126
|
-
};
|
|
39127
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
39128
|
-
} | {
|
|
39129
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
39130
|
-
'ref'?: string;
|
|
39131
|
-
/** The kind of node. Example: "Condition" */
|
|
39132
|
-
'kind': 'Condition';
|
|
39133
|
-
/** The specification for the Condition node. */
|
|
39134
|
-
'spec': {
|
|
39135
|
-
/** The kind of condition. Example: "Addon" */
|
|
39136
|
-
'kind': 'Addon';
|
|
39137
|
-
'spec': {
|
|
39138
|
-
/** The type of condition. Example: "running" */
|
|
39139
|
-
'type': 'running';
|
|
39140
|
-
'data': {
|
|
39141
|
-
/** ID of parent project */
|
|
39142
|
-
'projectId'?: string;
|
|
39143
|
-
/** The id of the addon to monitor. */
|
|
39144
|
-
'addonId': string;
|
|
39145
|
-
'timeoutDuration'?: number | string;
|
|
39146
|
-
};
|
|
39147
|
-
};
|
|
39148
|
-
} | {
|
|
39149
|
-
/** The kind of condition. Example: "AddonBackup" */
|
|
39150
|
-
'kind': 'AddonBackup';
|
|
39151
|
-
'spec': {
|
|
39152
|
-
/** The type of condition. Example: "success" */
|
|
39153
|
-
'type': 'success';
|
|
39154
|
-
'data': {
|
|
39155
|
-
/** ID of parent project */
|
|
39156
|
-
'projectId'?: string;
|
|
39157
|
-
/** The id of the addon to monitor. */
|
|
39158
|
-
'addonId': string;
|
|
39159
|
-
/** The id of the backup to monitor. */
|
|
39160
|
-
'backupId': string;
|
|
39161
|
-
};
|
|
39162
|
-
};
|
|
39163
|
-
} | {
|
|
39164
|
-
/** The kind of condition. Example: "Build" */
|
|
39165
|
-
'kind': 'Build';
|
|
39166
|
-
'spec': {
|
|
39167
|
-
/** The type of condition. Example: "success" */
|
|
39168
|
-
'type': 'success';
|
|
39169
|
-
'data': {
|
|
39170
|
-
/** ID of parent project */
|
|
39171
|
-
'projectId'?: string;
|
|
39172
|
-
/** The id of the build to monitor. */
|
|
39173
|
-
'buildId': string;
|
|
39174
|
-
};
|
|
39175
|
-
};
|
|
39176
|
-
} | {
|
|
39177
|
-
/** The kind of condition. Example: "BYOCCluster" */
|
|
39178
|
-
'kind': 'BYOCCluster';
|
|
39179
|
-
'spec': {
|
|
39180
|
-
/** The type of condition. Example: "running" */
|
|
39181
|
-
'type': 'running';
|
|
39182
|
-
'data': {
|
|
39183
|
-
/** The id of the cluster to monitor. */
|
|
39184
|
-
'clusterId': string;
|
|
39185
|
-
'timeoutDuration'?: number | string;
|
|
39186
|
-
};
|
|
39187
|
-
};
|
|
39188
|
-
} | {
|
|
39189
|
-
/** The kind of condition. Example: "JobRun" */
|
|
39190
|
-
'kind': 'JobRun';
|
|
39191
|
-
'spec': {
|
|
39192
|
-
/** The type of condition. Example: "success" */
|
|
39193
|
-
'type': 'success';
|
|
39194
|
-
'data': {
|
|
39195
|
-
/** ID of parent project */
|
|
39196
|
-
'projectId'?: string;
|
|
39197
|
-
/** The id of the job to monitor. */
|
|
39198
|
-
'jobId': string;
|
|
39199
|
-
/** The id of the job run to monitor. */
|
|
39200
|
-
'runId': string;
|
|
39201
|
-
};
|
|
39202
|
-
};
|
|
39203
|
-
} | {
|
|
39204
|
-
/** The kind of condition. Example: "Service" */
|
|
39205
|
-
'kind': 'Service';
|
|
39206
|
-
'spec': {
|
|
39207
|
-
/** The type of condition. Example: "running" */
|
|
39208
|
-
'type': 'running';
|
|
39209
|
-
'data': {
|
|
39210
|
-
/** ID of parent project */
|
|
39211
|
-
'projectId'?: string;
|
|
39212
|
-
/** The id of the service to monitor. */
|
|
39213
|
-
'serviceId': string;
|
|
39214
|
-
'timeoutDuration'?: number | string;
|
|
39215
|
-
};
|
|
39216
|
-
};
|
|
39217
|
-
} | {
|
|
39218
|
-
/** The kind of condition. Example: "VCS" */
|
|
39219
|
-
'kind': 'VCS';
|
|
39220
|
-
'spec': {
|
|
39221
|
-
/** The type of condition. Example: "createRepoFromSourceSuccess" */
|
|
39222
|
-
'type': 'createRepoFromSourceSuccess';
|
|
39223
|
-
'data': {
|
|
39224
|
-
/** The tracker id outputted from the 'createRepoFromSource' action to monitor. */
|
|
39225
|
-
'trackerId': string;
|
|
39226
|
-
};
|
|
39227
|
-
};
|
|
39228
|
-
};
|
|
39229
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
39230
|
-
} | {
|
|
39231
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
39232
|
-
'ref'?: string;
|
|
39233
|
-
/** The kind of node. Example: "Message" */
|
|
39234
|
-
'kind': 'Message';
|
|
39235
|
-
/** The specification for the Message node. */
|
|
39236
|
-
'spec': {
|
|
39237
|
-
/** The kind of message to send. Example: "VCS" */
|
|
39238
|
-
'kind': 'VCS';
|
|
39239
|
-
'spec': {
|
|
39240
|
-
/** The VCS provider to use. */
|
|
39241
|
-
'vcsService': 'bitbucket' | 'gitlab' | 'github' | 'self-hosted' | 'azure' | string;
|
|
39242
|
-
/** If projectType is self-hosted, the ID of the self-hosted vcs to use. */
|
|
39243
|
-
'selfHostedVcsId'?: string;
|
|
39244
|
-
/** By default, if you have multiple version control accounts of the same provider linked, Northflank will pick a linked account that has access to the repository. If `accountLogin` is provided, Northflank will instead use your linked account with that login name. */
|
|
39245
|
-
'accountLogin'?: string;
|
|
39246
|
-
/** URL of the Git repo to send this message to. */
|
|
39247
|
-
'repoUrl': string;
|
|
39248
|
-
/** The ID of the pull request to comment on. */
|
|
39249
|
-
'pullRequestId': string;
|
|
39250
|
-
/** The rich text message to comment. */
|
|
39251
|
-
'message': string;
|
|
39252
|
-
};
|
|
39253
|
-
} | {
|
|
39254
|
-
/** The kind of message to send. Example: "SLACK" */
|
|
39255
|
-
'kind': 'SLACK';
|
|
39256
|
-
'spec': {
|
|
39257
|
-
/** The Slack webhook URL to send messages to. */
|
|
39258
|
-
'webhookUrl'?: string;
|
|
39259
|
-
/** The ID of an existing Slack integration to use. */
|
|
39260
|
-
'integrationInternalId'?: string;
|
|
39261
|
-
/** The message content to send to Slack. Supports markdown formatting. */
|
|
39262
|
-
'message': string;
|
|
39263
|
-
};
|
|
39264
|
-
} | {
|
|
39265
|
-
/** The kind of message to send. Example: "RAW_WEBHOOK" */
|
|
39266
|
-
'kind': 'RAW_WEBHOOK';
|
|
39267
|
-
'spec': {
|
|
39268
|
-
/** The webhook URL to send messages to. */
|
|
39269
|
-
'webhookUrl': string;
|
|
39270
|
-
/** The message content to send to the webhook. */
|
|
39271
|
-
'message': string;
|
|
39272
|
-
};
|
|
39273
|
-
};
|
|
39274
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
39275
|
-
} | {
|
|
39276
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
39277
|
-
'ref'?: string;
|
|
39278
|
-
/** The kind of node. Example: "LoopData" */
|
|
39279
|
-
'kind': 'LoopData';
|
|
39280
|
-
/** The specification for the LoopData node. */
|
|
39281
|
-
'spec': any;
|
|
39282
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
39283
|
-
} | {
|
|
39284
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
39285
|
-
'ref'?: string;
|
|
39286
|
-
/** The kind of node. Example: "OpenTofuDestroy" */
|
|
39287
|
-
'kind': 'OpenTofuDestroy';
|
|
39288
|
-
/** The specification for the OpenTofuDestroy node. */
|
|
39289
|
-
'spec': {
|
|
39290
|
-
/** The `ref` value of the `OpenTofu` node in the parent template whose state should be destroyed. Example: "my-infra" */
|
|
39291
|
-
'nodeRef': string;
|
|
39292
|
-
};
|
|
39293
|
-
'condition'?: 'success';
|
|
39294
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
39295
|
-
} | {
|
|
39296
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
39297
|
-
'ref'?: string;
|
|
39298
|
-
/** The kind of node. Example: "Approval" */
|
|
39299
|
-
'kind': 'Approval';
|
|
39300
|
-
/** The specification for the Approval node. */
|
|
39301
|
-
'spec': {
|
|
39302
|
-
'amount': number;
|
|
39303
|
-
};
|
|
39304
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
39305
|
-
};
|
|
37247
|
+
'spec': any;
|
|
39306
37248
|
/** Controls what happens if the teardown spec fails or times out. `ignore` (default) — proceed with resource deletion regardless. `block` — halt deletion and set the environment to `teardown_failed` */
|
|
39307
37249
|
'failurePolicy'?: 'ignore' | 'block';
|
|
39308
37250
|
} | null;
|
|
@@ -39328,434 +37270,7 @@ type CreateTemplateData = {
|
|
|
39328
37270
|
'arguments'?: any;
|
|
39329
37271
|
/** Optional spec to run when the template is deleted. */
|
|
39330
37272
|
'teardownSpec'?: {
|
|
39331
|
-
|
|
39332
|
-
'spec': {
|
|
39333
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
39334
|
-
'ref'?: string;
|
|
39335
|
-
/** The kind of node. Example: "Workflow" */
|
|
39336
|
-
'kind': 'Workflow';
|
|
39337
|
-
/** The specification for the workflow node. */
|
|
39338
|
-
'spec': {
|
|
39339
|
-
/** The type of workflow. If set to `sequential`, nodes in the workflow will run in order. If set to `parallel`, nodes will run simultaneously. Example: "sequential" */
|
|
39340
|
-
'type': 'sequential' | 'parallel';
|
|
39341
|
-
/** An array of nodes belonging to the workflow. */
|
|
39342
|
-
'steps': any[];
|
|
39343
|
-
};
|
|
39344
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
39345
|
-
} | {
|
|
39346
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
39347
|
-
'ref'?: string;
|
|
39348
|
-
/** The kind of node. Example: "JobRun" */
|
|
39349
|
-
'kind': 'JobRun';
|
|
39350
|
-
/** The specification for the JobRun node. */
|
|
39351
|
-
'spec': {
|
|
39352
|
-
/** ID of parent project */
|
|
39353
|
-
'projectId'?: string;
|
|
39354
|
-
'runtimeEnvironment'?: any | string;
|
|
39355
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
39356
|
-
'runtimeFiles'?: any;
|
|
39357
|
-
/** Docker secret mount contents as JSON object, encrypted at rest. Must be a valid Docker secret mount identifier Example: {"example-secret-mount_1":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
39358
|
-
'dockerSecretMounts'?: any;
|
|
39359
|
-
'billing'?: {
|
|
39360
|
-
/** The ID of the deployment plan override to use. */
|
|
39361
|
-
'deploymentPlan'?: string;
|
|
39362
|
-
};
|
|
39363
|
-
/** Override the job run deployment source. */
|
|
39364
|
-
'deployment'?: {
|
|
39365
|
-
/** Allows for customization of docker runtime */
|
|
39366
|
-
'docker'?: {
|
|
39367
|
-
/** Type of entrypoint & command override configuration Example: "default" */
|
|
39368
|
-
'configType': 'default' | 'customEntrypoint' | 'customCommand' | 'customEntrypointCustomCommand';
|
|
39369
|
-
/** Custom entrypoint which should be used. Required in case where `configType` is `customEntrypoint` or `customEntrypointCustomCommand` */
|
|
39370
|
-
'customEntrypoint'?: string;
|
|
39371
|
-
/** Custom command which should be used. Required in case where `configType` is `customCommand` or `customEntrypointCustomCommand` */
|
|
39372
|
-
'customCommand'?: string;
|
|
39373
|
-
};
|
|
39374
|
-
/** Allows for customization of buildpack runtime */
|
|
39375
|
-
'buildpack'?: {
|
|
39376
|
-
/** Type of buildpack run configuration */
|
|
39377
|
-
'configType': 'default' | 'customProcess' | 'customCommand' | 'customEntrypointCustomCommand' | 'originalEntrypointCustomCommand';
|
|
39378
|
-
/** Custom process which should be run. Required in case where `configType` is `customProcess` */
|
|
39379
|
-
'customProcess'?: string;
|
|
39380
|
-
/** Custom entrypoint which should be run. Required in case where `configType` is `customEntrypointCustomCommand` */
|
|
39381
|
-
'customEntrypoint'?: string;
|
|
39382
|
-
/** Custom command which should be run. Required in case where `configType` is `customCommand`, `customEntrypointCustomCommand` or `originalEntrypointCustomCommand` */
|
|
39383
|
-
'customCommand'?: string;
|
|
39384
|
-
};
|
|
39385
|
-
'storage'?: {
|
|
39386
|
-
'useHdbStorage'?: boolean;
|
|
39387
|
-
'usePdSsdStorage'?: boolean;
|
|
39388
|
-
'ephemeralStorage'?: {
|
|
39389
|
-
/** Ephemeral storage per container in MB */
|
|
39390
|
-
'storageSize'?: number | string;
|
|
39391
|
-
};
|
|
39392
|
-
/** Configures the amount of available memory-backed disk space available to /dev/shm */
|
|
39393
|
-
'shmSize'?: number | string;
|
|
39394
|
-
};
|
|
39395
|
-
/** Optional: Specify the commit to run */
|
|
39396
|
-
'internal'?: {
|
|
39397
|
-
/** ID of the build service to deploy */
|
|
39398
|
-
'id'?: string;
|
|
39399
|
-
/** Branch to deploy */
|
|
39400
|
-
'branch'?: string;
|
|
39401
|
-
/** Commit SHA to deploy, or 'latest' to deploy the most recent commit */
|
|
39402
|
-
'buildSHA'?: any | string;
|
|
39403
|
-
/** ID of the build that should be deployed */
|
|
39404
|
-
'buildId'?: string;
|
|
39405
|
-
};
|
|
39406
|
-
} | {
|
|
39407
|
-
/** Allows for customization of docker runtime */
|
|
39408
|
-
'docker'?: {
|
|
39409
|
-
/** Type of entrypoint & command override configuration Example: "default" */
|
|
39410
|
-
'configType': 'default' | 'customEntrypoint' | 'customCommand' | 'customEntrypointCustomCommand';
|
|
39411
|
-
/** Custom entrypoint which should be used. Required in case where `configType` is `customEntrypoint` or `customEntrypointCustomCommand` */
|
|
39412
|
-
'customEntrypoint'?: string;
|
|
39413
|
-
/** Custom command which should be used. Required in case where `configType` is `customCommand` or `customEntrypointCustomCommand` */
|
|
39414
|
-
'customCommand'?: string;
|
|
39415
|
-
};
|
|
39416
|
-
/** Allows for customization of buildpack runtime */
|
|
39417
|
-
'buildpack'?: {
|
|
39418
|
-
/** Type of buildpack run configuration */
|
|
39419
|
-
'configType': 'default' | 'customProcess' | 'customCommand' | 'customEntrypointCustomCommand' | 'originalEntrypointCustomCommand';
|
|
39420
|
-
/** Custom process which should be run. Required in case where `configType` is `customProcess` */
|
|
39421
|
-
'customProcess'?: string;
|
|
39422
|
-
/** Custom entrypoint which should be run. Required in case where `configType` is `customEntrypointCustomCommand` */
|
|
39423
|
-
'customEntrypoint'?: string;
|
|
39424
|
-
/** Custom command which should be run. Required in case where `configType` is `customCommand`, `customEntrypointCustomCommand` or `originalEntrypointCustomCommand` */
|
|
39425
|
-
'customCommand'?: string;
|
|
39426
|
-
};
|
|
39427
|
-
'storage'?: {
|
|
39428
|
-
'useHdbStorage'?: boolean;
|
|
39429
|
-
'usePdSsdStorage'?: boolean;
|
|
39430
|
-
'ephemeralStorage'?: {
|
|
39431
|
-
/** Ephemeral storage per container in MB */
|
|
39432
|
-
'storageSize'?: number | string;
|
|
39433
|
-
};
|
|
39434
|
-
/** Configures the amount of available memory-backed disk space available to /dev/shm */
|
|
39435
|
-
'shmSize'?: number | string;
|
|
39436
|
-
};
|
|
39437
|
-
/** Optional: Specify the external image to run */
|
|
39438
|
-
'external'?: {
|
|
39439
|
-
/** Image to be deployed. When not deploying from Dockerhub the URL must be specified. */
|
|
39440
|
-
'imagePath': string;
|
|
39441
|
-
/** ID of the saved credentials to use to access this external image. */
|
|
39442
|
-
'credentials'?: string;
|
|
39443
|
-
};
|
|
39444
|
-
};
|
|
39445
|
-
/** The ID of the job to run. */
|
|
39446
|
-
'jobId': string;
|
|
39447
|
-
};
|
|
39448
|
-
'condition'?: 'success';
|
|
39449
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
39450
|
-
} | {
|
|
39451
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
39452
|
-
'ref'?: string;
|
|
39453
|
-
/** The kind of node. Example: "LoopWorkflow" */
|
|
39454
|
-
'kind': 'LoopWorkflow';
|
|
39455
|
-
/** The specification for the loop workflow node. */
|
|
39456
|
-
'spec': {
|
|
39457
|
-
'iterations': any[] | string;
|
|
39458
|
-
/** An array of nodes that will be run multiple times. */
|
|
39459
|
-
'steps': any[];
|
|
39460
|
-
};
|
|
39461
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
39462
|
-
} | {
|
|
39463
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
39464
|
-
'ref'?: string;
|
|
39465
|
-
/** The kind of node. Example: "Action" */
|
|
39466
|
-
'kind': 'Action';
|
|
39467
|
-
/** The specification for the Action node. */
|
|
39468
|
-
'spec': {
|
|
39469
|
-
/** The kind of action. Example: "Addon" */
|
|
39470
|
-
'kind': 'Addon';
|
|
39471
|
-
'spec': {
|
|
39472
|
-
/** The type of action. Example: "restart" */
|
|
39473
|
-
'type': 'restart';
|
|
39474
|
-
'data': {
|
|
39475
|
-
/** ID of parent project */
|
|
39476
|
-
'projectId'?: string;
|
|
39477
|
-
/** The id of the addon to restart. */
|
|
39478
|
-
'addonId': string;
|
|
39479
|
-
'timeoutDuration'?: number | string;
|
|
39480
|
-
};
|
|
39481
|
-
'condition'?: 'running';
|
|
39482
|
-
};
|
|
39483
|
-
} | {
|
|
39484
|
-
/** The kind of action. Example: "AddonBackup" */
|
|
39485
|
-
'kind': 'AddonBackup';
|
|
39486
|
-
'spec': {
|
|
39487
|
-
/** The type of action. Example: "restore" */
|
|
39488
|
-
'type': 'restore';
|
|
39489
|
-
'data': {
|
|
39490
|
-
/** ID of parent project */
|
|
39491
|
-
'projectId'?: string;
|
|
39492
|
-
/** The id of the addon to restore a backup to. */
|
|
39493
|
-
'addonId': string;
|
|
39494
|
-
/** The id of the backup to restore. */
|
|
39495
|
-
'backupId': string;
|
|
39496
|
-
'timeoutDuration'?: number | string;
|
|
39497
|
-
};
|
|
39498
|
-
'condition'?: 'success';
|
|
39499
|
-
};
|
|
39500
|
-
} | {
|
|
39501
|
-
/** The kind of action. Example: "Job" */
|
|
39502
|
-
'kind': 'Job';
|
|
39503
|
-
'spec': {
|
|
39504
|
-
/** The type of action. Example: "execute" */
|
|
39505
|
-
'type': 'execute';
|
|
39506
|
-
'data': {
|
|
39507
|
-
/** ID of parent project */
|
|
39508
|
-
'projectId'?: string;
|
|
39509
|
-
/** The id of the job to run the command in. */
|
|
39510
|
-
'jobId': string;
|
|
39511
|
-
'command': string;
|
|
39512
|
-
'shell'?: string;
|
|
39513
|
-
'user'?: string;
|
|
39514
|
-
'group'?: string;
|
|
39515
|
-
};
|
|
39516
|
-
};
|
|
39517
|
-
} | {
|
|
39518
|
-
/** The kind of action. Example: "Service" */
|
|
39519
|
-
'kind': 'Service';
|
|
39520
|
-
'spec': {
|
|
39521
|
-
/** The type of action. Example: "restart" */
|
|
39522
|
-
'type': 'restart';
|
|
39523
|
-
'data': {
|
|
39524
|
-
/** ID of parent project */
|
|
39525
|
-
'projectId'?: string;
|
|
39526
|
-
/** The id of the service to restart. */
|
|
39527
|
-
'serviceId': string;
|
|
39528
|
-
'timeoutDuration'?: number | string;
|
|
39529
|
-
};
|
|
39530
|
-
'condition'?: 'running';
|
|
39531
|
-
} | {
|
|
39532
|
-
/** The type of action. Example: "execute" */
|
|
39533
|
-
'type': 'execute';
|
|
39534
|
-
'data': {
|
|
39535
|
-
/** ID of parent project */
|
|
39536
|
-
'projectId'?: string;
|
|
39537
|
-
/** The id of the service to run the command in. */
|
|
39538
|
-
'serviceId': string;
|
|
39539
|
-
'options'?: {
|
|
39540
|
-
/** Specify whether the command output should be awaited the node should succeed after having sent the command. Example: true */
|
|
39541
|
-
'dispatchOnly'?: boolean;
|
|
39542
|
-
};
|
|
39543
|
-
'command': string;
|
|
39544
|
-
'shell'?: string;
|
|
39545
|
-
'user'?: string;
|
|
39546
|
-
'group'?: string;
|
|
39547
|
-
};
|
|
39548
|
-
};
|
|
39549
|
-
} | {
|
|
39550
|
-
/** The kind of action. Example: "VCS" */
|
|
39551
|
-
'kind': 'VCS';
|
|
39552
|
-
'spec': {
|
|
39553
|
-
/** The type of action. Example: "createRepoFromSource" */
|
|
39554
|
-
'type': 'createRepoFromSource';
|
|
39555
|
-
'data': {
|
|
39556
|
-
'sourceData': {
|
|
39557
|
-
'publicRepo'?: boolean | string;
|
|
39558
|
-
'vcsService'?: string;
|
|
39559
|
-
'oauthProvider'?: string;
|
|
39560
|
-
'repoUrl': string;
|
|
39561
|
-
'accountLogin'?: string;
|
|
39562
|
-
'vcsLinkId'?: string;
|
|
39563
|
-
'selfHostedVcsId'?: string;
|
|
39564
|
-
};
|
|
39565
|
-
'targetData': {
|
|
39566
|
-
'name': string;
|
|
39567
|
-
'description'?: string;
|
|
39568
|
-
'privateRepo': boolean | string;
|
|
39569
|
-
'context'?: string;
|
|
39570
|
-
'folder'?: string;
|
|
39571
|
-
'accountLogin'?: string;
|
|
39572
|
-
'vcsLinkId'?: string;
|
|
39573
|
-
'oauthProvider'?: string;
|
|
39574
|
-
'vcsService'?: string;
|
|
39575
|
-
'selfHostedVcsId'?: string;
|
|
39576
|
-
};
|
|
39577
|
-
};
|
|
39578
|
-
};
|
|
39579
|
-
};
|
|
39580
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
39581
|
-
} | {
|
|
39582
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
39583
|
-
'ref'?: string;
|
|
39584
|
-
/** The kind of node. Example: "Condition" */
|
|
39585
|
-
'kind': 'Condition';
|
|
39586
|
-
/** The specification for the Condition node. */
|
|
39587
|
-
'spec': {
|
|
39588
|
-
/** The kind of condition. Example: "Addon" */
|
|
39589
|
-
'kind': 'Addon';
|
|
39590
|
-
'spec': {
|
|
39591
|
-
/** The type of condition. Example: "running" */
|
|
39592
|
-
'type': 'running';
|
|
39593
|
-
'data': {
|
|
39594
|
-
/** ID of parent project */
|
|
39595
|
-
'projectId'?: string;
|
|
39596
|
-
/** The id of the addon to monitor. */
|
|
39597
|
-
'addonId': string;
|
|
39598
|
-
'timeoutDuration'?: number | string;
|
|
39599
|
-
};
|
|
39600
|
-
};
|
|
39601
|
-
} | {
|
|
39602
|
-
/** The kind of condition. Example: "AddonBackup" */
|
|
39603
|
-
'kind': 'AddonBackup';
|
|
39604
|
-
'spec': {
|
|
39605
|
-
/** The type of condition. Example: "success" */
|
|
39606
|
-
'type': 'success';
|
|
39607
|
-
'data': {
|
|
39608
|
-
/** ID of parent project */
|
|
39609
|
-
'projectId'?: string;
|
|
39610
|
-
/** The id of the addon to monitor. */
|
|
39611
|
-
'addonId': string;
|
|
39612
|
-
/** The id of the backup to monitor. */
|
|
39613
|
-
'backupId': string;
|
|
39614
|
-
};
|
|
39615
|
-
};
|
|
39616
|
-
} | {
|
|
39617
|
-
/** The kind of condition. Example: "Build" */
|
|
39618
|
-
'kind': 'Build';
|
|
39619
|
-
'spec': {
|
|
39620
|
-
/** The type of condition. Example: "success" */
|
|
39621
|
-
'type': 'success';
|
|
39622
|
-
'data': {
|
|
39623
|
-
/** ID of parent project */
|
|
39624
|
-
'projectId'?: string;
|
|
39625
|
-
/** The id of the build to monitor. */
|
|
39626
|
-
'buildId': string;
|
|
39627
|
-
};
|
|
39628
|
-
};
|
|
39629
|
-
} | {
|
|
39630
|
-
/** The kind of condition. Example: "BYOCCluster" */
|
|
39631
|
-
'kind': 'BYOCCluster';
|
|
39632
|
-
'spec': {
|
|
39633
|
-
/** The type of condition. Example: "running" */
|
|
39634
|
-
'type': 'running';
|
|
39635
|
-
'data': {
|
|
39636
|
-
/** The id of the cluster to monitor. */
|
|
39637
|
-
'clusterId': string;
|
|
39638
|
-
'timeoutDuration'?: number | string;
|
|
39639
|
-
};
|
|
39640
|
-
};
|
|
39641
|
-
} | {
|
|
39642
|
-
/** The kind of condition. Example: "JobRun" */
|
|
39643
|
-
'kind': 'JobRun';
|
|
39644
|
-
'spec': {
|
|
39645
|
-
/** The type of condition. Example: "success" */
|
|
39646
|
-
'type': 'success';
|
|
39647
|
-
'data': {
|
|
39648
|
-
/** ID of parent project */
|
|
39649
|
-
'projectId'?: string;
|
|
39650
|
-
/** The id of the job to monitor. */
|
|
39651
|
-
'jobId': string;
|
|
39652
|
-
/** The id of the job run to monitor. */
|
|
39653
|
-
'runId': string;
|
|
39654
|
-
};
|
|
39655
|
-
};
|
|
39656
|
-
} | {
|
|
39657
|
-
/** The kind of condition. Example: "Service" */
|
|
39658
|
-
'kind': 'Service';
|
|
39659
|
-
'spec': {
|
|
39660
|
-
/** The type of condition. Example: "running" */
|
|
39661
|
-
'type': 'running';
|
|
39662
|
-
'data': {
|
|
39663
|
-
/** ID of parent project */
|
|
39664
|
-
'projectId'?: string;
|
|
39665
|
-
/** The id of the service to monitor. */
|
|
39666
|
-
'serviceId': string;
|
|
39667
|
-
'timeoutDuration'?: number | string;
|
|
39668
|
-
};
|
|
39669
|
-
};
|
|
39670
|
-
} | {
|
|
39671
|
-
/** The kind of condition. Example: "VCS" */
|
|
39672
|
-
'kind': 'VCS';
|
|
39673
|
-
'spec': {
|
|
39674
|
-
/** The type of condition. Example: "createRepoFromSourceSuccess" */
|
|
39675
|
-
'type': 'createRepoFromSourceSuccess';
|
|
39676
|
-
'data': {
|
|
39677
|
-
/** The tracker id outputted from the 'createRepoFromSource' action to monitor. */
|
|
39678
|
-
'trackerId': string;
|
|
39679
|
-
};
|
|
39680
|
-
};
|
|
39681
|
-
};
|
|
39682
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
39683
|
-
} | {
|
|
39684
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
39685
|
-
'ref'?: string;
|
|
39686
|
-
/** The kind of node. Example: "Message" */
|
|
39687
|
-
'kind': 'Message';
|
|
39688
|
-
/** The specification for the Message node. */
|
|
39689
|
-
'spec': {
|
|
39690
|
-
/** The kind of message to send. Example: "VCS" */
|
|
39691
|
-
'kind': 'VCS';
|
|
39692
|
-
'spec': {
|
|
39693
|
-
/** The VCS provider to use. */
|
|
39694
|
-
'vcsService': 'bitbucket' | 'gitlab' | 'github' | 'self-hosted' | 'azure' | string;
|
|
39695
|
-
/** If projectType is self-hosted, the ID of the self-hosted vcs to use. */
|
|
39696
|
-
'selfHostedVcsId'?: string;
|
|
39697
|
-
/** By default, if you have multiple version control accounts of the same provider linked, Northflank will pick a linked account that has access to the repository. If `accountLogin` is provided, Northflank will instead use your linked account with that login name. */
|
|
39698
|
-
'accountLogin'?: string;
|
|
39699
|
-
/** URL of the Git repo to send this message to. */
|
|
39700
|
-
'repoUrl': string;
|
|
39701
|
-
/** The ID of the pull request to comment on. */
|
|
39702
|
-
'pullRequestId': string;
|
|
39703
|
-
/** The rich text message to comment. */
|
|
39704
|
-
'message': string;
|
|
39705
|
-
};
|
|
39706
|
-
} | {
|
|
39707
|
-
/** The kind of message to send. Example: "SLACK" */
|
|
39708
|
-
'kind': 'SLACK';
|
|
39709
|
-
'spec': {
|
|
39710
|
-
/** The Slack webhook URL to send messages to. */
|
|
39711
|
-
'webhookUrl'?: string;
|
|
39712
|
-
/** The ID of an existing Slack integration to use. */
|
|
39713
|
-
'integrationInternalId'?: string;
|
|
39714
|
-
/** The message content to send to Slack. Supports markdown formatting. */
|
|
39715
|
-
'message': string;
|
|
39716
|
-
};
|
|
39717
|
-
} | {
|
|
39718
|
-
/** The kind of message to send. Example: "RAW_WEBHOOK" */
|
|
39719
|
-
'kind': 'RAW_WEBHOOK';
|
|
39720
|
-
'spec': {
|
|
39721
|
-
/** The webhook URL to send messages to. */
|
|
39722
|
-
'webhookUrl': string;
|
|
39723
|
-
/** The message content to send to the webhook. */
|
|
39724
|
-
'message': string;
|
|
39725
|
-
};
|
|
39726
|
-
};
|
|
39727
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
39728
|
-
} | {
|
|
39729
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
39730
|
-
'ref'?: string;
|
|
39731
|
-
/** The kind of node. Example: "LoopData" */
|
|
39732
|
-
'kind': 'LoopData';
|
|
39733
|
-
/** The specification for the LoopData node. */
|
|
39734
|
-
'spec': any;
|
|
39735
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
39736
|
-
} | {
|
|
39737
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
39738
|
-
'ref'?: string;
|
|
39739
|
-
/** The kind of node. Example: "OpenTofuDestroy" */
|
|
39740
|
-
'kind': 'OpenTofuDestroy';
|
|
39741
|
-
/** The specification for the OpenTofuDestroy node. */
|
|
39742
|
-
'spec': {
|
|
39743
|
-
/** The `ref` value of the `OpenTofu` node in the parent template whose state should be destroyed. Example: "my-infra" */
|
|
39744
|
-
'nodeRef': string;
|
|
39745
|
-
};
|
|
39746
|
-
'condition'?: 'success';
|
|
39747
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
39748
|
-
} | {
|
|
39749
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
39750
|
-
'ref'?: string;
|
|
39751
|
-
/** The kind of node. Example: "Approval" */
|
|
39752
|
-
'kind': 'Approval';
|
|
39753
|
-
/** The specification for the Approval node. */
|
|
39754
|
-
'spec': {
|
|
39755
|
-
'amount': number;
|
|
39756
|
-
};
|
|
39757
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
39758
|
-
};
|
|
37273
|
+
'spec': any;
|
|
39759
37274
|
/** Controls what happens if the teardown spec fails or times out. `ignore` (default) — proceed with resource deletion regardless. `block` — halt deletion and set the environment to `teardown_failed` */
|
|
39760
37275
|
'failurePolicy'?: 'ignore' | 'block';
|
|
39761
37276
|
} | null;
|
|
@@ -39813,434 +37328,7 @@ type GetTemplateResult = {
|
|
|
39813
37328
|
'spec': any;
|
|
39814
37329
|
/** Optional spec to run when the template is deleted. */
|
|
39815
37330
|
'teardownSpec'?: {
|
|
39816
|
-
|
|
39817
|
-
'spec': {
|
|
39818
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
39819
|
-
'ref'?: string;
|
|
39820
|
-
/** The kind of node. Example: "Workflow" */
|
|
39821
|
-
'kind': 'Workflow';
|
|
39822
|
-
/** The specification for the workflow node. */
|
|
39823
|
-
'spec': {
|
|
39824
|
-
/** The type of workflow. If set to `sequential`, nodes in the workflow will run in order. If set to `parallel`, nodes will run simultaneously. Example: "sequential" */
|
|
39825
|
-
'type': 'sequential' | 'parallel';
|
|
39826
|
-
/** An array of nodes belonging to the workflow. */
|
|
39827
|
-
'steps': any[];
|
|
39828
|
-
};
|
|
39829
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
39830
|
-
} | {
|
|
39831
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
39832
|
-
'ref'?: string;
|
|
39833
|
-
/** The kind of node. Example: "JobRun" */
|
|
39834
|
-
'kind': 'JobRun';
|
|
39835
|
-
/** The specification for the JobRun node. */
|
|
39836
|
-
'spec': {
|
|
39837
|
-
/** ID of parent project */
|
|
39838
|
-
'projectId'?: string;
|
|
39839
|
-
'runtimeEnvironment'?: any | string;
|
|
39840
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
39841
|
-
'runtimeFiles'?: any;
|
|
39842
|
-
/** Docker secret mount contents as JSON object, encrypted at rest. Must be a valid Docker secret mount identifier Example: {"example-secret-mount_1":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
39843
|
-
'dockerSecretMounts'?: any;
|
|
39844
|
-
'billing'?: {
|
|
39845
|
-
/** The ID of the deployment plan override to use. */
|
|
39846
|
-
'deploymentPlan'?: string;
|
|
39847
|
-
};
|
|
39848
|
-
/** Override the job run deployment source. */
|
|
39849
|
-
'deployment'?: {
|
|
39850
|
-
/** Allows for customization of docker runtime */
|
|
39851
|
-
'docker'?: {
|
|
39852
|
-
/** Type of entrypoint & command override configuration Example: "default" */
|
|
39853
|
-
'configType': 'default' | 'customEntrypoint' | 'customCommand' | 'customEntrypointCustomCommand';
|
|
39854
|
-
/** Custom entrypoint which should be used. Required in case where `configType` is `customEntrypoint` or `customEntrypointCustomCommand` */
|
|
39855
|
-
'customEntrypoint'?: string;
|
|
39856
|
-
/** Custom command which should be used. Required in case where `configType` is `customCommand` or `customEntrypointCustomCommand` */
|
|
39857
|
-
'customCommand'?: string;
|
|
39858
|
-
};
|
|
39859
|
-
/** Allows for customization of buildpack runtime */
|
|
39860
|
-
'buildpack'?: {
|
|
39861
|
-
/** Type of buildpack run configuration */
|
|
39862
|
-
'configType': 'default' | 'customProcess' | 'customCommand' | 'customEntrypointCustomCommand' | 'originalEntrypointCustomCommand';
|
|
39863
|
-
/** Custom process which should be run. Required in case where `configType` is `customProcess` */
|
|
39864
|
-
'customProcess'?: string;
|
|
39865
|
-
/** Custom entrypoint which should be run. Required in case where `configType` is `customEntrypointCustomCommand` */
|
|
39866
|
-
'customEntrypoint'?: string;
|
|
39867
|
-
/** Custom command which should be run. Required in case where `configType` is `customCommand`, `customEntrypointCustomCommand` or `originalEntrypointCustomCommand` */
|
|
39868
|
-
'customCommand'?: string;
|
|
39869
|
-
};
|
|
39870
|
-
'storage'?: {
|
|
39871
|
-
'useHdbStorage'?: boolean;
|
|
39872
|
-
'usePdSsdStorage'?: boolean;
|
|
39873
|
-
'ephemeralStorage'?: {
|
|
39874
|
-
/** Ephemeral storage per container in MB */
|
|
39875
|
-
'storageSize'?: number | string;
|
|
39876
|
-
};
|
|
39877
|
-
/** Configures the amount of available memory-backed disk space available to /dev/shm */
|
|
39878
|
-
'shmSize'?: number | string;
|
|
39879
|
-
};
|
|
39880
|
-
/** Optional: Specify the commit to run */
|
|
39881
|
-
'internal'?: {
|
|
39882
|
-
/** ID of the build service to deploy */
|
|
39883
|
-
'id'?: string;
|
|
39884
|
-
/** Branch to deploy */
|
|
39885
|
-
'branch'?: string;
|
|
39886
|
-
/** Commit SHA to deploy, or 'latest' to deploy the most recent commit */
|
|
39887
|
-
'buildSHA'?: any | string;
|
|
39888
|
-
/** ID of the build that should be deployed */
|
|
39889
|
-
'buildId'?: string;
|
|
39890
|
-
};
|
|
39891
|
-
} | {
|
|
39892
|
-
/** Allows for customization of docker runtime */
|
|
39893
|
-
'docker'?: {
|
|
39894
|
-
/** Type of entrypoint & command override configuration Example: "default" */
|
|
39895
|
-
'configType': 'default' | 'customEntrypoint' | 'customCommand' | 'customEntrypointCustomCommand';
|
|
39896
|
-
/** Custom entrypoint which should be used. Required in case where `configType` is `customEntrypoint` or `customEntrypointCustomCommand` */
|
|
39897
|
-
'customEntrypoint'?: string;
|
|
39898
|
-
/** Custom command which should be used. Required in case where `configType` is `customCommand` or `customEntrypointCustomCommand` */
|
|
39899
|
-
'customCommand'?: string;
|
|
39900
|
-
};
|
|
39901
|
-
/** Allows for customization of buildpack runtime */
|
|
39902
|
-
'buildpack'?: {
|
|
39903
|
-
/** Type of buildpack run configuration */
|
|
39904
|
-
'configType': 'default' | 'customProcess' | 'customCommand' | 'customEntrypointCustomCommand' | 'originalEntrypointCustomCommand';
|
|
39905
|
-
/** Custom process which should be run. Required in case where `configType` is `customProcess` */
|
|
39906
|
-
'customProcess'?: string;
|
|
39907
|
-
/** Custom entrypoint which should be run. Required in case where `configType` is `customEntrypointCustomCommand` */
|
|
39908
|
-
'customEntrypoint'?: string;
|
|
39909
|
-
/** Custom command which should be run. Required in case where `configType` is `customCommand`, `customEntrypointCustomCommand` or `originalEntrypointCustomCommand` */
|
|
39910
|
-
'customCommand'?: string;
|
|
39911
|
-
};
|
|
39912
|
-
'storage'?: {
|
|
39913
|
-
'useHdbStorage'?: boolean;
|
|
39914
|
-
'usePdSsdStorage'?: boolean;
|
|
39915
|
-
'ephemeralStorage'?: {
|
|
39916
|
-
/** Ephemeral storage per container in MB */
|
|
39917
|
-
'storageSize'?: number | string;
|
|
39918
|
-
};
|
|
39919
|
-
/** Configures the amount of available memory-backed disk space available to /dev/shm */
|
|
39920
|
-
'shmSize'?: number | string;
|
|
39921
|
-
};
|
|
39922
|
-
/** Optional: Specify the external image to run */
|
|
39923
|
-
'external'?: {
|
|
39924
|
-
/** Image to be deployed. When not deploying from Dockerhub the URL must be specified. */
|
|
39925
|
-
'imagePath': string;
|
|
39926
|
-
/** ID of the saved credentials to use to access this external image. */
|
|
39927
|
-
'credentials'?: string;
|
|
39928
|
-
};
|
|
39929
|
-
};
|
|
39930
|
-
/** The ID of the job to run. */
|
|
39931
|
-
'jobId': string;
|
|
39932
|
-
};
|
|
39933
|
-
'condition'?: 'success';
|
|
39934
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
39935
|
-
} | {
|
|
39936
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
39937
|
-
'ref'?: string;
|
|
39938
|
-
/** The kind of node. Example: "LoopWorkflow" */
|
|
39939
|
-
'kind': 'LoopWorkflow';
|
|
39940
|
-
/** The specification for the loop workflow node. */
|
|
39941
|
-
'spec': {
|
|
39942
|
-
'iterations': any[] | string;
|
|
39943
|
-
/** An array of nodes that will be run multiple times. */
|
|
39944
|
-
'steps': any[];
|
|
39945
|
-
};
|
|
39946
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
39947
|
-
} | {
|
|
39948
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
39949
|
-
'ref'?: string;
|
|
39950
|
-
/** The kind of node. Example: "Action" */
|
|
39951
|
-
'kind': 'Action';
|
|
39952
|
-
/** The specification for the Action node. */
|
|
39953
|
-
'spec': {
|
|
39954
|
-
/** The kind of action. Example: "Addon" */
|
|
39955
|
-
'kind': 'Addon';
|
|
39956
|
-
'spec': {
|
|
39957
|
-
/** The type of action. Example: "restart" */
|
|
39958
|
-
'type': 'restart';
|
|
39959
|
-
'data': {
|
|
39960
|
-
/** ID of parent project */
|
|
39961
|
-
'projectId'?: string;
|
|
39962
|
-
/** The id of the addon to restart. */
|
|
39963
|
-
'addonId': string;
|
|
39964
|
-
'timeoutDuration'?: number | string;
|
|
39965
|
-
};
|
|
39966
|
-
'condition'?: 'running';
|
|
39967
|
-
};
|
|
39968
|
-
} | {
|
|
39969
|
-
/** The kind of action. Example: "AddonBackup" */
|
|
39970
|
-
'kind': 'AddonBackup';
|
|
39971
|
-
'spec': {
|
|
39972
|
-
/** The type of action. Example: "restore" */
|
|
39973
|
-
'type': 'restore';
|
|
39974
|
-
'data': {
|
|
39975
|
-
/** ID of parent project */
|
|
39976
|
-
'projectId'?: string;
|
|
39977
|
-
/** The id of the addon to restore a backup to. */
|
|
39978
|
-
'addonId': string;
|
|
39979
|
-
/** The id of the backup to restore. */
|
|
39980
|
-
'backupId': string;
|
|
39981
|
-
'timeoutDuration'?: number | string;
|
|
39982
|
-
};
|
|
39983
|
-
'condition'?: 'success';
|
|
39984
|
-
};
|
|
39985
|
-
} | {
|
|
39986
|
-
/** The kind of action. Example: "Job" */
|
|
39987
|
-
'kind': 'Job';
|
|
39988
|
-
'spec': {
|
|
39989
|
-
/** The type of action. Example: "execute" */
|
|
39990
|
-
'type': 'execute';
|
|
39991
|
-
'data': {
|
|
39992
|
-
/** ID of parent project */
|
|
39993
|
-
'projectId'?: string;
|
|
39994
|
-
/** The id of the job to run the command in. */
|
|
39995
|
-
'jobId': string;
|
|
39996
|
-
'command': string;
|
|
39997
|
-
'shell'?: string;
|
|
39998
|
-
'user'?: string;
|
|
39999
|
-
'group'?: string;
|
|
40000
|
-
};
|
|
40001
|
-
};
|
|
40002
|
-
} | {
|
|
40003
|
-
/** The kind of action. Example: "Service" */
|
|
40004
|
-
'kind': 'Service';
|
|
40005
|
-
'spec': {
|
|
40006
|
-
/** The type of action. Example: "restart" */
|
|
40007
|
-
'type': 'restart';
|
|
40008
|
-
'data': {
|
|
40009
|
-
/** ID of parent project */
|
|
40010
|
-
'projectId'?: string;
|
|
40011
|
-
/** The id of the service to restart. */
|
|
40012
|
-
'serviceId': string;
|
|
40013
|
-
'timeoutDuration'?: number | string;
|
|
40014
|
-
};
|
|
40015
|
-
'condition'?: 'running';
|
|
40016
|
-
} | {
|
|
40017
|
-
/** The type of action. Example: "execute" */
|
|
40018
|
-
'type': 'execute';
|
|
40019
|
-
'data': {
|
|
40020
|
-
/** ID of parent project */
|
|
40021
|
-
'projectId'?: string;
|
|
40022
|
-
/** The id of the service to run the command in. */
|
|
40023
|
-
'serviceId': string;
|
|
40024
|
-
'options'?: {
|
|
40025
|
-
/** Specify whether the command output should be awaited the node should succeed after having sent the command. Example: true */
|
|
40026
|
-
'dispatchOnly'?: boolean;
|
|
40027
|
-
};
|
|
40028
|
-
'command': string;
|
|
40029
|
-
'shell'?: string;
|
|
40030
|
-
'user'?: string;
|
|
40031
|
-
'group'?: string;
|
|
40032
|
-
};
|
|
40033
|
-
};
|
|
40034
|
-
} | {
|
|
40035
|
-
/** The kind of action. Example: "VCS" */
|
|
40036
|
-
'kind': 'VCS';
|
|
40037
|
-
'spec': {
|
|
40038
|
-
/** The type of action. Example: "createRepoFromSource" */
|
|
40039
|
-
'type': 'createRepoFromSource';
|
|
40040
|
-
'data': {
|
|
40041
|
-
'sourceData': {
|
|
40042
|
-
'publicRepo'?: boolean | string;
|
|
40043
|
-
'vcsService'?: string;
|
|
40044
|
-
'oauthProvider'?: string;
|
|
40045
|
-
'repoUrl': string;
|
|
40046
|
-
'accountLogin'?: string;
|
|
40047
|
-
'vcsLinkId'?: string;
|
|
40048
|
-
'selfHostedVcsId'?: string;
|
|
40049
|
-
};
|
|
40050
|
-
'targetData': {
|
|
40051
|
-
'name': string;
|
|
40052
|
-
'description'?: string;
|
|
40053
|
-
'privateRepo': boolean | string;
|
|
40054
|
-
'context'?: string;
|
|
40055
|
-
'folder'?: string;
|
|
40056
|
-
'accountLogin'?: string;
|
|
40057
|
-
'vcsLinkId'?: string;
|
|
40058
|
-
'oauthProvider'?: string;
|
|
40059
|
-
'vcsService'?: string;
|
|
40060
|
-
'selfHostedVcsId'?: string;
|
|
40061
|
-
};
|
|
40062
|
-
};
|
|
40063
|
-
};
|
|
40064
|
-
};
|
|
40065
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
40066
|
-
} | {
|
|
40067
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
40068
|
-
'ref'?: string;
|
|
40069
|
-
/** The kind of node. Example: "Condition" */
|
|
40070
|
-
'kind': 'Condition';
|
|
40071
|
-
/** The specification for the Condition node. */
|
|
40072
|
-
'spec': {
|
|
40073
|
-
/** The kind of condition. Example: "Addon" */
|
|
40074
|
-
'kind': 'Addon';
|
|
40075
|
-
'spec': {
|
|
40076
|
-
/** The type of condition. Example: "running" */
|
|
40077
|
-
'type': 'running';
|
|
40078
|
-
'data': {
|
|
40079
|
-
/** ID of parent project */
|
|
40080
|
-
'projectId'?: string;
|
|
40081
|
-
/** The id of the addon to monitor. */
|
|
40082
|
-
'addonId': string;
|
|
40083
|
-
'timeoutDuration'?: number | string;
|
|
40084
|
-
};
|
|
40085
|
-
};
|
|
40086
|
-
} | {
|
|
40087
|
-
/** The kind of condition. Example: "AddonBackup" */
|
|
40088
|
-
'kind': 'AddonBackup';
|
|
40089
|
-
'spec': {
|
|
40090
|
-
/** The type of condition. Example: "success" */
|
|
40091
|
-
'type': 'success';
|
|
40092
|
-
'data': {
|
|
40093
|
-
/** ID of parent project */
|
|
40094
|
-
'projectId'?: string;
|
|
40095
|
-
/** The id of the addon to monitor. */
|
|
40096
|
-
'addonId': string;
|
|
40097
|
-
/** The id of the backup to monitor. */
|
|
40098
|
-
'backupId': string;
|
|
40099
|
-
};
|
|
40100
|
-
};
|
|
40101
|
-
} | {
|
|
40102
|
-
/** The kind of condition. Example: "Build" */
|
|
40103
|
-
'kind': 'Build';
|
|
40104
|
-
'spec': {
|
|
40105
|
-
/** The type of condition. Example: "success" */
|
|
40106
|
-
'type': 'success';
|
|
40107
|
-
'data': {
|
|
40108
|
-
/** ID of parent project */
|
|
40109
|
-
'projectId'?: string;
|
|
40110
|
-
/** The id of the build to monitor. */
|
|
40111
|
-
'buildId': string;
|
|
40112
|
-
};
|
|
40113
|
-
};
|
|
40114
|
-
} | {
|
|
40115
|
-
/** The kind of condition. Example: "BYOCCluster" */
|
|
40116
|
-
'kind': 'BYOCCluster';
|
|
40117
|
-
'spec': {
|
|
40118
|
-
/** The type of condition. Example: "running" */
|
|
40119
|
-
'type': 'running';
|
|
40120
|
-
'data': {
|
|
40121
|
-
/** The id of the cluster to monitor. */
|
|
40122
|
-
'clusterId': string;
|
|
40123
|
-
'timeoutDuration'?: number | string;
|
|
40124
|
-
};
|
|
40125
|
-
};
|
|
40126
|
-
} | {
|
|
40127
|
-
/** The kind of condition. Example: "JobRun" */
|
|
40128
|
-
'kind': 'JobRun';
|
|
40129
|
-
'spec': {
|
|
40130
|
-
/** The type of condition. Example: "success" */
|
|
40131
|
-
'type': 'success';
|
|
40132
|
-
'data': {
|
|
40133
|
-
/** ID of parent project */
|
|
40134
|
-
'projectId'?: string;
|
|
40135
|
-
/** The id of the job to monitor. */
|
|
40136
|
-
'jobId': string;
|
|
40137
|
-
/** The id of the job run to monitor. */
|
|
40138
|
-
'runId': string;
|
|
40139
|
-
};
|
|
40140
|
-
};
|
|
40141
|
-
} | {
|
|
40142
|
-
/** The kind of condition. Example: "Service" */
|
|
40143
|
-
'kind': 'Service';
|
|
40144
|
-
'spec': {
|
|
40145
|
-
/** The type of condition. Example: "running" */
|
|
40146
|
-
'type': 'running';
|
|
40147
|
-
'data': {
|
|
40148
|
-
/** ID of parent project */
|
|
40149
|
-
'projectId'?: string;
|
|
40150
|
-
/** The id of the service to monitor. */
|
|
40151
|
-
'serviceId': string;
|
|
40152
|
-
'timeoutDuration'?: number | string;
|
|
40153
|
-
};
|
|
40154
|
-
};
|
|
40155
|
-
} | {
|
|
40156
|
-
/** The kind of condition. Example: "VCS" */
|
|
40157
|
-
'kind': 'VCS';
|
|
40158
|
-
'spec': {
|
|
40159
|
-
/** The type of condition. Example: "createRepoFromSourceSuccess" */
|
|
40160
|
-
'type': 'createRepoFromSourceSuccess';
|
|
40161
|
-
'data': {
|
|
40162
|
-
/** The tracker id outputted from the 'createRepoFromSource' action to monitor. */
|
|
40163
|
-
'trackerId': string;
|
|
40164
|
-
};
|
|
40165
|
-
};
|
|
40166
|
-
};
|
|
40167
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
40168
|
-
} | {
|
|
40169
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
40170
|
-
'ref'?: string;
|
|
40171
|
-
/** The kind of node. Example: "Message" */
|
|
40172
|
-
'kind': 'Message';
|
|
40173
|
-
/** The specification for the Message node. */
|
|
40174
|
-
'spec': {
|
|
40175
|
-
/** The kind of message to send. Example: "VCS" */
|
|
40176
|
-
'kind': 'VCS';
|
|
40177
|
-
'spec': {
|
|
40178
|
-
/** The VCS provider to use. */
|
|
40179
|
-
'vcsService': 'bitbucket' | 'gitlab' | 'github' | 'self-hosted' | 'azure' | string;
|
|
40180
|
-
/** If projectType is self-hosted, the ID of the self-hosted vcs to use. */
|
|
40181
|
-
'selfHostedVcsId'?: string;
|
|
40182
|
-
/** By default, if you have multiple version control accounts of the same provider linked, Northflank will pick a linked account that has access to the repository. If `accountLogin` is provided, Northflank will instead use your linked account with that login name. */
|
|
40183
|
-
'accountLogin'?: string;
|
|
40184
|
-
/** URL of the Git repo to send this message to. */
|
|
40185
|
-
'repoUrl': string;
|
|
40186
|
-
/** The ID of the pull request to comment on. */
|
|
40187
|
-
'pullRequestId': string;
|
|
40188
|
-
/** The rich text message to comment. */
|
|
40189
|
-
'message': string;
|
|
40190
|
-
};
|
|
40191
|
-
} | {
|
|
40192
|
-
/** The kind of message to send. Example: "SLACK" */
|
|
40193
|
-
'kind': 'SLACK';
|
|
40194
|
-
'spec': {
|
|
40195
|
-
/** The Slack webhook URL to send messages to. */
|
|
40196
|
-
'webhookUrl'?: string;
|
|
40197
|
-
/** The ID of an existing Slack integration to use. */
|
|
40198
|
-
'integrationInternalId'?: string;
|
|
40199
|
-
/** The message content to send to Slack. Supports markdown formatting. */
|
|
40200
|
-
'message': string;
|
|
40201
|
-
};
|
|
40202
|
-
} | {
|
|
40203
|
-
/** The kind of message to send. Example: "RAW_WEBHOOK" */
|
|
40204
|
-
'kind': 'RAW_WEBHOOK';
|
|
40205
|
-
'spec': {
|
|
40206
|
-
/** The webhook URL to send messages to. */
|
|
40207
|
-
'webhookUrl': string;
|
|
40208
|
-
/** The message content to send to the webhook. */
|
|
40209
|
-
'message': string;
|
|
40210
|
-
};
|
|
40211
|
-
};
|
|
40212
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
40213
|
-
} | {
|
|
40214
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
40215
|
-
'ref'?: string;
|
|
40216
|
-
/** The kind of node. Example: "LoopData" */
|
|
40217
|
-
'kind': 'LoopData';
|
|
40218
|
-
/** The specification for the LoopData node. */
|
|
40219
|
-
'spec': any;
|
|
40220
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
40221
|
-
} | {
|
|
40222
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
40223
|
-
'ref'?: string;
|
|
40224
|
-
/** The kind of node. Example: "OpenTofuDestroy" */
|
|
40225
|
-
'kind': 'OpenTofuDestroy';
|
|
40226
|
-
/** The specification for the OpenTofuDestroy node. */
|
|
40227
|
-
'spec': {
|
|
40228
|
-
/** The `ref` value of the `OpenTofu` node in the parent template whose state should be destroyed. Example: "my-infra" */
|
|
40229
|
-
'nodeRef': string;
|
|
40230
|
-
};
|
|
40231
|
-
'condition'?: 'success';
|
|
40232
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
40233
|
-
} | {
|
|
40234
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
40235
|
-
'ref'?: string;
|
|
40236
|
-
/** The kind of node. Example: "Approval" */
|
|
40237
|
-
'kind': 'Approval';
|
|
40238
|
-
/** The specification for the Approval node. */
|
|
40239
|
-
'spec': {
|
|
40240
|
-
'amount': number;
|
|
40241
|
-
};
|
|
40242
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
40243
|
-
};
|
|
37331
|
+
'spec': any;
|
|
40244
37332
|
/** Controls what happens if the teardown spec fails or times out. `ignore` (default) — proceed with resource deletion regardless. `block` — halt deletion and set the environment to `teardown_failed` */
|
|
40245
37333
|
'failurePolicy'?: 'ignore' | 'block';
|
|
40246
37334
|
} | null;
|
|
@@ -40323,434 +37411,7 @@ type UpdateTemplateResult = {
|
|
|
40323
37411
|
'spec': any;
|
|
40324
37412
|
/** Optional spec to run when the template is deleted. */
|
|
40325
37413
|
'teardownSpec'?: {
|
|
40326
|
-
|
|
40327
|
-
'spec': {
|
|
40328
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
40329
|
-
'ref'?: string;
|
|
40330
|
-
/** The kind of node. Example: "Workflow" */
|
|
40331
|
-
'kind': 'Workflow';
|
|
40332
|
-
/** The specification for the workflow node. */
|
|
40333
|
-
'spec': {
|
|
40334
|
-
/** The type of workflow. If set to `sequential`, nodes in the workflow will run in order. If set to `parallel`, nodes will run simultaneously. Example: "sequential" */
|
|
40335
|
-
'type': 'sequential' | 'parallel';
|
|
40336
|
-
/** An array of nodes belonging to the workflow. */
|
|
40337
|
-
'steps': any[];
|
|
40338
|
-
};
|
|
40339
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
40340
|
-
} | {
|
|
40341
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
40342
|
-
'ref'?: string;
|
|
40343
|
-
/** The kind of node. Example: "JobRun" */
|
|
40344
|
-
'kind': 'JobRun';
|
|
40345
|
-
/** The specification for the JobRun node. */
|
|
40346
|
-
'spec': {
|
|
40347
|
-
/** ID of parent project */
|
|
40348
|
-
'projectId'?: string;
|
|
40349
|
-
'runtimeEnvironment'?: any | string;
|
|
40350
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
40351
|
-
'runtimeFiles'?: any;
|
|
40352
|
-
/** Docker secret mount contents as JSON object, encrypted at rest. Must be a valid Docker secret mount identifier Example: {"example-secret-mount_1":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
40353
|
-
'dockerSecretMounts'?: any;
|
|
40354
|
-
'billing'?: {
|
|
40355
|
-
/** The ID of the deployment plan override to use. */
|
|
40356
|
-
'deploymentPlan'?: string;
|
|
40357
|
-
};
|
|
40358
|
-
/** Override the job run deployment source. */
|
|
40359
|
-
'deployment'?: {
|
|
40360
|
-
/** Allows for customization of docker runtime */
|
|
40361
|
-
'docker'?: {
|
|
40362
|
-
/** Type of entrypoint & command override configuration Example: "default" */
|
|
40363
|
-
'configType': 'default' | 'customEntrypoint' | 'customCommand' | 'customEntrypointCustomCommand';
|
|
40364
|
-
/** Custom entrypoint which should be used. Required in case where `configType` is `customEntrypoint` or `customEntrypointCustomCommand` */
|
|
40365
|
-
'customEntrypoint'?: string;
|
|
40366
|
-
/** Custom command which should be used. Required in case where `configType` is `customCommand` or `customEntrypointCustomCommand` */
|
|
40367
|
-
'customCommand'?: string;
|
|
40368
|
-
};
|
|
40369
|
-
/** Allows for customization of buildpack runtime */
|
|
40370
|
-
'buildpack'?: {
|
|
40371
|
-
/** Type of buildpack run configuration */
|
|
40372
|
-
'configType': 'default' | 'customProcess' | 'customCommand' | 'customEntrypointCustomCommand' | 'originalEntrypointCustomCommand';
|
|
40373
|
-
/** Custom process which should be run. Required in case where `configType` is `customProcess` */
|
|
40374
|
-
'customProcess'?: string;
|
|
40375
|
-
/** Custom entrypoint which should be run. Required in case where `configType` is `customEntrypointCustomCommand` */
|
|
40376
|
-
'customEntrypoint'?: string;
|
|
40377
|
-
/** Custom command which should be run. Required in case where `configType` is `customCommand`, `customEntrypointCustomCommand` or `originalEntrypointCustomCommand` */
|
|
40378
|
-
'customCommand'?: string;
|
|
40379
|
-
};
|
|
40380
|
-
'storage'?: {
|
|
40381
|
-
'useHdbStorage'?: boolean;
|
|
40382
|
-
'usePdSsdStorage'?: boolean;
|
|
40383
|
-
'ephemeralStorage'?: {
|
|
40384
|
-
/** Ephemeral storage per container in MB */
|
|
40385
|
-
'storageSize'?: number | string;
|
|
40386
|
-
};
|
|
40387
|
-
/** Configures the amount of available memory-backed disk space available to /dev/shm */
|
|
40388
|
-
'shmSize'?: number | string;
|
|
40389
|
-
};
|
|
40390
|
-
/** Optional: Specify the commit to run */
|
|
40391
|
-
'internal'?: {
|
|
40392
|
-
/** ID of the build service to deploy */
|
|
40393
|
-
'id'?: string;
|
|
40394
|
-
/** Branch to deploy */
|
|
40395
|
-
'branch'?: string;
|
|
40396
|
-
/** Commit SHA to deploy, or 'latest' to deploy the most recent commit */
|
|
40397
|
-
'buildSHA'?: any | string;
|
|
40398
|
-
/** ID of the build that should be deployed */
|
|
40399
|
-
'buildId'?: string;
|
|
40400
|
-
};
|
|
40401
|
-
} | {
|
|
40402
|
-
/** Allows for customization of docker runtime */
|
|
40403
|
-
'docker'?: {
|
|
40404
|
-
/** Type of entrypoint & command override configuration Example: "default" */
|
|
40405
|
-
'configType': 'default' | 'customEntrypoint' | 'customCommand' | 'customEntrypointCustomCommand';
|
|
40406
|
-
/** Custom entrypoint which should be used. Required in case where `configType` is `customEntrypoint` or `customEntrypointCustomCommand` */
|
|
40407
|
-
'customEntrypoint'?: string;
|
|
40408
|
-
/** Custom command which should be used. Required in case where `configType` is `customCommand` or `customEntrypointCustomCommand` */
|
|
40409
|
-
'customCommand'?: string;
|
|
40410
|
-
};
|
|
40411
|
-
/** Allows for customization of buildpack runtime */
|
|
40412
|
-
'buildpack'?: {
|
|
40413
|
-
/** Type of buildpack run configuration */
|
|
40414
|
-
'configType': 'default' | 'customProcess' | 'customCommand' | 'customEntrypointCustomCommand' | 'originalEntrypointCustomCommand';
|
|
40415
|
-
/** Custom process which should be run. Required in case where `configType` is `customProcess` */
|
|
40416
|
-
'customProcess'?: string;
|
|
40417
|
-
/** Custom entrypoint which should be run. Required in case where `configType` is `customEntrypointCustomCommand` */
|
|
40418
|
-
'customEntrypoint'?: string;
|
|
40419
|
-
/** Custom command which should be run. Required in case where `configType` is `customCommand`, `customEntrypointCustomCommand` or `originalEntrypointCustomCommand` */
|
|
40420
|
-
'customCommand'?: string;
|
|
40421
|
-
};
|
|
40422
|
-
'storage'?: {
|
|
40423
|
-
'useHdbStorage'?: boolean;
|
|
40424
|
-
'usePdSsdStorage'?: boolean;
|
|
40425
|
-
'ephemeralStorage'?: {
|
|
40426
|
-
/** Ephemeral storage per container in MB */
|
|
40427
|
-
'storageSize'?: number | string;
|
|
40428
|
-
};
|
|
40429
|
-
/** Configures the amount of available memory-backed disk space available to /dev/shm */
|
|
40430
|
-
'shmSize'?: number | string;
|
|
40431
|
-
};
|
|
40432
|
-
/** Optional: Specify the external image to run */
|
|
40433
|
-
'external'?: {
|
|
40434
|
-
/** Image to be deployed. When not deploying from Dockerhub the URL must be specified. */
|
|
40435
|
-
'imagePath': string;
|
|
40436
|
-
/** ID of the saved credentials to use to access this external image. */
|
|
40437
|
-
'credentials'?: string;
|
|
40438
|
-
};
|
|
40439
|
-
};
|
|
40440
|
-
/** The ID of the job to run. */
|
|
40441
|
-
'jobId': string;
|
|
40442
|
-
};
|
|
40443
|
-
'condition'?: 'success';
|
|
40444
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
40445
|
-
} | {
|
|
40446
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
40447
|
-
'ref'?: string;
|
|
40448
|
-
/** The kind of node. Example: "LoopWorkflow" */
|
|
40449
|
-
'kind': 'LoopWorkflow';
|
|
40450
|
-
/** The specification for the loop workflow node. */
|
|
40451
|
-
'spec': {
|
|
40452
|
-
'iterations': any[] | string;
|
|
40453
|
-
/** An array of nodes that will be run multiple times. */
|
|
40454
|
-
'steps': any[];
|
|
40455
|
-
};
|
|
40456
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
40457
|
-
} | {
|
|
40458
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
40459
|
-
'ref'?: string;
|
|
40460
|
-
/** The kind of node. Example: "Action" */
|
|
40461
|
-
'kind': 'Action';
|
|
40462
|
-
/** The specification for the Action node. */
|
|
40463
|
-
'spec': {
|
|
40464
|
-
/** The kind of action. Example: "Addon" */
|
|
40465
|
-
'kind': 'Addon';
|
|
40466
|
-
'spec': {
|
|
40467
|
-
/** The type of action. Example: "restart" */
|
|
40468
|
-
'type': 'restart';
|
|
40469
|
-
'data': {
|
|
40470
|
-
/** ID of parent project */
|
|
40471
|
-
'projectId'?: string;
|
|
40472
|
-
/** The id of the addon to restart. */
|
|
40473
|
-
'addonId': string;
|
|
40474
|
-
'timeoutDuration'?: number | string;
|
|
40475
|
-
};
|
|
40476
|
-
'condition'?: 'running';
|
|
40477
|
-
};
|
|
40478
|
-
} | {
|
|
40479
|
-
/** The kind of action. Example: "AddonBackup" */
|
|
40480
|
-
'kind': 'AddonBackup';
|
|
40481
|
-
'spec': {
|
|
40482
|
-
/** The type of action. Example: "restore" */
|
|
40483
|
-
'type': 'restore';
|
|
40484
|
-
'data': {
|
|
40485
|
-
/** ID of parent project */
|
|
40486
|
-
'projectId'?: string;
|
|
40487
|
-
/** The id of the addon to restore a backup to. */
|
|
40488
|
-
'addonId': string;
|
|
40489
|
-
/** The id of the backup to restore. */
|
|
40490
|
-
'backupId': string;
|
|
40491
|
-
'timeoutDuration'?: number | string;
|
|
40492
|
-
};
|
|
40493
|
-
'condition'?: 'success';
|
|
40494
|
-
};
|
|
40495
|
-
} | {
|
|
40496
|
-
/** The kind of action. Example: "Job" */
|
|
40497
|
-
'kind': 'Job';
|
|
40498
|
-
'spec': {
|
|
40499
|
-
/** The type of action. Example: "execute" */
|
|
40500
|
-
'type': 'execute';
|
|
40501
|
-
'data': {
|
|
40502
|
-
/** ID of parent project */
|
|
40503
|
-
'projectId'?: string;
|
|
40504
|
-
/** The id of the job to run the command in. */
|
|
40505
|
-
'jobId': string;
|
|
40506
|
-
'command': string;
|
|
40507
|
-
'shell'?: string;
|
|
40508
|
-
'user'?: string;
|
|
40509
|
-
'group'?: string;
|
|
40510
|
-
};
|
|
40511
|
-
};
|
|
40512
|
-
} | {
|
|
40513
|
-
/** The kind of action. Example: "Service" */
|
|
40514
|
-
'kind': 'Service';
|
|
40515
|
-
'spec': {
|
|
40516
|
-
/** The type of action. Example: "restart" */
|
|
40517
|
-
'type': 'restart';
|
|
40518
|
-
'data': {
|
|
40519
|
-
/** ID of parent project */
|
|
40520
|
-
'projectId'?: string;
|
|
40521
|
-
/** The id of the service to restart. */
|
|
40522
|
-
'serviceId': string;
|
|
40523
|
-
'timeoutDuration'?: number | string;
|
|
40524
|
-
};
|
|
40525
|
-
'condition'?: 'running';
|
|
40526
|
-
} | {
|
|
40527
|
-
/** The type of action. Example: "execute" */
|
|
40528
|
-
'type': 'execute';
|
|
40529
|
-
'data': {
|
|
40530
|
-
/** ID of parent project */
|
|
40531
|
-
'projectId'?: string;
|
|
40532
|
-
/** The id of the service to run the command in. */
|
|
40533
|
-
'serviceId': string;
|
|
40534
|
-
'options'?: {
|
|
40535
|
-
/** Specify whether the command output should be awaited the node should succeed after having sent the command. Example: true */
|
|
40536
|
-
'dispatchOnly'?: boolean;
|
|
40537
|
-
};
|
|
40538
|
-
'command': string;
|
|
40539
|
-
'shell'?: string;
|
|
40540
|
-
'user'?: string;
|
|
40541
|
-
'group'?: string;
|
|
40542
|
-
};
|
|
40543
|
-
};
|
|
40544
|
-
} | {
|
|
40545
|
-
/** The kind of action. Example: "VCS" */
|
|
40546
|
-
'kind': 'VCS';
|
|
40547
|
-
'spec': {
|
|
40548
|
-
/** The type of action. Example: "createRepoFromSource" */
|
|
40549
|
-
'type': 'createRepoFromSource';
|
|
40550
|
-
'data': {
|
|
40551
|
-
'sourceData': {
|
|
40552
|
-
'publicRepo'?: boolean | string;
|
|
40553
|
-
'vcsService'?: string;
|
|
40554
|
-
'oauthProvider'?: string;
|
|
40555
|
-
'repoUrl': string;
|
|
40556
|
-
'accountLogin'?: string;
|
|
40557
|
-
'vcsLinkId'?: string;
|
|
40558
|
-
'selfHostedVcsId'?: string;
|
|
40559
|
-
};
|
|
40560
|
-
'targetData': {
|
|
40561
|
-
'name': string;
|
|
40562
|
-
'description'?: string;
|
|
40563
|
-
'privateRepo': boolean | string;
|
|
40564
|
-
'context'?: string;
|
|
40565
|
-
'folder'?: string;
|
|
40566
|
-
'accountLogin'?: string;
|
|
40567
|
-
'vcsLinkId'?: string;
|
|
40568
|
-
'oauthProvider'?: string;
|
|
40569
|
-
'vcsService'?: string;
|
|
40570
|
-
'selfHostedVcsId'?: string;
|
|
40571
|
-
};
|
|
40572
|
-
};
|
|
40573
|
-
};
|
|
40574
|
-
};
|
|
40575
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
40576
|
-
} | {
|
|
40577
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
40578
|
-
'ref'?: string;
|
|
40579
|
-
/** The kind of node. Example: "Condition" */
|
|
40580
|
-
'kind': 'Condition';
|
|
40581
|
-
/** The specification for the Condition node. */
|
|
40582
|
-
'spec': {
|
|
40583
|
-
/** The kind of condition. Example: "Addon" */
|
|
40584
|
-
'kind': 'Addon';
|
|
40585
|
-
'spec': {
|
|
40586
|
-
/** The type of condition. Example: "running" */
|
|
40587
|
-
'type': 'running';
|
|
40588
|
-
'data': {
|
|
40589
|
-
/** ID of parent project */
|
|
40590
|
-
'projectId'?: string;
|
|
40591
|
-
/** The id of the addon to monitor. */
|
|
40592
|
-
'addonId': string;
|
|
40593
|
-
'timeoutDuration'?: number | string;
|
|
40594
|
-
};
|
|
40595
|
-
};
|
|
40596
|
-
} | {
|
|
40597
|
-
/** The kind of condition. Example: "AddonBackup" */
|
|
40598
|
-
'kind': 'AddonBackup';
|
|
40599
|
-
'spec': {
|
|
40600
|
-
/** The type of condition. Example: "success" */
|
|
40601
|
-
'type': 'success';
|
|
40602
|
-
'data': {
|
|
40603
|
-
/** ID of parent project */
|
|
40604
|
-
'projectId'?: string;
|
|
40605
|
-
/** The id of the addon to monitor. */
|
|
40606
|
-
'addonId': string;
|
|
40607
|
-
/** The id of the backup to monitor. */
|
|
40608
|
-
'backupId': string;
|
|
40609
|
-
};
|
|
40610
|
-
};
|
|
40611
|
-
} | {
|
|
40612
|
-
/** The kind of condition. Example: "Build" */
|
|
40613
|
-
'kind': 'Build';
|
|
40614
|
-
'spec': {
|
|
40615
|
-
/** The type of condition. Example: "success" */
|
|
40616
|
-
'type': 'success';
|
|
40617
|
-
'data': {
|
|
40618
|
-
/** ID of parent project */
|
|
40619
|
-
'projectId'?: string;
|
|
40620
|
-
/** The id of the build to monitor. */
|
|
40621
|
-
'buildId': string;
|
|
40622
|
-
};
|
|
40623
|
-
};
|
|
40624
|
-
} | {
|
|
40625
|
-
/** The kind of condition. Example: "BYOCCluster" */
|
|
40626
|
-
'kind': 'BYOCCluster';
|
|
40627
|
-
'spec': {
|
|
40628
|
-
/** The type of condition. Example: "running" */
|
|
40629
|
-
'type': 'running';
|
|
40630
|
-
'data': {
|
|
40631
|
-
/** The id of the cluster to monitor. */
|
|
40632
|
-
'clusterId': string;
|
|
40633
|
-
'timeoutDuration'?: number | string;
|
|
40634
|
-
};
|
|
40635
|
-
};
|
|
40636
|
-
} | {
|
|
40637
|
-
/** The kind of condition. Example: "JobRun" */
|
|
40638
|
-
'kind': 'JobRun';
|
|
40639
|
-
'spec': {
|
|
40640
|
-
/** The type of condition. Example: "success" */
|
|
40641
|
-
'type': 'success';
|
|
40642
|
-
'data': {
|
|
40643
|
-
/** ID of parent project */
|
|
40644
|
-
'projectId'?: string;
|
|
40645
|
-
/** The id of the job to monitor. */
|
|
40646
|
-
'jobId': string;
|
|
40647
|
-
/** The id of the job run to monitor. */
|
|
40648
|
-
'runId': string;
|
|
40649
|
-
};
|
|
40650
|
-
};
|
|
40651
|
-
} | {
|
|
40652
|
-
/** The kind of condition. Example: "Service" */
|
|
40653
|
-
'kind': 'Service';
|
|
40654
|
-
'spec': {
|
|
40655
|
-
/** The type of condition. Example: "running" */
|
|
40656
|
-
'type': 'running';
|
|
40657
|
-
'data': {
|
|
40658
|
-
/** ID of parent project */
|
|
40659
|
-
'projectId'?: string;
|
|
40660
|
-
/** The id of the service to monitor. */
|
|
40661
|
-
'serviceId': string;
|
|
40662
|
-
'timeoutDuration'?: number | string;
|
|
40663
|
-
};
|
|
40664
|
-
};
|
|
40665
|
-
} | {
|
|
40666
|
-
/** The kind of condition. Example: "VCS" */
|
|
40667
|
-
'kind': 'VCS';
|
|
40668
|
-
'spec': {
|
|
40669
|
-
/** The type of condition. Example: "createRepoFromSourceSuccess" */
|
|
40670
|
-
'type': 'createRepoFromSourceSuccess';
|
|
40671
|
-
'data': {
|
|
40672
|
-
/** The tracker id outputted from the 'createRepoFromSource' action to monitor. */
|
|
40673
|
-
'trackerId': string;
|
|
40674
|
-
};
|
|
40675
|
-
};
|
|
40676
|
-
};
|
|
40677
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
40678
|
-
} | {
|
|
40679
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
40680
|
-
'ref'?: string;
|
|
40681
|
-
/** The kind of node. Example: "Message" */
|
|
40682
|
-
'kind': 'Message';
|
|
40683
|
-
/** The specification for the Message node. */
|
|
40684
|
-
'spec': {
|
|
40685
|
-
/** The kind of message to send. Example: "VCS" */
|
|
40686
|
-
'kind': 'VCS';
|
|
40687
|
-
'spec': {
|
|
40688
|
-
/** The VCS provider to use. */
|
|
40689
|
-
'vcsService': 'bitbucket' | 'gitlab' | 'github' | 'self-hosted' | 'azure' | string;
|
|
40690
|
-
/** If projectType is self-hosted, the ID of the self-hosted vcs to use. */
|
|
40691
|
-
'selfHostedVcsId'?: string;
|
|
40692
|
-
/** By default, if you have multiple version control accounts of the same provider linked, Northflank will pick a linked account that has access to the repository. If `accountLogin` is provided, Northflank will instead use your linked account with that login name. */
|
|
40693
|
-
'accountLogin'?: string;
|
|
40694
|
-
/** URL of the Git repo to send this message to. */
|
|
40695
|
-
'repoUrl': string;
|
|
40696
|
-
/** The ID of the pull request to comment on. */
|
|
40697
|
-
'pullRequestId': string;
|
|
40698
|
-
/** The rich text message to comment. */
|
|
40699
|
-
'message': string;
|
|
40700
|
-
};
|
|
40701
|
-
} | {
|
|
40702
|
-
/** The kind of message to send. Example: "SLACK" */
|
|
40703
|
-
'kind': 'SLACK';
|
|
40704
|
-
'spec': {
|
|
40705
|
-
/** The Slack webhook URL to send messages to. */
|
|
40706
|
-
'webhookUrl'?: string;
|
|
40707
|
-
/** The ID of an existing Slack integration to use. */
|
|
40708
|
-
'integrationInternalId'?: string;
|
|
40709
|
-
/** The message content to send to Slack. Supports markdown formatting. */
|
|
40710
|
-
'message': string;
|
|
40711
|
-
};
|
|
40712
|
-
} | {
|
|
40713
|
-
/** The kind of message to send. Example: "RAW_WEBHOOK" */
|
|
40714
|
-
'kind': 'RAW_WEBHOOK';
|
|
40715
|
-
'spec': {
|
|
40716
|
-
/** The webhook URL to send messages to. */
|
|
40717
|
-
'webhookUrl': string;
|
|
40718
|
-
/** The message content to send to the webhook. */
|
|
40719
|
-
'message': string;
|
|
40720
|
-
};
|
|
40721
|
-
};
|
|
40722
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
40723
|
-
} | {
|
|
40724
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
40725
|
-
'ref'?: string;
|
|
40726
|
-
/** The kind of node. Example: "LoopData" */
|
|
40727
|
-
'kind': 'LoopData';
|
|
40728
|
-
/** The specification for the LoopData node. */
|
|
40729
|
-
'spec': any;
|
|
40730
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
40731
|
-
} | {
|
|
40732
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
40733
|
-
'ref'?: string;
|
|
40734
|
-
/** The kind of node. Example: "OpenTofuDestroy" */
|
|
40735
|
-
'kind': 'OpenTofuDestroy';
|
|
40736
|
-
/** The specification for the OpenTofuDestroy node. */
|
|
40737
|
-
'spec': {
|
|
40738
|
-
/** The `ref` value of the `OpenTofu` node in the parent template whose state should be destroyed. Example: "my-infra" */
|
|
40739
|
-
'nodeRef': string;
|
|
40740
|
-
};
|
|
40741
|
-
'condition'?: 'success';
|
|
40742
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
40743
|
-
} | {
|
|
40744
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
40745
|
-
'ref'?: string;
|
|
40746
|
-
/** The kind of node. Example: "Approval" */
|
|
40747
|
-
'kind': 'Approval';
|
|
40748
|
-
/** The specification for the Approval node. */
|
|
40749
|
-
'spec': {
|
|
40750
|
-
'amount': number;
|
|
40751
|
-
};
|
|
40752
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
40753
|
-
};
|
|
37414
|
+
'spec': any;
|
|
40754
37415
|
/** Controls what happens if the teardown spec fails or times out. `ignore` (default) — proceed with resource deletion regardless. `block` — halt deletion and set the environment to `teardown_failed` */
|
|
40755
37416
|
'failurePolicy'?: 'ignore' | 'block';
|
|
40756
37417
|
} | null;
|
|
@@ -40884,434 +37545,7 @@ type UpdateTemplateData = {
|
|
|
40884
37545
|
'spec': any;
|
|
40885
37546
|
/** Optional spec to run when the template is deleted. */
|
|
40886
37547
|
'teardownSpec'?: {
|
|
40887
|
-
|
|
40888
|
-
'spec': {
|
|
40889
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
40890
|
-
'ref'?: string;
|
|
40891
|
-
/** The kind of node. Example: "Workflow" */
|
|
40892
|
-
'kind': 'Workflow';
|
|
40893
|
-
/** The specification for the workflow node. */
|
|
40894
|
-
'spec': {
|
|
40895
|
-
/** The type of workflow. If set to `sequential`, nodes in the workflow will run in order. If set to `parallel`, nodes will run simultaneously. Example: "sequential" */
|
|
40896
|
-
'type': 'sequential' | 'parallel';
|
|
40897
|
-
/** An array of nodes belonging to the workflow. */
|
|
40898
|
-
'steps': any[];
|
|
40899
|
-
};
|
|
40900
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
40901
|
-
} | {
|
|
40902
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
40903
|
-
'ref'?: string;
|
|
40904
|
-
/** The kind of node. Example: "JobRun" */
|
|
40905
|
-
'kind': 'JobRun';
|
|
40906
|
-
/** The specification for the JobRun node. */
|
|
40907
|
-
'spec': {
|
|
40908
|
-
/** ID of parent project */
|
|
40909
|
-
'projectId'?: string;
|
|
40910
|
-
'runtimeEnvironment'?: any | string;
|
|
40911
|
-
/** Secret files as JSON object, encrypted at rest. File path must be absolute Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
40912
|
-
'runtimeFiles'?: any;
|
|
40913
|
-
/** Docker secret mount contents as JSON object, encrypted at rest. Must be a valid Docker secret mount identifier Example: {"example-secret-mount_1":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
40914
|
-
'dockerSecretMounts'?: any;
|
|
40915
|
-
'billing'?: {
|
|
40916
|
-
/** The ID of the deployment plan override to use. */
|
|
40917
|
-
'deploymentPlan'?: string;
|
|
40918
|
-
};
|
|
40919
|
-
/** Override the job run deployment source. */
|
|
40920
|
-
'deployment'?: {
|
|
40921
|
-
/** Allows for customization of docker runtime */
|
|
40922
|
-
'docker'?: {
|
|
40923
|
-
/** Type of entrypoint & command override configuration Example: "default" */
|
|
40924
|
-
'configType': 'default' | 'customEntrypoint' | 'customCommand' | 'customEntrypointCustomCommand';
|
|
40925
|
-
/** Custom entrypoint which should be used. Required in case where `configType` is `customEntrypoint` or `customEntrypointCustomCommand` */
|
|
40926
|
-
'customEntrypoint'?: string;
|
|
40927
|
-
/** Custom command which should be used. Required in case where `configType` is `customCommand` or `customEntrypointCustomCommand` */
|
|
40928
|
-
'customCommand'?: string;
|
|
40929
|
-
};
|
|
40930
|
-
/** Allows for customization of buildpack runtime */
|
|
40931
|
-
'buildpack'?: {
|
|
40932
|
-
/** Type of buildpack run configuration */
|
|
40933
|
-
'configType': 'default' | 'customProcess' | 'customCommand' | 'customEntrypointCustomCommand' | 'originalEntrypointCustomCommand';
|
|
40934
|
-
/** Custom process which should be run. Required in case where `configType` is `customProcess` */
|
|
40935
|
-
'customProcess'?: string;
|
|
40936
|
-
/** Custom entrypoint which should be run. Required in case where `configType` is `customEntrypointCustomCommand` */
|
|
40937
|
-
'customEntrypoint'?: string;
|
|
40938
|
-
/** Custom command which should be run. Required in case where `configType` is `customCommand`, `customEntrypointCustomCommand` or `originalEntrypointCustomCommand` */
|
|
40939
|
-
'customCommand'?: string;
|
|
40940
|
-
};
|
|
40941
|
-
'storage'?: {
|
|
40942
|
-
'useHdbStorage'?: boolean;
|
|
40943
|
-
'usePdSsdStorage'?: boolean;
|
|
40944
|
-
'ephemeralStorage'?: {
|
|
40945
|
-
/** Ephemeral storage per container in MB */
|
|
40946
|
-
'storageSize'?: number | string;
|
|
40947
|
-
};
|
|
40948
|
-
/** Configures the amount of available memory-backed disk space available to /dev/shm */
|
|
40949
|
-
'shmSize'?: number | string;
|
|
40950
|
-
};
|
|
40951
|
-
/** Optional: Specify the commit to run */
|
|
40952
|
-
'internal'?: {
|
|
40953
|
-
/** ID of the build service to deploy */
|
|
40954
|
-
'id'?: string;
|
|
40955
|
-
/** Branch to deploy */
|
|
40956
|
-
'branch'?: string;
|
|
40957
|
-
/** Commit SHA to deploy, or 'latest' to deploy the most recent commit */
|
|
40958
|
-
'buildSHA'?: any | string;
|
|
40959
|
-
/** ID of the build that should be deployed */
|
|
40960
|
-
'buildId'?: string;
|
|
40961
|
-
};
|
|
40962
|
-
} | {
|
|
40963
|
-
/** Allows for customization of docker runtime */
|
|
40964
|
-
'docker'?: {
|
|
40965
|
-
/** Type of entrypoint & command override configuration Example: "default" */
|
|
40966
|
-
'configType': 'default' | 'customEntrypoint' | 'customCommand' | 'customEntrypointCustomCommand';
|
|
40967
|
-
/** Custom entrypoint which should be used. Required in case where `configType` is `customEntrypoint` or `customEntrypointCustomCommand` */
|
|
40968
|
-
'customEntrypoint'?: string;
|
|
40969
|
-
/** Custom command which should be used. Required in case where `configType` is `customCommand` or `customEntrypointCustomCommand` */
|
|
40970
|
-
'customCommand'?: string;
|
|
40971
|
-
};
|
|
40972
|
-
/** Allows for customization of buildpack runtime */
|
|
40973
|
-
'buildpack'?: {
|
|
40974
|
-
/** Type of buildpack run configuration */
|
|
40975
|
-
'configType': 'default' | 'customProcess' | 'customCommand' | 'customEntrypointCustomCommand' | 'originalEntrypointCustomCommand';
|
|
40976
|
-
/** Custom process which should be run. Required in case where `configType` is `customProcess` */
|
|
40977
|
-
'customProcess'?: string;
|
|
40978
|
-
/** Custom entrypoint which should be run. Required in case where `configType` is `customEntrypointCustomCommand` */
|
|
40979
|
-
'customEntrypoint'?: string;
|
|
40980
|
-
/** Custom command which should be run. Required in case where `configType` is `customCommand`, `customEntrypointCustomCommand` or `originalEntrypointCustomCommand` */
|
|
40981
|
-
'customCommand'?: string;
|
|
40982
|
-
};
|
|
40983
|
-
'storage'?: {
|
|
40984
|
-
'useHdbStorage'?: boolean;
|
|
40985
|
-
'usePdSsdStorage'?: boolean;
|
|
40986
|
-
'ephemeralStorage'?: {
|
|
40987
|
-
/** Ephemeral storage per container in MB */
|
|
40988
|
-
'storageSize'?: number | string;
|
|
40989
|
-
};
|
|
40990
|
-
/** Configures the amount of available memory-backed disk space available to /dev/shm */
|
|
40991
|
-
'shmSize'?: number | string;
|
|
40992
|
-
};
|
|
40993
|
-
/** Optional: Specify the external image to run */
|
|
40994
|
-
'external'?: {
|
|
40995
|
-
/** Image to be deployed. When not deploying from Dockerhub the URL must be specified. */
|
|
40996
|
-
'imagePath': string;
|
|
40997
|
-
/** ID of the saved credentials to use to access this external image. */
|
|
40998
|
-
'credentials'?: string;
|
|
40999
|
-
};
|
|
41000
|
-
};
|
|
41001
|
-
/** The ID of the job to run. */
|
|
41002
|
-
'jobId': string;
|
|
41003
|
-
};
|
|
41004
|
-
'condition'?: 'success';
|
|
41005
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
41006
|
-
} | {
|
|
41007
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
41008
|
-
'ref'?: string;
|
|
41009
|
-
/** The kind of node. Example: "LoopWorkflow" */
|
|
41010
|
-
'kind': 'LoopWorkflow';
|
|
41011
|
-
/** The specification for the loop workflow node. */
|
|
41012
|
-
'spec': {
|
|
41013
|
-
'iterations': any[] | string;
|
|
41014
|
-
/** An array of nodes that will be run multiple times. */
|
|
41015
|
-
'steps': any[];
|
|
41016
|
-
};
|
|
41017
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
41018
|
-
} | {
|
|
41019
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
41020
|
-
'ref'?: string;
|
|
41021
|
-
/** The kind of node. Example: "Action" */
|
|
41022
|
-
'kind': 'Action';
|
|
41023
|
-
/** The specification for the Action node. */
|
|
41024
|
-
'spec': {
|
|
41025
|
-
/** The kind of action. Example: "Addon" */
|
|
41026
|
-
'kind': 'Addon';
|
|
41027
|
-
'spec': {
|
|
41028
|
-
/** The type of action. Example: "restart" */
|
|
41029
|
-
'type': 'restart';
|
|
41030
|
-
'data': {
|
|
41031
|
-
/** ID of parent project */
|
|
41032
|
-
'projectId'?: string;
|
|
41033
|
-
/** The id of the addon to restart. */
|
|
41034
|
-
'addonId': string;
|
|
41035
|
-
'timeoutDuration'?: number | string;
|
|
41036
|
-
};
|
|
41037
|
-
'condition'?: 'running';
|
|
41038
|
-
};
|
|
41039
|
-
} | {
|
|
41040
|
-
/** The kind of action. Example: "AddonBackup" */
|
|
41041
|
-
'kind': 'AddonBackup';
|
|
41042
|
-
'spec': {
|
|
41043
|
-
/** The type of action. Example: "restore" */
|
|
41044
|
-
'type': 'restore';
|
|
41045
|
-
'data': {
|
|
41046
|
-
/** ID of parent project */
|
|
41047
|
-
'projectId'?: string;
|
|
41048
|
-
/** The id of the addon to restore a backup to. */
|
|
41049
|
-
'addonId': string;
|
|
41050
|
-
/** The id of the backup to restore. */
|
|
41051
|
-
'backupId': string;
|
|
41052
|
-
'timeoutDuration'?: number | string;
|
|
41053
|
-
};
|
|
41054
|
-
'condition'?: 'success';
|
|
41055
|
-
};
|
|
41056
|
-
} | {
|
|
41057
|
-
/** The kind of action. Example: "Job" */
|
|
41058
|
-
'kind': 'Job';
|
|
41059
|
-
'spec': {
|
|
41060
|
-
/** The type of action. Example: "execute" */
|
|
41061
|
-
'type': 'execute';
|
|
41062
|
-
'data': {
|
|
41063
|
-
/** ID of parent project */
|
|
41064
|
-
'projectId'?: string;
|
|
41065
|
-
/** The id of the job to run the command in. */
|
|
41066
|
-
'jobId': string;
|
|
41067
|
-
'command': string;
|
|
41068
|
-
'shell'?: string;
|
|
41069
|
-
'user'?: string;
|
|
41070
|
-
'group'?: string;
|
|
41071
|
-
};
|
|
41072
|
-
};
|
|
41073
|
-
} | {
|
|
41074
|
-
/** The kind of action. Example: "Service" */
|
|
41075
|
-
'kind': 'Service';
|
|
41076
|
-
'spec': {
|
|
41077
|
-
/** The type of action. Example: "restart" */
|
|
41078
|
-
'type': 'restart';
|
|
41079
|
-
'data': {
|
|
41080
|
-
/** ID of parent project */
|
|
41081
|
-
'projectId'?: string;
|
|
41082
|
-
/** The id of the service to restart. */
|
|
41083
|
-
'serviceId': string;
|
|
41084
|
-
'timeoutDuration'?: number | string;
|
|
41085
|
-
};
|
|
41086
|
-
'condition'?: 'running';
|
|
41087
|
-
} | {
|
|
41088
|
-
/** The type of action. Example: "execute" */
|
|
41089
|
-
'type': 'execute';
|
|
41090
|
-
'data': {
|
|
41091
|
-
/** ID of parent project */
|
|
41092
|
-
'projectId'?: string;
|
|
41093
|
-
/** The id of the service to run the command in. */
|
|
41094
|
-
'serviceId': string;
|
|
41095
|
-
'options'?: {
|
|
41096
|
-
/** Specify whether the command output should be awaited the node should succeed after having sent the command. Example: true */
|
|
41097
|
-
'dispatchOnly'?: boolean;
|
|
41098
|
-
};
|
|
41099
|
-
'command': string;
|
|
41100
|
-
'shell'?: string;
|
|
41101
|
-
'user'?: string;
|
|
41102
|
-
'group'?: string;
|
|
41103
|
-
};
|
|
41104
|
-
};
|
|
41105
|
-
} | {
|
|
41106
|
-
/** The kind of action. Example: "VCS" */
|
|
41107
|
-
'kind': 'VCS';
|
|
41108
|
-
'spec': {
|
|
41109
|
-
/** The type of action. Example: "createRepoFromSource" */
|
|
41110
|
-
'type': 'createRepoFromSource';
|
|
41111
|
-
'data': {
|
|
41112
|
-
'sourceData': {
|
|
41113
|
-
'publicRepo'?: boolean | string;
|
|
41114
|
-
'vcsService'?: string;
|
|
41115
|
-
'oauthProvider'?: string;
|
|
41116
|
-
'repoUrl': string;
|
|
41117
|
-
'accountLogin'?: string;
|
|
41118
|
-
'vcsLinkId'?: string;
|
|
41119
|
-
'selfHostedVcsId'?: string;
|
|
41120
|
-
};
|
|
41121
|
-
'targetData': {
|
|
41122
|
-
'name': string;
|
|
41123
|
-
'description'?: string;
|
|
41124
|
-
'privateRepo': boolean | string;
|
|
41125
|
-
'context'?: string;
|
|
41126
|
-
'folder'?: string;
|
|
41127
|
-
'accountLogin'?: string;
|
|
41128
|
-
'vcsLinkId'?: string;
|
|
41129
|
-
'oauthProvider'?: string;
|
|
41130
|
-
'vcsService'?: string;
|
|
41131
|
-
'selfHostedVcsId'?: string;
|
|
41132
|
-
};
|
|
41133
|
-
};
|
|
41134
|
-
};
|
|
41135
|
-
};
|
|
41136
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
41137
|
-
} | {
|
|
41138
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
41139
|
-
'ref'?: string;
|
|
41140
|
-
/** The kind of node. Example: "Condition" */
|
|
41141
|
-
'kind': 'Condition';
|
|
41142
|
-
/** The specification for the Condition node. */
|
|
41143
|
-
'spec': {
|
|
41144
|
-
/** The kind of condition. Example: "Addon" */
|
|
41145
|
-
'kind': 'Addon';
|
|
41146
|
-
'spec': {
|
|
41147
|
-
/** The type of condition. Example: "running" */
|
|
41148
|
-
'type': 'running';
|
|
41149
|
-
'data': {
|
|
41150
|
-
/** ID of parent project */
|
|
41151
|
-
'projectId'?: string;
|
|
41152
|
-
/** The id of the addon to monitor. */
|
|
41153
|
-
'addonId': string;
|
|
41154
|
-
'timeoutDuration'?: number | string;
|
|
41155
|
-
};
|
|
41156
|
-
};
|
|
41157
|
-
} | {
|
|
41158
|
-
/** The kind of condition. Example: "AddonBackup" */
|
|
41159
|
-
'kind': 'AddonBackup';
|
|
41160
|
-
'spec': {
|
|
41161
|
-
/** The type of condition. Example: "success" */
|
|
41162
|
-
'type': 'success';
|
|
41163
|
-
'data': {
|
|
41164
|
-
/** ID of parent project */
|
|
41165
|
-
'projectId'?: string;
|
|
41166
|
-
/** The id of the addon to monitor. */
|
|
41167
|
-
'addonId': string;
|
|
41168
|
-
/** The id of the backup to monitor. */
|
|
41169
|
-
'backupId': string;
|
|
41170
|
-
};
|
|
41171
|
-
};
|
|
41172
|
-
} | {
|
|
41173
|
-
/** The kind of condition. Example: "Build" */
|
|
41174
|
-
'kind': 'Build';
|
|
41175
|
-
'spec': {
|
|
41176
|
-
/** The type of condition. Example: "success" */
|
|
41177
|
-
'type': 'success';
|
|
41178
|
-
'data': {
|
|
41179
|
-
/** ID of parent project */
|
|
41180
|
-
'projectId'?: string;
|
|
41181
|
-
/** The id of the build to monitor. */
|
|
41182
|
-
'buildId': string;
|
|
41183
|
-
};
|
|
41184
|
-
};
|
|
41185
|
-
} | {
|
|
41186
|
-
/** The kind of condition. Example: "BYOCCluster" */
|
|
41187
|
-
'kind': 'BYOCCluster';
|
|
41188
|
-
'spec': {
|
|
41189
|
-
/** The type of condition. Example: "running" */
|
|
41190
|
-
'type': 'running';
|
|
41191
|
-
'data': {
|
|
41192
|
-
/** The id of the cluster to monitor. */
|
|
41193
|
-
'clusterId': string;
|
|
41194
|
-
'timeoutDuration'?: number | string;
|
|
41195
|
-
};
|
|
41196
|
-
};
|
|
41197
|
-
} | {
|
|
41198
|
-
/** The kind of condition. Example: "JobRun" */
|
|
41199
|
-
'kind': 'JobRun';
|
|
41200
|
-
'spec': {
|
|
41201
|
-
/** The type of condition. Example: "success" */
|
|
41202
|
-
'type': 'success';
|
|
41203
|
-
'data': {
|
|
41204
|
-
/** ID of parent project */
|
|
41205
|
-
'projectId'?: string;
|
|
41206
|
-
/** The id of the job to monitor. */
|
|
41207
|
-
'jobId': string;
|
|
41208
|
-
/** The id of the job run to monitor. */
|
|
41209
|
-
'runId': string;
|
|
41210
|
-
};
|
|
41211
|
-
};
|
|
41212
|
-
} | {
|
|
41213
|
-
/** The kind of condition. Example: "Service" */
|
|
41214
|
-
'kind': 'Service';
|
|
41215
|
-
'spec': {
|
|
41216
|
-
/** The type of condition. Example: "running" */
|
|
41217
|
-
'type': 'running';
|
|
41218
|
-
'data': {
|
|
41219
|
-
/** ID of parent project */
|
|
41220
|
-
'projectId'?: string;
|
|
41221
|
-
/** The id of the service to monitor. */
|
|
41222
|
-
'serviceId': string;
|
|
41223
|
-
'timeoutDuration'?: number | string;
|
|
41224
|
-
};
|
|
41225
|
-
};
|
|
41226
|
-
} | {
|
|
41227
|
-
/** The kind of condition. Example: "VCS" */
|
|
41228
|
-
'kind': 'VCS';
|
|
41229
|
-
'spec': {
|
|
41230
|
-
/** The type of condition. Example: "createRepoFromSourceSuccess" */
|
|
41231
|
-
'type': 'createRepoFromSourceSuccess';
|
|
41232
|
-
'data': {
|
|
41233
|
-
/** The tracker id outputted from the 'createRepoFromSource' action to monitor. */
|
|
41234
|
-
'trackerId': string;
|
|
41235
|
-
};
|
|
41236
|
-
};
|
|
41237
|
-
};
|
|
41238
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
41239
|
-
} | {
|
|
41240
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
41241
|
-
'ref'?: string;
|
|
41242
|
-
/** The kind of node. Example: "Message" */
|
|
41243
|
-
'kind': 'Message';
|
|
41244
|
-
/** The specification for the Message node. */
|
|
41245
|
-
'spec': {
|
|
41246
|
-
/** The kind of message to send. Example: "VCS" */
|
|
41247
|
-
'kind': 'VCS';
|
|
41248
|
-
'spec': {
|
|
41249
|
-
/** The VCS provider to use. */
|
|
41250
|
-
'vcsService': 'bitbucket' | 'gitlab' | 'github' | 'self-hosted' | 'azure' | string;
|
|
41251
|
-
/** If projectType is self-hosted, the ID of the self-hosted vcs to use. */
|
|
41252
|
-
'selfHostedVcsId'?: string;
|
|
41253
|
-
/** By default, if you have multiple version control accounts of the same provider linked, Northflank will pick a linked account that has access to the repository. If `accountLogin` is provided, Northflank will instead use your linked account with that login name. */
|
|
41254
|
-
'accountLogin'?: string;
|
|
41255
|
-
/** URL of the Git repo to send this message to. */
|
|
41256
|
-
'repoUrl': string;
|
|
41257
|
-
/** The ID of the pull request to comment on. */
|
|
41258
|
-
'pullRequestId': string;
|
|
41259
|
-
/** The rich text message to comment. */
|
|
41260
|
-
'message': string;
|
|
41261
|
-
};
|
|
41262
|
-
} | {
|
|
41263
|
-
/** The kind of message to send. Example: "SLACK" */
|
|
41264
|
-
'kind': 'SLACK';
|
|
41265
|
-
'spec': {
|
|
41266
|
-
/** The Slack webhook URL to send messages to. */
|
|
41267
|
-
'webhookUrl'?: string;
|
|
41268
|
-
/** The ID of an existing Slack integration to use. */
|
|
41269
|
-
'integrationInternalId'?: string;
|
|
41270
|
-
/** The message content to send to Slack. Supports markdown formatting. */
|
|
41271
|
-
'message': string;
|
|
41272
|
-
};
|
|
41273
|
-
} | {
|
|
41274
|
-
/** The kind of message to send. Example: "RAW_WEBHOOK" */
|
|
41275
|
-
'kind': 'RAW_WEBHOOK';
|
|
41276
|
-
'spec': {
|
|
41277
|
-
/** The webhook URL to send messages to. */
|
|
41278
|
-
'webhookUrl': string;
|
|
41279
|
-
/** The message content to send to the webhook. */
|
|
41280
|
-
'message': string;
|
|
41281
|
-
};
|
|
41282
|
-
};
|
|
41283
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
41284
|
-
} | {
|
|
41285
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
41286
|
-
'ref'?: string;
|
|
41287
|
-
/** The kind of node. Example: "LoopData" */
|
|
41288
|
-
'kind': 'LoopData';
|
|
41289
|
-
/** The specification for the LoopData node. */
|
|
41290
|
-
'spec': any;
|
|
41291
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
41292
|
-
} | {
|
|
41293
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
41294
|
-
'ref'?: string;
|
|
41295
|
-
/** The kind of node. Example: "OpenTofuDestroy" */
|
|
41296
|
-
'kind': 'OpenTofuDestroy';
|
|
41297
|
-
/** The specification for the OpenTofuDestroy node. */
|
|
41298
|
-
'spec': {
|
|
41299
|
-
/** The `ref` value of the `OpenTofu` node in the parent template whose state should be destroyed. Example: "my-infra" */
|
|
41300
|
-
'nodeRef': string;
|
|
41301
|
-
};
|
|
41302
|
-
'condition'?: 'success';
|
|
41303
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
41304
|
-
} | {
|
|
41305
|
-
/** An identifier that can used to reference the output of this node later in the template. */
|
|
41306
|
-
'ref'?: string;
|
|
41307
|
-
/** The kind of node. Example: "Approval" */
|
|
41308
|
-
'kind': 'Approval';
|
|
41309
|
-
/** The specification for the Approval node. */
|
|
41310
|
-
'spec': {
|
|
41311
|
-
'amount': number;
|
|
41312
|
-
};
|
|
41313
|
-
'skipNodeExecution'?: 'true' | 'false' | string;
|
|
41314
|
-
};
|
|
37548
|
+
'spec': any;
|
|
41315
37549
|
/** Controls what happens if the teardown spec fails or times out. `ignore` (default) — proceed with resource deletion regardless. `block` — halt deletion and set the environment to `teardown_failed` */
|
|
41316
37550
|
'failurePolicy'?: 'ignore' | 'block';
|
|
41317
37551
|
} | null;
|