diff --git a/automation/fluidity/leaderboard/.templates/dev_appspec.yml.j2 b/automation/fluidity/leaderboard/.templates/dev_appspec.yml.j2 deleted file mode 100644 index 0cc0f54ad..000000000 --- a/automation/fluidity/leaderboard/.templates/dev_appspec.yml.j2 +++ /dev/null @@ -1,13 +0,0 @@ -version: 0.0 -Resources: - - TargetService: - Type: AWS::ECS::Service - Properties: - TaskDefinition: {{ CONFIG.TASKDEFARN }} - LoadBalancerInfo: - ContainerName: {{ CONFIG.SERVICE_NAME }} - ContainerPort: 80 - PlatformVersion: "LATEST" - -Hooks: - - AfterAllowTraffic: "arn:aws:lambda:ap-southeast-2:{{ CONFIG.AWS_ACCOUNT_ID }}:function:{{ CONFIG.CODEDEPLOY_CACHE_PURGE_LAMBDA }}" diff --git a/automation/fluidity/leaderboard/.templates/ecs-compose.yml.j2 b/automation/fluidity/leaderboard/.templates/ecs-compose.yml.j2 deleted file mode 100644 index 848c842f4..000000000 --- a/automation/fluidity/leaderboard/.templates/ecs-compose.yml.j2 +++ /dev/null @@ -1,16 +0,0 @@ -version: '3' -services: - {{ CONFIG.SERVICE_NAME }}: - container_name: {{ CONFIG.SERVICE_NAME }} - image: {{ CONFIG.AWS_ACCOUNT_ID }}.dkr.ecr.{{ CONFIG.AWS_REGION }}.amazonaws.com/{{ CONFIG.DOCKER_IMAGE }}:{{ CONFIG.DOCKER_TAG }} - ports: - - 80:80 - logging: - driver: awslogs - options: - awslogs-group: {{ CONFIG.LOG_GROUP }} - awslogs-region: {{ CONFIG.AWS_REGION }} - awslogs-stream-prefix: {{ CONFIG.SERVICE_NAME }} - {% block environmentvariables %} - - {% endblock %} \ No newline at end of file diff --git a/automation/fluidity/leaderboard/.templates/ecs-params.yml.j2 b/automation/fluidity/leaderboard/.templates/ecs-params.yml.j2 deleted file mode 100644 index be01dbca3..000000000 --- a/automation/fluidity/leaderboard/.templates/ecs-params.yml.j2 +++ /dev/null @@ -1,31 +0,0 @@ -version: 1 -task_definition: - ecs_network_mode: {{ CONFIG.NETWORK_MODE }} - task_role_arn: arn:aws:iam::{{ CONFIG.AWS_ACCOUNT_ID }}:role/{{ CONFIG.TASK_ROLE }} - task_execution_role: arn:aws:iam::{{ CONFIG.AWS_ACCOUNT_ID }}:role/{{ CONFIG.TASK_EXECUTION_ROLE }} - task_size: - cpu_limit: {{ CONFIG.CPU_LIMIT }} - mem_limit: {{ CONFIG.MEM_LIMIT }} - services: - {{ CONFIG.SERVICE_NAME }}: - essential: true - {% block secrets %} - - {% endblock %} - {% block healthcheck %} - - {% endblock %} -run_params: - task_placement: - strategy: - - type: spread - field: attribute:ecs.availability-zone - network_configuration: - awsvpc_configuration: - subnets: - - {{ CONFIG.SUBNETA }} - - {{ CONFIG.SUBNETB }} - - {{ CONFIG.SUBNETC }} - security_groups: - - {{ CONFIG.SECURITY_GROUP }} - assign_public_ip: ENABLED \ No newline at end of file diff --git a/automation/fluidity/leaderboard/.templates/mainnet_appspec.yml.j2 b/automation/fluidity/leaderboard/.templates/mainnet_appspec.yml.j2 deleted file mode 100644 index 0cc0f54ad..000000000 --- a/automation/fluidity/leaderboard/.templates/mainnet_appspec.yml.j2 +++ /dev/null @@ -1,13 +0,0 @@ -version: 0.0 -Resources: - - TargetService: - Type: AWS::ECS::Service - Properties: - TaskDefinition: {{ CONFIG.TASKDEFARN }} - LoadBalancerInfo: - ContainerName: {{ CONFIG.SERVICE_NAME }} - ContainerPort: 80 - PlatformVersion: "LATEST" - -Hooks: - - AfterAllowTraffic: "arn:aws:lambda:ap-southeast-2:{{ CONFIG.AWS_ACCOUNT_ID }}:function:{{ CONFIG.CODEDEPLOY_CACHE_PURGE_LAMBDA }}" diff --git a/automation/fluidity/leaderboard/mainnet.yml b/automation/fluidity/leaderboard/mainnet.yml deleted file mode 100644 index a6849394b..000000000 --- a/automation/fluidity/leaderboard/mainnet.yml +++ /dev/null @@ -1,16 +0,0 @@ -SERVICES: - - FRONTEND: - SERVICE_NAME: leaderboard - DOCKER_IMAGE: leaderboard-frontend - DOCKERFILE_PATH: ./web/leaderboard - DEPLOYMENT_TYPE: CODEDEPLOY - CODEDEPLOY_WAIT_TIME: 60 #minutes - LOAD_BALANCER: flu-mainnet-leaderboard-alb - TARGET_GROUP_01: flu-mainnet-leaderboard-fe-tg - TARGET_GROUP_02: flu-mainnet-leaderboard-fe-tg-1 - CPU_LIMIT: 512 - MEM_LIMIT: 1024 - - DOCKER_ARGS: - SECRET_FLU_SENTRY_DSN: /fluidity/frontend/sentryURL - SECRET_GITHUB_TOKEN: /fluidity/npm/github_token