-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(codepipeline): change default pipeline type to V2 (under feature flag) #29096
Merged
mergify
merged 23 commits into
aws:main
from
go-to-k:codepipeline-pipeline-type-default-v2
Mar 12, 2024
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
f579c37
feat(codepipeline): change default value for pipelineType to V2 (unde…
go-to-k fed918e
integ test
go-to-k aeca2c8
change existing integ tests
go-to-k 96dbaad
postCliContext
go-to-k 9c80945
add to change rest integ tests
go-to-k dc60a16
appconfig integ
go-to-k 5e7e47b
integ.codepipeline-start-pipeline-execution.ts
go-to-k 1223806
Merge branch 'main' into codepipeline-pipeline-type-default-v2
go-to-k a28c548
README
go-to-k 5a23e30
Merge branch 'main' of https://github.com/go-to-k/aws-cdk into codepi…
go-to-k 599243b
change unit tests
go-to-k 3724ba6
aws-appconfig/test/integ.configuration
go-to-k ae27b58
integ.pipeline-type-v2-by-default
go-to-k aae1861
README
go-to-k 79cd494
test for app context
go-to-k ce29920
test postCliContext vs context
go-to-k 31c5b13
Revert "test for app context"
go-to-k 85f008e
change postCliContext to context
go-to-k 8ad99f0
change postCliContext added newly to context
go-to-k 2621600
Revert "change postCliContext added newly to context"
go-to-k 6e0689d
Revert "change postCliContext to context"
go-to-k 0abe694
Revert "test postCliContext vs context"
go-to-k b55237b
Merge branch 'main' into codepipeline-pipeline-type-default-v2
mergify[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: seems redundant check since on line 536, you've already used null coalescing operator
??
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The line 536 is the following:
The difference between the line 536 and the code is whether it sets undefined or
PipelineType.V1
whenprops.pipelineType
is undefined and theisDefaultV2
is false.Without this code (not
this.pipelineType
), if someone who did not originally specifyprops.pipelineType
upgrades to the version that includes this change, thePipelineType.V1
will be explicitly set to L1 if the feature flag is left off. This is by no means a breaking change, but it does mean that the version upgrade will cause the snapshot test to fail. In order to avoid changing the behavior with previous versions, it was intended that the template would be the same as the existing one.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh thanks for the explanation.