Skip to content

Commit 5028c4d

Browse files
authored
Merge pull request #343 from lucasvuotto/fix/ecs-awslogs-group
Deploy improvements
2 parents 0f3a39b + 9408ede commit 5028c4d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.aws/task-definition.json .aws/testnet.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
"containerDefinitions":[
1111
{
1212
"name":"rif-gateways-ccbridge-testnet",
13-
"image":"094889878379.dkr.ecr.us-west-2.amazonaws.com/rif-wallet-services-dev:latest",
13+
"image":"094889878379.dkr.ecr.us-west-2.amazonaws.com/rif-gateways-ccbridge:latest",
1414
"logConfiguration":{
1515
"logDriver":"awslogs",
1616
"options":{
1717
"awslogs-region":"us-west-2",
18-
"awslogs-group":"rif-gateways-ccbridge",
19-
"awslogs-stream-prefix":"rif-gateways"
18+
"awslogs-group":"/ecs/rif-gateways-ccbridge",
19+
"awslogs-stream-prefix":"testnet"
2020
}
2121
}
2222
}

.github/workflows/testnet.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ on:
55
types: [published]
66

77
env:
8-
AWS_REGION: us-west-2
8+
AWS_REGION: ${{ secrets.AWS_REGION }}
99
ECR_REPOSITORY: rif-gateways-ccbridge
1010
ECS_SERVICE: ccbridge_services_testnet # set this to your Amazon ECS service name
1111
ECS_CLUSTER: rif-gateways-ccbridge # set this to your Amazon ECS cluster name
12-
ECS_TASK_DEFINITION: .aws/task-definition.json # set this to the path to your Amazon ECS task definition
12+
ECS_TASK_DEFINITION: .aws/testnet.json # set this to the path to your Amazon ECS task definition
1313
# file, e.g. .aws/task-definition.json
1414
CONTAINER_NAME: rif-gateways-ccbridge-testnet # set this to the name of the container in the
1515
# containerDefinitions section of your task definition

0 commit comments

Comments
 (0)