Skip to content

Commit 63286eb

Browse files
authored
Merge pull request #73 from codeforjapan/refactor/remove-v28
refactor: remove v028
2 parents 152f233 + 750cd2d commit 63286eb

File tree

5 files changed

+3
-126
lines changed

5 files changed

+3
-126
lines changed

bin/decidim-cfj-cdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { Tags } from 'aws-cdk-lib';
1212

1313
const app = new cdk.App();
1414

15-
const stages = ['dev', 'staging', 'prd-v0283', 'prd-v0292']
15+
const stages = ['dev', 'staging', 'prd-v0292']
1616
const stage = app.node.tryGetContext('stage')
1717
const tag = app.node.tryGetContext('tag')
1818
if (!stages.includes(stage)) {

config/dev-v028.json

Lines changed: 0 additions & 41 deletions
This file was deleted.

config/prd-v0274.json

Lines changed: 0 additions & 41 deletions
This file was deleted.

config/prd-v0283.json

Lines changed: 0 additions & 41 deletions
This file was deleted.

lib/decidim-stack.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ export class DecidimStack extends cdk.Stack {
168168
image: new ecs.EcrImage(decidimRepository, props.tag),
169169
environment: {
170170
...DecidimContainerEnvironment, ...{
171-
NEW_RELIC_AGENT_ENABLED: props.stage === 'prd-v0283' ? 'true' : 'false',
172-
NEW_RELIC_LICENSE_KEY: props.stage === 'prd-v0283' ? ssm.StringParameter.valueForTypedStringParameterV2(this, `/decidim-cfj/${ props.stage }/NEW_RELIC_LICENSE_KEY`) : '',
171+
NEW_RELIC_AGENT_ENABLED: props.stage === 'prd-v0292' ? 'true' : 'false',
172+
NEW_RELIC_LICENSE_KEY: props.stage === 'prd-v0292' ? ssm.StringParameter.valueForTypedStringParameterV2(this, `/decidim-cfj/${ props.stage }/NEW_RELIC_LICENSE_KEY`) : '',
173173
NEW_RELIC_APP_NAME: `decidim-app${ props.stage }`,
174174
MAPS_PROVIDER: 'osm',
175175
MAPS_STATIC_PROVIDER: 'cfj_osm',

0 commit comments

Comments
 (0)