-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Added cluster support for ECS and corrected status debug message #2045
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
Conversation
|
@vanhove, thanks for your PR! By analyzing the history of the files in this pull request, we identified @jfeala and @adamchainz to be potential reviewers. |
luigi/contrib/ecs.py
Outdated
|
|
||
| task_def_arn = luigi.Parameter(default=None) | ||
| task_def = luigi.Parameter(default=None) | ||
| cluster = luigi.Parameter(default=None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you update the above docstring to include this parameter and a description? (I don't use ECS, so perhaps this is obvious and unnecessary)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the docstring
|
Also, can you confirm that this replaces PR #1717 ? |
|
Afraid I'm useless as a reviewer, I barely know what luigi is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While this looks ok to me, I would like an ECS luigi user to confirm.
|
@jfeala Thanks for pointing that out. I pushed the change. |
|
@vanhove Thanks for your first github contribution! Sorry for such delay in merging! |
Description
Added luigi.Parameter for cluster to be able to use another cluster then the default one.
Fixed an issue with the status in debug message when following up running ECS tasks.
Motivation and Context
I needed support to run ECS tasks on other clusters then the default one.
Have you tested this? If so, how?
I ran my jobs with this code and it works for me.