@forge/manifest 9.3.0-next.8 → 9.3.0-next.9
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/CHANGELOG.md +6 -0
- package/out/schema/manifest-schema.json +38 -0
- package/out/schema/manifest.d.ts +22 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -27284,6 +27284,36 @@
|
|
|
27284
27284
|
}
|
|
27285
27285
|
}
|
|
27286
27286
|
},
|
|
27287
|
+
"ContainerResourcesSchema": {
|
|
27288
|
+
"type": "object",
|
|
27289
|
+
"additionalProperties": false,
|
|
27290
|
+
"properties": {
|
|
27291
|
+
"cpu": {
|
|
27292
|
+
"type": "number",
|
|
27293
|
+
"description": "The amount of CPU to be allocated to the container"
|
|
27294
|
+
},
|
|
27295
|
+
"memory": {
|
|
27296
|
+
"type": "number",
|
|
27297
|
+
"description": "The amount of memory to be allocated to the container"
|
|
27298
|
+
}
|
|
27299
|
+
}
|
|
27300
|
+
},
|
|
27301
|
+
"ServiceScalingSchema": {
|
|
27302
|
+
"type": "object",
|
|
27303
|
+
"additionalProperties": false,
|
|
27304
|
+
"properties": {
|
|
27305
|
+
"min": {
|
|
27306
|
+
"type": "number",
|
|
27307
|
+
"description": "The minimum number of instances to run",
|
|
27308
|
+
"minimum": 1
|
|
27309
|
+
},
|
|
27310
|
+
"max": {
|
|
27311
|
+
"type": "number",
|
|
27312
|
+
"description": "The maximum number of instances to run",
|
|
27313
|
+
"minimum": 1
|
|
27314
|
+
}
|
|
27315
|
+
}
|
|
27316
|
+
},
|
|
27287
27317
|
"ContainersSchema": {
|
|
27288
27318
|
"type": "array",
|
|
27289
27319
|
"uniqueItems": true,
|
|
@@ -27311,6 +27341,10 @@
|
|
|
27311
27341
|
"health": {
|
|
27312
27342
|
"$ref": "#/definitions/ContainerHealthSchema",
|
|
27313
27343
|
"title": "health"
|
|
27344
|
+
},
|
|
27345
|
+
"resources": {
|
|
27346
|
+
"$ref": "#/definitions/ContainerResourcesSchema",
|
|
27347
|
+
"title": "resources"
|
|
27314
27348
|
}
|
|
27315
27349
|
}
|
|
27316
27350
|
}
|
|
@@ -27336,6 +27370,10 @@
|
|
|
27336
27370
|
"containers": {
|
|
27337
27371
|
"$ref": "#/definitions/ContainersSchema",
|
|
27338
27372
|
"title": "containers"
|
|
27373
|
+
},
|
|
27374
|
+
"scaling": {
|
|
27375
|
+
"$ref": "#/definitions/ServiceScalingSchema",
|
|
27376
|
+
"title": "scaling"
|
|
27339
27377
|
}
|
|
27340
27378
|
}
|
|
27341
27379
|
}
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -790,10 +790,12 @@ export type Containers = {
|
|
|
790
790
|
key: string;
|
|
791
791
|
tag: string;
|
|
792
792
|
health: Health;
|
|
793
|
+
resources?: Resources1;
|
|
793
794
|
}[];
|
|
794
795
|
export type Services = {
|
|
795
796
|
key: string;
|
|
796
797
|
containers: Containers;
|
|
798
|
+
scaling?: Scaling;
|
|
797
799
|
}[];
|
|
798
800
|
|
|
799
801
|
export interface ManifestSchema {
|
|
@@ -61553,3 +61555,23 @@ export interface Health {
|
|
|
61553
61555
|
path: string;
|
|
61554
61556
|
};
|
|
61555
61557
|
}
|
|
61558
|
+
export interface Resources1 {
|
|
61559
|
+
/**
|
|
61560
|
+
* The amount of CPU to be allocated to the container
|
|
61561
|
+
*/
|
|
61562
|
+
cpu?: number;
|
|
61563
|
+
/**
|
|
61564
|
+
* The amount of memory to be allocated to the container
|
|
61565
|
+
*/
|
|
61566
|
+
memory?: number;
|
|
61567
|
+
}
|
|
61568
|
+
export interface Scaling {
|
|
61569
|
+
/**
|
|
61570
|
+
* The minimum number of instances to run
|
|
61571
|
+
*/
|
|
61572
|
+
min?: number;
|
|
61573
|
+
/**
|
|
61574
|
+
* The maximum number of instances to run
|
|
61575
|
+
*/
|
|
61576
|
+
max?: number;
|
|
61577
|
+
}
|