Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(task): run task in provided subnets and security groups #1145

Merged
merged 2 commits into from
Jul 15, 2020

Conversation

Louise15926
Copy link
Contributor

This PR implements a task runner that runs tasks in user provided subnets and security groups.

Related #702

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@piradeepk piradeepk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it! 💯 Looks great!

Copy link
Contributor

@efekarakus efekarakus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 yayayay

m.EXPECT().DefaultCluster().Return("cluster-1", nil)
},
mockStarter: func(m *mocks.MocktaskRunner) {
m.EXPECT().RunTask(ecs.RunTaskInput{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: we can use gomock.Any() here for the failure scenario since the test case tests the behavior of what happens on any run task err.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

! will address this in the next PR on task package

@mergify mergify bot merged commit 8948838 into aws:master Jul 15, 2020
@Louise15926 Louise15926 deleted the task/config-runner branch July 16, 2020 16:13
Louise15926 pushed a commit to Louise15926/amazon-ecs-cli-v2 that referenced this pull request Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants