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