@northflank/js-client 0.7.22 → 0.7.23

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.
@@ -20449,14 +20449,62 @@ type GetServiceResult = {
20449
20449
  'storageSize': number;
20450
20450
  };
20451
20451
  };
20452
+ /** Roll out strategy of the service */
20453
+ 'strategy'?: {
20454
+ /** Configures the instance roll out strategy of your service. Currently only available via feature flag. */
20455
+ 'type'?: 'recreate' | 'rollout-steady' | 'rollout-balanced' | 'rollout-fast';
20456
+ };
20457
+ 'zonalRedundancy'?: {
20458
+ /** Defines scheduling behaviour across different zones within the same region. */
20459
+ 'type'?: 'disabled' | 'preferred' | 'required';
20460
+ /** Defines how many zones are required and will prevent containers from additional scheduling into existing zones. (Only relevant if type is set to "required") */
20461
+ 'minZones'?: number;
20462
+ };
20463
+ 'gpu'?: {
20464
+ 'enabled'?: boolean;
20465
+ 'configuration'?: {
20466
+ 'gpuType': string;
20467
+ 'timesliced'?: boolean;
20468
+ };
20469
+ };
20470
+ /** The maximum amount of time the process has to shut down after receiving a SIGTERM signal before it is forcefully shut down SIGKILL by the system. */
20471
+ 'gracePeriodSeconds'?: number;
20472
+ /** Allow setting custom labels and annotations for workloads. */
20473
+ 'metadata'?: {
20474
+ /** Specify custom labels for the workload. */
20475
+ 'labels'?: any;
20476
+ /** Specify custom annotations for the workload as string or object. */
20477
+ 'annotations'?: any;
20478
+ };
20452
20479
  /** URL at which the service's deployed image is located */
20453
20480
  'imageUrl'?: string;
20454
20481
  };
20455
20482
  'buildConfiguration'?: {
20456
- 'branchRestrictions'?: string[];
20483
+ /** An array of pull request build rules. Only supported for build services. Each commit belonging to a pull request on a branch that matches one of the provided build rules will be built automatically. */
20457
20484
  'prRestrictions'?: string[];
20458
- 'pathIgnoreRules': string[];
20485
+ /** An array of branch build rules. Only supported for build services. Each commit belonging to a branch that matches one of the provided build rules will be built automatically. */
20486
+ 'branchRestrictions'?: string[];
20487
+ /** An array of path ignore rules. A commit will only be built if a file has been changed that does not match any of the ignore rules. Path ignore rules follow `.gitignore` syntax. */
20488
+ 'pathIgnoreRules'?: string[];
20489
+ /** If `true`, the functionality of `pathIgnoreRules` will be inverted. A commit will only be built if a file has been changed that matches one or more of the rules in `pathIgnoreRules`. */
20490
+ 'isAllowList'?: boolean;
20491
+ /** If `true`, enables commit ignore flags. If a commit message contains one or more of the flags in `ciIgnoreFlags`, that commit will not be built. */
20492
+ 'ciIgnoreFlagsEnabled'?: boolean;
20493
+ /** An array of commit ignore flags. If a commit message contains one or more of these flags, that commit will not be built. Defaults to `["[skip ci]", "[ci skip]", "[no ci]", "[skip nf]", "[nf skip]", "[northflank skip]", "[skip northflank]"]` Example: ["[skip ci]","[ci skip]","[no ci]","[skip nf]","[nf skip]","[northflank skip]","[skip northflank]"] */
20494
+ 'ciIgnoreFlags'?: string[];
20495
+ /** If your Dockerfile contains multiple build stages, you can specify the target stage by entering its name here. */
20496
+ 'dockerfileTarget'?: string;
20459
20497
  'dockerCredentials'?: string[];
20498
+ /** Include .git folder inside the build context */
20499
+ 'includeGitFolder'?: boolean;
20500
+ /** Include the entire git history as part of the .git folder. Only relevant if "includeGitFolder" is set. */
20501
+ 'fullGitClone'?: boolean;
20502
+ 'storage'?: {
20503
+ 'ephemeralStorage'?: {
20504
+ /** Ephemeral storage per build in MB Example: 16384 */
20505
+ 'storageSize'?: number;
20506
+ };
20507
+ };
20460
20508
  };
20461
20509
  'buildEngineConfiguration'?: {
20462
20510
  /** The build engine used. Example: "buildpack" */