@flit/cdk-pipeline 1.4.2 → 1.4.4
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 +2 -2
- package/dist/artifact.js +1 -1
- package/dist/code-commit-source-segment.js +2 -2
- package/dist/code-star-source-segment.js +2 -2
- package/dist/git-hub-source-segment.js +2 -2
- package/dist/pipeline-segment.js +2 -2
- package/dist/pipeline.js +3 -3
- package/dist/publish-assets-action.js +1 -1
- package/dist/s3-source-segment.js +2 -2
- package/dist/segment.js +2 -2
- package/dist/source-segment.js +1 -1
- package/dist/stack-segment.js +8 -8
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/pipeline.ts +1 -1
- package/src/stack-segment.ts +5 -5
package/package.json
CHANGED
package/src/pipeline.ts
CHANGED
|
@@ -74,7 +74,7 @@ export class Pipeline extends Stack {
|
|
|
74
74
|
|
|
75
75
|
if (
|
|
76
76
|
segments[1].length === 1 &&
|
|
77
|
-
segments[1].filter(isPipeline).length !== segments[
|
|
77
|
+
segments[1].filter(isPipeline).length !== segments[1].length
|
|
78
78
|
) {
|
|
79
79
|
throw new Error("Second segment must be the pipeline segment");
|
|
80
80
|
}
|
package/src/stack-segment.ts
CHANGED
|
@@ -129,7 +129,7 @@ export class StackSegmentConstructed extends SegmentConstructed {
|
|
|
129
129
|
...(buildArtifact
|
|
130
130
|
? [
|
|
131
131
|
new CodeBuildAction({
|
|
132
|
-
actionName:
|
|
132
|
+
actionName: `${this.name}Build`,
|
|
133
133
|
runOrder: 1,
|
|
134
134
|
input: props.input,
|
|
135
135
|
extraInputs: props.extraInputs,
|
|
@@ -154,7 +154,7 @@ export class StackSegmentConstructed extends SegmentConstructed {
|
|
|
154
154
|
}),
|
|
155
155
|
}),
|
|
156
156
|
new PublishAssetsAction(this, "PublishAssets", {
|
|
157
|
-
actionName:
|
|
157
|
+
actionName: `${this.name}PublishAssets`,
|
|
158
158
|
runOrder: 2,
|
|
159
159
|
input: buildArtifact,
|
|
160
160
|
manifestPath: scope.buildDir,
|
|
@@ -162,7 +162,7 @@ export class StackSegmentConstructed extends SegmentConstructed {
|
|
|
162
162
|
]
|
|
163
163
|
: []),
|
|
164
164
|
new CloudFormationCreateReplaceChangeSetAction({
|
|
165
|
-
actionName:
|
|
165
|
+
actionName: `${this.name}PrepareChanges`,
|
|
166
166
|
runOrder: buildArtifact ? 3 : 1,
|
|
167
167
|
stackName: props.stackName ? props.stackName : props.stack.stackName,
|
|
168
168
|
account: props.stack.account,
|
|
@@ -176,13 +176,13 @@ export class StackSegmentConstructed extends SegmentConstructed {
|
|
|
176
176
|
...(props.manualApproval
|
|
177
177
|
? [
|
|
178
178
|
new ManualApprovalAction({
|
|
179
|
-
actionName:
|
|
179
|
+
actionName: `${this.name}ApproveChanges`,
|
|
180
180
|
runOrder: buildArtifact ? 4 : 2,
|
|
181
181
|
}),
|
|
182
182
|
]
|
|
183
183
|
: []),
|
|
184
184
|
new CloudFormationExecuteChangeSetAction({
|
|
185
|
-
actionName:
|
|
185
|
+
actionName: `${this.name}ExecuteChanges`,
|
|
186
186
|
runOrder: props.manualApproval
|
|
187
187
|
? buildArtifact
|
|
188
188
|
? 5
|