Skip to content

Commit

Permalink
Merge pull request #68 from ant-xuexiao/chore/update-concurrency-depl…
Browse files Browse the repository at this point in the history
…oyment-config

chore: update concurrency deployment config
  • Loading branch information
xingwanying authored Apr 8, 2024
2 parents 8bd1c8a + ac1fb86 commit eec45db
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 122 deletions.
8 changes: 4 additions & 4 deletions .aws/task_definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
{
"name": "xuexiao",
"image": "654654285942.dkr.ecr.ap-northeast-1.amazonaws.com/xuexiao:latest",
"cpu": "2048",
"memory": "8192",
"cpu": "1024",
"memory": "2048",
"portMappings": [
{
"name": "xuexiao-80-tcp",
Expand Down Expand Up @@ -86,8 +86,8 @@
"placementConstraints": [],
"compatibilities": ["EC2", "FARGATE"],
"requiresCompatibilities": ["FARGATE"],
"cpu": "2048",
"memory": "8192",
"cpu": "1024",
"memory": "2048",
"runtimePlatform": {
"cpuArchitecture": "X86_64",
"operatingSystemFamily": "LINUX"
Expand Down
116 changes: 0 additions & 116 deletions .github/workflows/aws-preview.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/aws-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:

env:
AWS_REGION: ap-northeast-1
ECR_REPOSITORY: xuexiao
ECR_REPOSITORY: ${{ env.ECR_REPOSITORY }}
ECR_REGISTRY: 654654285942.dkr.ecr.ap-northeast-1.amazonaws.com
ECS_CLUSTER: xuexiao
ECS_CLUSTER: ${{ env.ECS_CLUSTER }}

permissions:
id-token: write # This is required for requesting the JWT
Expand Down

0 comments on commit eec45db

Please sign in to comment.