Skip to content

Commit 4ee3d1e

Browse files
authored
Merge pull request #13607 from guardian/ravi/facia-test-c8g
Test c8g instances for facia-rendering
2 parents e733b16 + 361a67e commit 4ee3d1e

File tree

4 files changed

+166
-29
lines changed

4 files changed

+166
-29
lines changed

dotcom-rendering/cdk/bin/cdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ new RenderingCDKStack(cdkApp, 'FaciaRendering-PROD', {
9292
},
9393
},
9494
},
95-
instanceType: InstanceType.of(InstanceClass.C7G, InstanceSize.MEDIUM),
95+
instanceType: InstanceType.of(InstanceClass.C8G, InstanceSize.MEDIUM),
9696
});
9797

9898
/** Tag pages */

dotcom-rendering/cdk/lib/__snapshots__/renderingStack.test.ts.snap

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,24 @@ exports[`The RenderingCDKStack matches the snapshot 1`] = `
282282
"MetricName": "CPUUtilization",
283283
"Namespace": "AWS/EC2",
284284
"Period": 30,
285+
"Tags": [
286+
{
287+
"Key": "gu:cdk:version",
288+
"Value": "TEST",
289+
},
290+
{
291+
"Key": "gu:repo",
292+
"Value": "guardian/dotcom-rendering",
293+
},
294+
{
295+
"Key": "Stack",
296+
"Value": "frontend",
297+
},
298+
{
299+
"Key": "Stage",
300+
"Value": "PROD",
301+
},
302+
],
285303
"Threshold": 70,
286304
"Unit": "Percent",
287305
},
@@ -652,6 +670,24 @@ exports[`The RenderingCDKStack matches the snapshot 1`] = `
652670
"ReturnData": false,
653671
},
654672
],
673+
"Tags": [
674+
{
675+
"Key": "gu:cdk:version",
676+
"Value": "TEST",
677+
},
678+
{
679+
"Key": "gu:repo",
680+
"Value": "guardian/dotcom-rendering",
681+
},
682+
{
683+
"Key": "Stack",
684+
"Value": "frontend",
685+
},
686+
{
687+
"Key": "Stage",
688+
"Value": "PROD",
689+
},
690+
],
655691
"Threshold": 0.5,
656692
"TreatMissingData": "notBreaching",
657693
},
@@ -827,6 +863,24 @@ exports[`The RenderingCDKStack matches the snapshot 1`] = `
827863
"Namespace": "AWS/ApplicationELB",
828864
"Period": 30,
829865
"Statistic": "Average",
866+
"Tags": [
867+
{
868+
"Key": "gu:cdk:version",
869+
"Value": "TEST",
870+
},
871+
{
872+
"Key": "gu:repo",
873+
"Value": "guardian/dotcom-rendering",
874+
},
875+
{
876+
"Key": "Stack",
877+
"Value": "frontend",
878+
},
879+
{
880+
"Key": "Stage",
881+
"Value": "PROD",
882+
},
883+
],
830884
"Threshold": 0.15,
831885
},
832886
"Type": "AWS::CloudWatch::Alarm",
@@ -885,6 +939,24 @@ exports[`The RenderingCDKStack matches the snapshot 1`] = `
885939
"Namespace": "AWS/ApplicationELB",
886940
"Period": 30,
887941
"Statistic": "Average",
942+
"Tags": [
943+
{
944+
"Key": "gu:cdk:version",
945+
"Value": "TEST",
946+
},
947+
{
948+
"Key": "gu:repo",
949+
"Value": "guardian/dotcom-rendering",
950+
},
951+
{
952+
"Key": "Stack",
953+
"Value": "frontend",
954+
},
955+
{
956+
"Key": "Stage",
957+
"Value": "PROD",
958+
},
959+
],
888960
"Threshold": 0.2,
889961
},
890962
"Type": "AWS::CloudWatch::Alarm",
@@ -1336,6 +1408,24 @@ exports[`The RenderingCDKStack matches the snapshot 1`] = `
13361408
"Namespace": "AWS/ApplicationELB",
13371409
"Period": 60,
13381410
"Statistic": "Maximum",
1411+
"Tags": [
1412+
{
1413+
"Key": "gu:cdk:version",
1414+
"Value": "TEST",
1415+
},
1416+
{
1417+
"Key": "gu:repo",
1418+
"Value": "guardian/dotcom-rendering",
1419+
},
1420+
{
1421+
"Key": "Stack",
1422+
"Value": "frontend",
1423+
},
1424+
{
1425+
"Key": "Stage",
1426+
"Value": "PROD",
1427+
},
1428+
],
13391429
"Threshold": 1,
13401430
"TreatMissingData": "notBreaching",
13411431
},

dotcom-rendering/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@
113113
"ajv": "8.17.1",
114114
"ajv-formats": "2.1.1",
115115
"amphtml-validator": "1.0.35",
116-
"aws-cdk": "2.100.0",
117-
"aws-cdk-lib": "2.100.0",
116+
"aws-cdk": "2.179.0",
117+
"aws-cdk-lib": "2.179.0",
118118
"babel-loader": "9.2.1",
119119
"babel-plugin-polyfill-corejs3": "0.11.1",
120120
"babel-plugin-transform-runtime": "6.23.0",

pnpm-lock.yaml

Lines changed: 73 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)