|
20 | 20 |
|
21 | 21 | - name: Print current build ID |
22 | 22 | run: | |
23 | | - echo Integration test run: githubactionsamazonecsdeplo-NWcjHIgDJLXw:fc351f9e-8675-4597-ad0a-2474408cd183 |
| 23 | + echo Integration test run: githubactionsamazonecsdeplo-NWcjHIgDJLXw:a5e92b9a-1e22-47d6-8874-ed717856c20e |
24 | 24 |
|
25 | 25 | - name: Configure AWS credentials |
26 | 26 | uses: aws-actions/configure-aws-credentials@v4 |
|
30 | 30 | aws-region: us-west-2 |
31 | 31 |
|
32 | 32 | - name: Deploy Amazon ECS task definition with one-off task and wait for task stopped set to false |
33 | | - uses: aws-actions/amazon-ecs-deploy-task-definition@cc7d054d9dcfe5d3264f391b0562aa84486781f4 |
| 33 | + uses: aws-actions/amazon-ecs-deploy-task-definition@c465972ecbd160473f22e683363b422a5412a3de |
34 | 34 | with: |
35 | 35 | task-definition: task-definition-run-task.json |
36 | 36 | cluster: github-actions-deploy-task-def-integ-test |
|
42 | 42 | wait-for-task-stopped: false |
43 | 43 |
|
44 | 44 | - name: Deploy Amazon ECS task definition with one-off task and wait for task stopped set to true |
45 | | - uses: aws-actions/amazon-ecs-deploy-task-definition@cc7d054d9dcfe5d3264f391b0562aa84486781f4 |
| 45 | + uses: aws-actions/amazon-ecs-deploy-task-definition@c465972ecbd160473f22e683363b422a5412a3de |
46 | 46 | with: |
47 | 47 | task-definition: task-definition-run-task.json |
48 | 48 | cluster: github-actions-deploy-task-def-integ-test |
|
57 | 57 | - name: Deploy bad image to test rollback detection |
58 | 58 | id: bad-deploy |
59 | 59 | continue-on-error: true |
60 | | - uses: aws-actions/amazon-ecs-deploy-task-definition@cc7d054d9dcfe5d3264f391b0562aa84486781f4 |
| 60 | + uses: aws-actions/amazon-ecs-deploy-task-definition@c465972ecbd160473f22e683363b422a5412a3de |
61 | 61 | with: |
62 | 62 | task-definition: task-definition-bad-image.json |
63 | 63 | service: github-actions-deploy-task-def-integ-test |
|
73 | 73 | echo "Rollback correctly detected" |
74 | 74 |
|
75 | 75 | - name: Deploy Amazon ECS task definition with ECS Service |
76 | | - uses: aws-actions/amazon-ecs-deploy-task-definition@cc7d054d9dcfe5d3264f391b0562aa84486781f4 |
| 76 | + uses: aws-actions/amazon-ecs-deploy-task-definition@c465972ecbd160473f22e683363b422a5412a3de |
77 | 77 | with: |
78 | 78 | task-definition: task-definition.json |
79 | 79 | service: github-actions-deploy-task-def-integ-test |
|
82 | 82 | enable-ecs-managed-tags: true |
83 | 83 |
|
84 | 84 | - name: Deploy Amazon ECS task definition with ECS Service VolumeConfiguration |
85 | | - uses: aws-actions/amazon-ecs-deploy-task-definition@cc7d054d9dcfe5d3264f391b0562aa84486781f4 |
| 85 | + uses: aws-actions/amazon-ecs-deploy-task-definition@c465972ecbd160473f22e683363b422a5412a3de |
86 | 86 | with: |
87 | 87 | task-definition: task-definition-volume-configuration.json |
88 | 88 | service: github-actions-deploy-task-def-integ-test |
|
93 | 93 | service-managed-ebs-volume: '{"filesystemType":"xfs","roleArn":"arn:aws:iam::${{secrets.AWS_ACCOUNT_ID}}:role/GitHubActionsVolumeConfigurationsEBSRole","encrypted":false,"sizeInGiB":30}' |
94 | 94 |
|
95 | 95 | - name: Deploy Amazon ECS task definition with one-off task and VolumeConfiguration |
96 | | - uses: aws-actions/amazon-ecs-deploy-task-definition@cc7d054d9dcfe5d3264f391b0562aa84486781f4 |
| 96 | + uses: aws-actions/amazon-ecs-deploy-task-definition@c465972ecbd160473f22e683363b422a5412a3de |
97 | 97 | with: |
98 | 98 | task-definition: task-definition-run-task-volume-configuration.json |
99 | 99 | cluster: github-actions-deploy-task-def-integ-test |
|
0 commit comments