Skip to content

Commit 4c28086

Browse files
authored
chore: Integration tests for one-off task added missing input (aws-actions#597)
* update tasks only feature * new integration tests * new integration tests with env variables defined * updated inputs * updated cluster inputs * updated region * Update test-workflow.yml * updated subnet values * updated values to link to my subnets, repo, cluster, and my service * update security group * modified workflow to add public IP and task definition with proper inputs * new task def file and yaml file changes * updated task def run task file with different container information * updated task def run task file with new cpu * new changes for integ tests with deploy task def credentials * updating task definition * updating env variables to inputs * updated region * updated env to both workflow files * removing env block * removing old commit and using commit from offical deploy repo * new echo integ test run no. * update original task definition * remove public IP input * keep only basic run task inputs * original inputs and different security group * final changes * made changes from comments * Delete .idea/.gitignore * Delete .idea/vcs.xml * Delete .idea/amazon-ecs-deploy-task-definition.iml * Delete .idea/inspectionProfiles/Project_Default.xml * Delete .idea/misc.xml * Delete .idea/modules.xml * clearer description name of each test * updating task definition name * updating task definition name * adding assign public IP as input and changing task def names
1 parent e7a19b2 commit 4c28086

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/test-workflow.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
cluster: github-actions-deploy-task-def-integ-test
3333
run-task: true
3434
run-task-subnets: subnet-e5604fce, subnet-fe9355b4, subnet-c49431bc, subnet-392f9b64
35+
run-task-assign-public-IP: ENABLED
3536
run-task-security-groups: sg-067ebcde49c0f3ad8
3637
run-task-launch-type: FARGATE
3738
wait-for-task-stopped: false
@@ -43,6 +44,7 @@ jobs:
4344
cluster: github-actions-deploy-task-def-integ-test
4445
run-task: true
4546
run-task-subnets: subnet-e5604fce, subnet-fe9355b4, subnet-c49431bc, subnet-392f9b64
47+
run-task-assign-public-IP: ENABLED
4648
run-task-security-groups: sg-067ebcde49c0f3ad8
4749
run-task-launch-type: FARGATE
4850
wait-for-task-stopped: true

test-workflow.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
cluster: github-actions-deploy-task-def-integ-test
3333
run-task: true
3434
run-task-subnets: subnet-e5604fce, subnet-fe9355b4, subnet-c49431bc, subnet-392f9b64
35+
run-task-assign-public-IP: ENABLED
3536
run-task-security-groups: sg-067ebcde49c0f3ad8
3637
run-task-launch-type: FARGATE
3738
wait-for-task-stopped: false
@@ -43,6 +44,7 @@ jobs:
4344
cluster: github-actions-deploy-task-def-integ-test
4445
run-task: true
4546
run-task-subnets: subnet-e5604fce, subnet-fe9355b4, subnet-c49431bc, subnet-392f9b64
47+
run-task-assign-public-IP: ENABLED
4648
run-task-security-groups: sg-067ebcde49c0f3ad8
4749
run-task-launch-type: FARGATE
4850
wait-for-task-stopped: true

0 commit comments

Comments
 (0)