File tree Expand file tree Collapse file tree 5 files changed +4
-271
lines changed Expand file tree Collapse file tree 5 files changed +4
-271
lines changed Original file line number Diff line number Diff line change @@ -137,6 +137,7 @@ jobs:
137
137
with :
138
138
name : ${{ inputs.environment }}-good-job-task-definition
139
139
path : ${{ steps.create-good-job-task-definition.outputs.task-definition }}
140
+
140
141
approve-deployments :
141
142
name : Wait for approval if required
142
143
runs-on : ubuntu-latest
@@ -169,16 +170,12 @@ jobs:
169
170
uses : aws-actions/amazon-ecs-deploy-task-definition@v2
170
171
with :
171
172
task-definition : ${{ needs.prepare-deployment.outputs.web-task-definition-path }}
172
- - name : Create appspec.yml
173
- run : |
174
- cp config/templates/appspec.yaml.tpl appspec.yaml
175
- sed -i 's|<TASK_DEFINITION_ARN>||g' appspec.yaml
176
173
- name : Deploy web service with CodeDeploy
177
174
id : deploy-web-service
178
175
uses : aws-actions/amazon-ecs-deploy-task-definition@v2
179
176
with :
180
177
task-definition : ${{ needs.prepare-deployment.outputs.web-task-definition-path }}
181
- codedeploy-appspec : appspec.yaml
178
+ codedeploy-appspec : config/templates/ appspec.yaml
182
179
cluster : ${{ env.cluster_name }}
183
180
service : mavis-${{ inputs.environment }}-web
184
181
codedeploy-application : mavis-${{ inputs.environment }}
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ environments:
30
30
sandbox-beta :
31
31
RAILS_ENV : staging
32
32
SENTRY_ENVIRONMENT : sandbox-beta
33
- TEST_KEY : test-value
33
+ TEST : TEST
34
34
35
35
# Tunable Variables Configuration
36
36
# This section specifies environment-specific variables that will be populated into the SSM parameter store
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Resources:
10
10
- TargetService :
11
11
Type : AWS::ECS::Service
12
12
Properties :
13
- TaskDefinition: "< TASK _DEFINITION_ARN > "
13
+ TaskDefinition : " "
14
14
LoadBalancerInfo :
15
15
ContainerName : " application"
16
16
ContainerPort : " 4000"
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments