File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
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 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": [],
You can’t perform that action at this time.
0 commit comments