3
3
branches :
4
4
- integ-tests
5
5
6
- env :
7
- AWS_REGION : us-west-2
8
- ECR_REPOSITORY : cdk-hnb659fds-container-assets-708414441733-us-west-2
9
- ECS_SERVICE : github-actions-deploy-task-def-integ-test
10
- ECS_CLUSTER : github-actions-deploy-task-def-integ-test
11
- ECS_TASK_DEFINITION : task-definition.json
12
- ECS_TASK_DEFINITION_RUN_TASK : task-definition-run-task.json
13
- CONTAINER_NAME : web
14
-
15
6
name : Integration Test
16
7
17
8
jobs :
37
28
- name : Deploy Amazon ECS task definition With Wait For Task Stopped Being False
38
29
uses : aws-actions/amazon-ecs-deploy-task-definition@1a69daea10712415b65b5c90f8c41b1b6b556ab5
39
30
with :
40
- task-definition : ${{ env.ECS_TASK_DEFINITION_RUN_TASK }}
41
- cluster : ${{ env.ECS_CLUSTER }}
31
+ task-definition : task-definition-run-task.json
32
+ cluster : github-actions-deploy-task-def-integ-test
42
33
run-task : true
43
34
run-task-subnets : subnet-e5604fce, subnet-fe9355b4, subnet-c49431bc, subnet-392f9b64
44
35
run-task-assign-public-IP : ENABLED
49
40
- name : Deploy Amazon ECS task definition With Wait For Task Stopped Being True
50
41
uses : aws-actions/amazon-ecs-deploy-task-definition@1a69daea10712415b65b5c90f8c41b1b6b556ab5
51
42
with :
52
- task-definition : ${{ env.ECS_TASK_DEFINITION_RUN_TASK }}
53
- cluster : ${{ env.ECS_CLUSTER }}
43
+ task-definition : task-definition-run-task.json
44
+ cluster : github-actions-deploy-task-def-integ-test
54
45
run-task : true
55
46
run-task-subnets : subnet-e5604fce, subnet-fe9355b4, subnet-c49431bc, subnet-392f9b64
56
47
run-task-assign-public-IP : ENABLED
61
52
- name : Deploy Amazon ECS task definition
62
53
uses : aws-actions/amazon-ecs-deploy-task-definition@1a69daea10712415b65b5c90f8c41b1b6b556ab5
63
54
with :
64
- task-definition : ${{ env.ECS_TASK_DEFINITION }}
65
- service : ${{ env.ECS_SERVICE }}
66
- cluster : ${{ env.ECS_CLUSTER }}
55
+ task-definition : task-definition.json
56
+ service : github-actions-deploy-task-def-integ-test
57
+ cluster : github-actions-deploy-task-def-integ-test
67
58
wait-for-service-stability : true
0 commit comments