@fjall/deploy-core 2.24.0 → 2.27.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/dist/.minified +1 -1
- package/dist/src/aws/index.d.ts +1 -1
- package/dist/src/aws/index.js +1 -1
- package/dist/src/aws/organisations/index.d.ts +1 -1
- package/dist/src/aws/organisations/index.js +1 -1
- package/dist/src/aws/organisations/organisationalUnits.d.ts +15 -0
- package/dist/src/aws/organisations/organisationalUnits.js +1 -1
- package/dist/src/index.d.ts +4 -2
- package/dist/src/index.js +1 -1
- package/dist/src/orchestration/application/applicationDeploy.js +1 -1
- package/dist/src/orchestration/application/codeOnlyDeploy.d.ts +6 -0
- package/dist/src/orchestration/application/codeOnlyDeploy.js +1 -1
- package/dist/src/orchestration/application/databaseEndpointReconcile.d.ts +77 -0
- package/dist/src/orchestration/application/databaseEndpointReconcile.js +1 -0
- package/dist/src/orchestration/application/deploySessionPolicy.d.ts +9 -1
- package/dist/src/orchestration/application/deploySessionPolicy.js +1 -1
- package/dist/src/orchestration/application/dockerBuildHelper.js +1 -1
- package/dist/src/orchestration/application/ecrCacheRepository.d.ts +14 -0
- package/dist/src/orchestration/application/ecrCacheRepository.js +1 -0
- package/dist/src/orchestration/application/serviceImageTagsRollback.d.ts +56 -0
- package/dist/src/orchestration/application/serviceImageTagsRollback.js +1 -0
- package/dist/src/orchestration/application/taskDefinitionRoll.d.ts +33 -0
- package/dist/src/orchestration/application/taskDefinitionRoll.js +1 -0
- package/dist/src/orchestration/index.d.ts +4 -0
- package/dist/src/orchestration/index.js +1 -1
- package/dist/src/orchestration/organisationDeploy/orgCascadeDeploy.js +3 -3
- package/dist/src/orchestration/organisationDeploy/orgContext.d.ts +7 -0
- package/dist/src/orchestration/organisationDeploy/orgContext.js +1 -1
- package/dist/src/orchestration/restart/restartApplication.d.ts +69 -0
- package/dist/src/orchestration/restart/restartApplication.js +1 -0
- package/dist/src/orchestration/restart/secretsDrift.d.ts +54 -0
- package/dist/src/orchestration/restart/secretsDrift.js +1 -0
- package/dist/src/services/infrastructure/CdkArgumentBuilder.js +1 -1
- package/dist/src/services/infrastructure/CdkServiceTypes.d.ts +7 -0
- package/dist/src/services/infrastructure/CloudFormationService.d.ts +17 -0
- package/dist/src/services/infrastructure/CloudFormationService.js +1 -1
- package/dist/src/services/infrastructure/EcrImageInspectorService.d.ts +11 -1
- package/dist/src/services/infrastructure/EcrImageInspectorService.js +1 -1
- package/dist/src/services/infrastructure/SsmParameterMetadataService.d.ts +23 -0
- package/dist/src/services/infrastructure/SsmParameterMetadataService.js +1 -0
- package/dist/src/services/infrastructure/cdkServiceHelpers.js +1 -1
- package/dist/src/services/supporting/CdkContextBuilder.d.ts +1 -0
- package/dist/src/services/supporting/CdkContextBuilder.js +1 -1
- package/dist/src/types/deployment/DeploymentTypes.d.ts +1 -0
- package/dist/src/types/index.d.ts +1 -1
- package/dist/src/types/params.d.ts +27 -0
- package/package.json +4 -4
|
@@ -76,6 +76,25 @@ export interface DeployParams {
|
|
|
76
76
|
* the gate even when this is omitted.
|
|
77
77
|
*/
|
|
78
78
|
approvalGate?: ApprovalGate;
|
|
79
|
+
/**
|
|
80
|
+
* Asked before the post-deploy database-endpoint reconcile restarts the
|
|
81
|
+
* application's ECS services (fires only when a deploy replaced the
|
|
82
|
+
* database — e.g. a snapshot restore — without also rolling a fresh image).
|
|
83
|
+
* Omitted ⇒ restart without asking: running containers are actively writing
|
|
84
|
+
* to the doomed old database, so automation surfaces (worker,
|
|
85
|
+
* non-interactive CLI) must not block on consent.
|
|
86
|
+
*/
|
|
87
|
+
confirmDatabaseEndpointRestart?: (request: DatabaseEndpointRestartRequest) => Promise<boolean>;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Context handed to `confirmDatabaseEndpointRestart` so an interactive
|
|
91
|
+
* surface can render what changed and what a "yes" will restart.
|
|
92
|
+
*/
|
|
93
|
+
export interface DatabaseEndpointRestartRequest {
|
|
94
|
+
appName: string;
|
|
95
|
+
/** Database-stack output keys whose value changed (e.g. `AppDbEndpoint`). */
|
|
96
|
+
changedOutputs: string[];
|
|
97
|
+
serviceCount: number;
|
|
79
98
|
}
|
|
80
99
|
export interface DeployOptions {
|
|
81
100
|
/**
|
|
@@ -113,6 +132,14 @@ export interface DeployOptions {
|
|
|
113
132
|
* build + push and rolls ECS to `<repo>:<imageTag>`. Implies `deployOnly`.
|
|
114
133
|
*/
|
|
115
134
|
imageTag?: string;
|
|
135
|
+
/**
|
|
136
|
+
* Exact per-service image tags for rollback mode (F12), keyed by the bare
|
|
137
|
+
* service name recorded in a Release's `ServiceArtefact[]`. Mutually
|
|
138
|
+
* exclusive with `imageTag` — each service rolls to its EXACT supplied tag,
|
|
139
|
+
* bypassing the `rebaseRollbackTagForService` prefix heuristic entirely.
|
|
140
|
+
* Implies `deployOnly`.
|
|
141
|
+
*/
|
|
142
|
+
serviceImageTags?: Record<string, string>;
|
|
116
143
|
/**
|
|
117
144
|
* Approval-gate: require an explicit approve decision before mutating. The
|
|
118
145
|
* engine only gates when a gate is engaged (resolver injected, `planOnly`, or
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fjall/deploy-core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.27.0",
|
|
4
4
|
"description": "Shared deployment engine for Fjall — used by CLI and webapp worker",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
"@aws-sdk/client-ssm": "^3.1038.0",
|
|
83
83
|
"@aws-sdk/client-sso-admin": "^3.1038.0",
|
|
84
84
|
"@aws-sdk/client-sts": "^3.1038.0",
|
|
85
|
-
"@fjall/generator": "^2.
|
|
86
|
-
"@fjall/util": "^2.
|
|
85
|
+
"@fjall/generator": "^2.27.0",
|
|
86
|
+
"@fjall/util": "^2.27.0",
|
|
87
87
|
"@smithy/node-http-handler": "^4.6.1",
|
|
88
88
|
"aws-cdk": "^2.1128.1",
|
|
89
89
|
"tsx": "^4.21.0",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"typescript": "^6.0.3",
|
|
95
95
|
"vitest": "^4.1.5"
|
|
96
96
|
},
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "921ecd4f65f52c17037a8a24834d7e4c196b9347"
|
|
98
98
|
}
|