Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/jest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ jobs:
uses: ./.github/actions/setup-node-env

- name: Run Jest
run: CI=true pnpm test
run: CI=true IMAGE_DIGEST=sha256:12345 pnpm test
working-directory: dotcom-rendering
15 changes: 11 additions & 4 deletions dotcom-rendering/cdk/bin/cdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ new RenderingCDKStack(cdkApp, 'FaciaRendering-PROD', {
});

/** Tag pages */
export const TagPageRenderingPropsCODE: RenderingCDKStackProps = {
export const tagPageRenderingPropsCODE: RenderingCDKStackProps = {
guApp: 'tag-page-rendering',
stage: 'CODE',
domainName: 'tag-page-rendering.code.dev-guardianapis.com',
Expand All @@ -109,10 +109,10 @@ export const TagPageRenderingPropsCODE: RenderingCDKStackProps = {
new RenderingCDKStack(
cdkApp,
'TagPageRendering-CODE',
TagPageRenderingPropsCODE,
tagPageRenderingPropsCODE,
);

new RenderingCDKStack(cdkApp, 'TagPageRendering-PROD', {
export const tagPageRenderingPropsPROD: RenderingCDKStackProps = {
guApp: 'tag-page-rendering',
stage: 'PROD',
domainName: 'tag-page-rendering.guardianapis.com',
Expand Down Expand Up @@ -142,7 +142,14 @@ new RenderingCDKStack(cdkApp, 'TagPageRendering-PROD', {
},
},
instanceType: InstanceType.of(InstanceClass.C8G, InstanceSize.MEDIUM),
});
imageIdentifier: process.env.IMAGE_DIGEST!,
};

new RenderingCDKStack(
cdkApp,
'TagPageRendering-PROD',
tagPageRenderingPropsPROD,
);

/** Interactive */
new RenderingCDKStack(cdkApp, 'InteractiveRendering-CODE', {
Expand Down
Loading
Loading