Skip to content

Commit

Permalink
chore: add environments v2 to staging deployment (#3130)
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 authored Dec 11, 2023
1 parent 068253e commit ad94ada
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 13 deletions.
11 changes: 7 additions & 4 deletions infrastructure/aws/staging/ecs-task-definition-migration.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"name": "flagsmith-api-migration",
"command": [
"migrate"

],
"environment": [
{
Expand All @@ -20,8 +19,8 @@
"value": "app.settings.production"
},
{
"name":"IDENTITIES_TABLE_NAME_DYNAMO",
"value":"flagsmith_identities"
"name": "IDENTITIES_TABLE_NAME_DYNAMO",
"value": "flagsmith_identities"
},
{
"name": "PROJECT_METADATA_TABLE_NAME_DYNAMO",
Expand All @@ -31,6 +30,10 @@
"name": "ENVIRONMENTS_TABLE_NAME_DYNAMO",
"value": "flagsmith_environments"
},
{
"name": "ENVIRONMENTS_V2_TABLE_NAME_DYNAMO",
"value": "flagsmith_environments_v2"
},
{
"name": "ENVIRONMENTS_API_KEY_TABLE_NAME_DYNAMO",
"value": "flagsmith_environment_api_key"
Expand Down Expand Up @@ -61,4 +64,4 @@
],
"cpu": "1024",
"memory": "2048"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
"name": "ENVIRONMENTS_TABLE_NAME_DYNAMO",
"value": "flagsmith_environments"
},
{
"name": "ENVIRONMENTS_V2_TABLE_NAME_DYNAMO",
"value": "flagsmith_environments_v2"
},
{
"name": "GITHUB_CLIENT_ID",
"value": "cd16a9c1574074756876"
Expand All @@ -68,8 +72,8 @@
"value": "937916178726.2904626318658"
},
{
"name":"EDGE_API_URL",
"value":"https://edge.bullet-train-staging.win/api/v1/"
"name": "EDGE_API_URL",
"value": "https://edge.bullet-train-staging.win/api/v1/"
},
{
"name": "IDENTITY_MIGRATION_EVENT_BUS_NAME",
Expand Down Expand Up @@ -197,4 +201,4 @@
],
"cpu": "1024",
"memory": "2048"
}
}
15 changes: 9 additions & 6 deletions infrastructure/aws/staging/ecs-task-definition-web.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@
"name": "ENVIRONMENTS_TABLE_NAME_DYNAMO",
"value": "flagsmith_environments"
},
{
"name": "ENVIRONMENTS_V2_TABLE_NAME_DYNAMO",
"value": "flagsmith_environments_v2"
},
{
"name": "ENABLE_FE_E2E",
"value": "True"
Expand Down Expand Up @@ -124,8 +128,8 @@
"value": "flagsmith_environment_api_key"
},
{
"name":"EDGE_RELEASE_DATETIME",
"value":"2022-05-18T09:45:00Z"
"name": "EDGE_RELEASE_DATETIME",
"value": "2022-05-18T09:45:00Z"
},
{
"name": "CACHE_BAD_ENVIRONMENTS_SECONDS",
Expand All @@ -144,7 +148,7 @@
"value": "60"
},
{
"name": "LOG_LEVEL",
"name": "LOG_LEVEL",
"value": "INFO"
},
{
Expand Down Expand Up @@ -211,9 +215,8 @@
},
{
"name": "EDGE_REQUEST_SIGNING_KEY",
"valueFrom":"arn:aws:secretsmanager:eu-west-2:302456015006:secret:ECS-API-heAdoB:EDGE_REQUEST_SIGNING_KEY::"
"valueFrom": "arn:aws:secretsmanager:eu-west-2:302456015006:secret:ECS-API-heAdoB:EDGE_REQUEST_SIGNING_KEY::"
},

{
"name": "SSE_AUTHENTICATION_TOKEN",
"valueFrom": "arn:aws:secretsmanager:eu-west-2:302456015006:secret:ECS-API-heAdoB:SSE_AUTHENTICATION_TOKEN::"
Expand All @@ -234,4 +237,4 @@
],
"cpu": "1024",
"memory": "2048"
}
}

3 comments on commit ad94ada

@vercel
Copy link

@vercel vercel bot commented on ad94ada Dec 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on ad94ada Dec 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on ad94ada Dec 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./docs

docs-git-main-flagsmith.vercel.app
docs.bullet-train.io
docs-flagsmith.vercel.app
docs.flagsmith.com

Please sign in to comment.