@forge/manifest 9.3.0-next.8 → 9.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/out/schema/manifest-schema.json +38 -0
- package/out/schema/manifest.d.ts +22 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 9.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- d86ca2b: Migrate runtime deprecation check from @forge/manifest to @forge/cli
|
|
8
|
+
- a56ca61: bump up memory limit allocated for function
|
|
9
|
+
- 8bd52d6: Enable overrides for oauth profile retriever
|
|
10
|
+
- 43832a8: Allow scopes to be declared with offline user impersonation support
|
|
11
|
+
- a6128e0: Add manifest support for container scaling configurations
|
|
12
|
+
- 065b6a2: Add validation to prevent resources using the same key in the manifest definitions
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 984c454: Forcing patch bump to update internal registry
|
|
17
|
+
- 743bbdc: Unreferenced action module check now also accounts for automation:actionProvider
|
|
18
|
+
- a891abf: Update manifest definitions
|
|
19
|
+
- 290af69: Update manifest definitions
|
|
20
|
+
- 439551a: Update manifest definitions
|
|
21
|
+
- 4ced2b2: Update manifest definitions
|
|
22
|
+
- Updated dependencies [984c454]
|
|
23
|
+
- @forge/i18n@0.0.6
|
|
24
|
+
|
|
25
|
+
## 9.3.0-next.9
|
|
26
|
+
|
|
27
|
+
### Minor Changes
|
|
28
|
+
|
|
29
|
+
- a6128e0: Add manifest support for container scaling configurations
|
|
30
|
+
|
|
3
31
|
## 9.3.0-next.8
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
|
@@ -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
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/manifest",
|
|
3
|
-
"version": "9.3.0
|
|
3
|
+
"version": "9.3.0",
|
|
4
4
|
"description": "Definitions and validations of the Forge manifest",
|
|
5
5
|
"main": "out/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"author": "Atlassian",
|
|
25
25
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@forge/i18n": "0.0.6
|
|
27
|
+
"@forge/i18n": "0.0.6",
|
|
28
28
|
"@sentry/node": "7.106.0",
|
|
29
29
|
"ajv": "^8.12.0",
|
|
30
30
|
"ajv-formats": "2.1.1",
|