Skip to content
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(ecs): enable alarm-based rollbacks #25840

Merged
merged 46 commits into from
Jul 5, 2023
Merged
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
90d1ac0
fix: Correct SamlConsolePrincipal for non-China (#24277)
Naumel Feb 22, 2023
5734dc2
Merge remote-tracking branch 'upstream/main'
homakk Mar 28, 2023
d0af953
Merge remote-tracking branch 'upstream/main'
homakk Mar 30, 2023
8c0a1c5
Merge remote-tracking branch 'upstream/main'
homakk Mar 31, 2023
fd57a57
entire alarm based rollback task into single commit
homakk Mar 28, 2023
21a3b7d
Merge remote-tracking branch 'upstream/main'
homakk Apr 3, 2023
b0bdeb9
Merge remote-tracking branch 'upstream/main'
homakk Apr 4, 2023
649c1cd
Merged from main
homakk Apr 4, 2023
78f63ee
resolving merge conflicts
homakk Apr 5, 2023
edfa290
Merge remote-tracking branch 'upstream/main'
homakk Apr 5, 2023
2f8915b
Merge branch 'main' into alarambasedrollback
homakk Apr 5, 2023
9d531df
integ files modules updated to resolve merge conflicts
homakk Apr 5, 2023
94b6ba8
Merge branch 'main' into alarambasedrollback
homakk Apr 5, 2023
6d24118
Merge remote-tracking branch 'upstream/main'
homakk Apr 6, 2023
5630657
Merge branch 'main' into alarambasedrollback
homakk Apr 6, 2023
113a350
Merge remote-tracking branch 'upstream/main'
homakk Apr 7, 2023
00cdab0
Merge branch 'main' into alarambasedrollback
homakk Apr 7, 2023
0c80cbd
regarding merge conflicts issue
homakk Apr 7, 2023
cc0dd6c
integ files import changes for merge conflicts
homakk Apr 7, 2023
92cda6b
Merge remote-tracking branch 'upstream/main'
homakk Apr 10, 2023
cc35804
Merge remote-tracking branch 'upstream/main'
homakk Apr 11, 2023
62a4c52
Merge remote-tracking branch 'upstream/main'
homakk Apr 13, 2023
6cf3a22
Merge branch 'main' into alarambasedrollback
homakk Apr 13, 2023
57bfbe6
Merge remote-tracking branch 'upstream/main'
homakk Apr 14, 2023
d7d29b3
Merge branch 'main' into alarambasedrollback
homakk Apr 14, 2023
6a237bb
adding this change for PR not to abondended
homakk Apr 20, 2023
58163f0
Merge remote-tracking branch 'upstream/main'
homakk Apr 20, 2023
e3e7772
Merge branch 'main' into alarambasedrollback
homakk Apr 20, 2023
3acfb15
chore: refactor createAlarm & remove unnecessary unit tests
bvtujo May 10, 2023
fd94df4
chore: fix api but failing unit tests
bvtujo May 17, 2023
dfcd539
chore: fix validation
bvtujo May 17, 2023
4ed03fa
chore: readme changes
bvtujo May 18, 2023
22bdcda
chore: fix integ test, remove unnecessary ec2 test
bvtujo May 19, 2023
a21b5b0
chore: refactor enableAlarms for clarity
bvtujo May 19, 2023
cad3fd2
test: fix integ test, finally
bvtujo May 19, 2023
bae8694
docs: update docstrings for new props and methods
bvtujo May 19, 2023
8017b6f
PR feedback
madeline-k Jun 12, 2023
03fd5e7
update integration tests
madeline-k Jun 26, 2023
30d4c28
test: update patterns integ tests to include deployment alarms
bvtujo Jul 3, 2023
3f56b6f
chore: add aws-cn to list of unsupported partitions
bvtujo Jul 3, 2023
58c1545
Merge branch 'main' into alarm-based-rollback
bvtujo Jul 3, 2023
a9ab90a
test: regenerate snapshots for bad asset shas
bvtujo Jul 3, 2023
fd83ae7
chore: fix govcloud test:
bvtujo Jul 3, 2023
03919ff
Merge branch 'main' into alarm-based-rollback
madeline-k Jul 5, 2023
2cdaadf
Apply suggestions from code review
madeline-k Jul 5, 2023
644c468
chore: update snapshots of failing integ tests to use deployment alarms
bvtujo Jul 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": "31.0.0",
"files": {
"21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": {
"source": {
"path": "DeploymentAlarmsDefaultTestDeployAssertAFB973D1.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
}
},
"dockerImages": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"Parameters": {
"BootstrapVersion": {
"Type": "AWS::SSM::Parameter::Value<String>",
"Default": "/cdk-bootstrap/hnb659fds/version",
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
}
},
"Rules": {
"CheckBootstrapVersion": {
"Assertions": [
{
"Assert": {
"Fn::Not": [
{
"Fn::Contains": [
[
"1",
"2",
"3",
"4",
"5"
],
{
"Ref": "BootstrapVersion"
}
]
}
]
},
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":"31.0.0"}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": "31.0.0",
"files": {
"c5379c9d4d59b89822098caf9ecba93840c4ce16b7aa2b9a2e422778d891b406": {
"source": {
"path": "integ-deployment-alarms.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "c5379c9d4d59b89822098caf9ecba93840c4ce16b7aa2b9a2e422778d891b406.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
}
},
"dockerImages": {}
}
Loading