@cdklabs/cdk-cicd-wrapper 2.3.2 → 2.3.3
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/.jsii +758 -196
- package/API.md +526 -45
- package/README.md +11 -0
- package/lib/app/DeploymentPipelineApp.js +7 -3
- package/lib/app/PipelineApp.js +12 -4
- package/lib/appconfig/accessor.js +1 -1
- package/lib/config/build-image.d.ts +17 -1
- package/lib/config/build-image.js +57 -3
- package/lib/config/default-synthesizer-role-arn.d.ts +38 -0
- package/lib/config/default-synthesizer-role-arn.js +63 -0
- package/lib/config/define.d.ts +50 -1
- package/lib/config/define.js +117 -6
- package/lib/config/naming.d.ts +7 -2
- package/lib/config/naming.js +9 -9
- package/lib/config/repository.js +1 -1
- package/lib/config/types.d.ts +123 -11
- package/lib/config/types.js +6 -2
- package/lib/engine/cdkpipelines/CdkPipelinesEngine.d.ts +6 -0
- package/lib/engine/cdkpipelines/CdkPipelinesEngine.js +419 -43
- package/lib/engine/codepipeline/CodePipelineEngine.d.ts +22 -15
- package/lib/engine/codepipeline/CodePipelineEngine.js +681 -127
- package/lib/engine/codepipeline/DeploymentPipeline.d.ts +8 -5
- package/lib/engine/codepipeline/DeploymentPipeline.js +937 -72
- package/lib/engine/external-id-secrets.d.ts +17 -0
- package/lib/engine/external-id-secrets.js +53 -0
- package/lib/engine/github/GitHubActionsEngine.d.ts +3 -4
- package/lib/engine/github/GitHubActionsEngine.js +446 -34
- package/lib/index.d.ts +3 -1
- package/lib/index.js +6 -2
- package/lib/runtime/attach.js +1 -1
- package/lib/runtime/inject.d.ts +41 -3
- package/lib/runtime/inject.js +259 -22
- package/lib/runtime/pipeline-assembler.d.ts +7 -1
- package/lib/runtime/pipeline-assembler.js +144 -36
- package/lib/runtime/register.js +10 -1
- package/lib/support/AccessLogsForBucketAspect.d.ts +14 -8
- package/lib/support/AccessLogsForBucketAspect.js +52 -37
- package/lib/support/DestroyEncryptionKeysOnDeleteAspect.js +1 -1
- package/lib/support/DisablePublicIPAssignmentForEC2Aspect.js +1 -1
- package/lib/support/EncryptBucketOnTransitAspect.js +1 -1
- package/lib/support/EncryptCloudWatchLogGroupsAspect.js +1 -1
- package/lib/support/EncryptSNSTopicOnTransitAspect.js +1 -1
- package/lib/support/LambdaDLQAspect.js +1 -1
- package/lib/support/LogRetentionAspect.js +1 -1
- package/lib/support/RotateEncryptionKeysAspect.js +1 -1
- package/lib/support/SupportResources.d.ts +24 -14
- package/lib/support/SupportResources.js +42 -24
- package/package.json +5 -4
|
@@ -12,11 +12,14 @@ export interface DeploymentPipelineProps {
|
|
|
12
12
|
readonly buildImage?: string;
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
* Renders the CD CodePipeline into `scope` (a Stack): Source (the config repo)
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
15
|
+
* Renders the CD CodePipeline into `scope` (a Stack): Source (the config repo) followed by ordered
|
|
16
|
+
* deployment stages. Each contiguous run of ungated targets shares one stage and can deploy in parallel.
|
|
17
|
+
* Each gated target has its own stage, with its approval at run order 1 and only that target's deploy
|
|
18
|
+
* action(s) at run order 2, so the gate blocks every later target without reordering the declaration.
|
|
19
|
+
* A sequential target uses one action for all regions; a parallel multi-region target fans out one action
|
|
20
|
+
* per region. Each action runs `cdk-cicd deploy --from-image --target <stage>` -- pulling that target's own
|
|
21
|
+
* image version, read from deploy.config at run time. The CLI is installed from the source repo's
|
|
22
|
+
* `package.json` (`npm ci`), so the config repo carries no CDK code.
|
|
20
23
|
*/
|
|
21
24
|
export declare class DeploymentPipeline extends Construct {
|
|
22
25
|
readonly pipeline: codepipeline.Pipeline;
|