Skip to content

Commit

Permalink
modify cdk pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
go-to-k committed Jan 3, 2024
1 parent fd21c85 commit af234f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ export class CodePipeline extends PipelineBase {
} else {
this._pipeline = new cp.Pipeline(this, 'Pipeline', {
pipelineName: this.props.pipelineName,
pipelineType: cp.PipelineType.V1,
crossAccountKeys: this.props.crossAccountKeys ?? false,
reuseCrossRegionSupportStacks: this.props.reuseCrossRegionSupportStacks,
// This is necessary to make self-mutation work (deployments are guaranteed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ test('Policy sizes do not exceed the maximum size', () => {
const annotations = Annotations.fromStack(pipelineStack);
annotations.hasWarning('*', Match.stringLikeRegexp('^Template size is approaching limit'));
const warnings = annotations.findWarning('*', Match.anyValue());
expect(warnings.length).toEqual(2);
expect(warnings.length).toEqual(1);
});

test('CodeBuild action role has the right AssumeRolePolicyDocument', () => {
Expand Down

0 comments on commit af234f3

Please sign in to comment.