File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ aws --version
10
10
11
11
# for COMMAND in "api" "rq" "unicorn"
12
12
13
- jinja2 /deploy/ops/tasks/${ENV} /task_def.json.j2 -D branch=${CI_BRANCH} -D env=${ENV} -D command= ${COMMAND} > /task_def_ ${COMMAND} .json
13
+ jinja2 /deploy/ops/tasks/${ENV} /task_def.json.j2 -D branch=${CI_BRANCH} -D env=${ENV} > /task_def_kepler .json
14
14
15
- cat task_def_ ${COMMAND} .json
15
+ cat task_def_kepler .json
16
16
17
17
# Register a new version of the task defined in json and update
18
18
# the currently running instances
19
- aws ecs register-task-definition --cli-input-json file:///task_def_ ${COMMAND} .json
19
+ aws ecs register-task-definition --cli-input-json file:///task_def_kepler .json
20
20
21
- aws ecs update-service --cluster seven-park-${ENV} --service distro -${COMMAND} - ${ ENV} -service --task-definition distro- ${COMMAND} -${ENV} -td
21
+ aws ecs update-service --cluster seven-park-${ENV} --service kepler -${ENV} -service --task-definition kepler -${ENV} -td
Original file line number Diff line number Diff line change 24
24
}
25
25
],
26
26
"mountPoints": [],
27
- "memory": 2048 ,
27
+ "memory": 8192 ,
28
28
"volumesFrom": [],
29
29
"image": "084888172679.dkr.ecr.us-east-1.amazonaws.com/kepler:{{branch}}",
30
30
"essential": true,
31
31
"name": "kepler_{{env}}"
32
32
}
33
33
],
34
34
"executionRoleArn": "arn:aws:iam::084888172679:role/7p-kepler-{{env}}-ecs",
35
- "taskRoleArn": "arn:aws:iam::084888172679:role/7p-kepler-{{command}}-{{ env}}-ecs",
35
+ "taskRoleArn": "arn:aws:iam::084888172679:role/7p-kepler-{{env}}-ecs",
36
36
"family": "kepler-{{env}}-td",
37
37
"networkMode": "awsvpc",
38
38
"placementConstraints": [],
39
39
"requiresCompatibilities": [
40
40
"FARGATE"
41
41
],
42
42
"cpu": "1024",
43
- "memory": "2048 "
43
+ "memory": "4096 "
44
44
}
You can’t perform that action at this time.
0 commit comments