Skip to content

Commit

Permalink
Merge pull request #343 from lucasvuotto/fix/ecs-awslogs-group
Browse files Browse the repository at this point in the history
Deploy improvements
  • Loading branch information
augustoIOV authored Jun 2, 2022
2 parents 0f3a39b + 9408ede commit 5028c4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .aws/task-definition.json → .aws/testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"containerDefinitions":[
{
"name":"rif-gateways-ccbridge-testnet",
"image":"094889878379.dkr.ecr.us-west-2.amazonaws.com/rif-wallet-services-dev:latest",
"image":"094889878379.dkr.ecr.us-west-2.amazonaws.com/rif-gateways-ccbridge:latest",
"logConfiguration":{
"logDriver":"awslogs",
"options":{
"awslogs-region":"us-west-2",
"awslogs-group":"rif-gateways-ccbridge",
"awslogs-stream-prefix":"rif-gateways"
"awslogs-group":"/ecs/rif-gateways-ccbridge",
"awslogs-stream-prefix":"testnet"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ on:
types: [published]

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

0 comments on commit 5028c4d

Please sign in to comment.