original inputs and different security group #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- integ-tests | |
name: Integration Test | |
jobs: | |
deploy: | |
name: Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Print current build ID | |
run: | | |
echo Integration test run: githubactionsamazonecsdeplo-NWcjHIgDJLXw:b758d9f2-aea6-4592-906f-aae8754d98b4 | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws-region: us-west-2 | |
- name: Deploy Amazon ECS task definition With Wait For Task Stopped Being False | |
uses: aws-actions/amazon-ecs-deploy-task-definition@b3a528eb690c86037acd19fd6a2a86337f4e3657 | |
with: | |
task-definition: task-definition-run-task.json | |
cluster: github-actions-deploy-task-def-integ-test | |
run-task: true | |
run-task-subnets: subnet-e5604fce, subnet-fe9355b4, subnet-c49431bc, subnet-392f9b64 | |
run-task-security-groups: sg-148d093a | |
run-task-launch-type: FARGATE | |
wait-for-task-stopped: false | |
- name: Deploy Amazon ECS task definition With Wait For Task Stopped Being True | |
uses: aws-actions/amazon-ecs-deploy-task-definition@b3a528eb690c86037acd19fd6a2a86337f4e3657 | |
with: | |
task-definition: task-definition-run-task.json | |
cluster: github-actions-deploy-task-def-integ-test | |
run-task: true | |
run-task-subnets: subnet-e5604fce, subnet-fe9355b4, subnet-c49431bc, subnet-392f9b64 | |
run-task-security-groups: sg-148d093a | |
run-task-launch-type: FARGATE | |
wait-for-task-stopped: true | |
- name: Deploy Amazon ECS task definition | |
uses: aws-actions/amazon-ecs-deploy-task-definition@b3a528eb690c86037acd19fd6a2a86337f4e3657 | |
with: | |
task-definition: task-definition.json | |
service: github-actions-deploy-task-def-integ-test | |
cluster: github-actions-deploy-task-def-integ-test | |
wait-for-service-stability: true |