-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
Wait run to finish and exit code #84
base: develop
Are you sure you want to change the base?
Conversation
f5dd343
to
3e5a5b0
Compare
👍 Just what I was looking for, this works great for multi mode binaries where one mode is a service but want to do adhoc tasks on the same task definition by overriding the command. Worked well in my local testing. Thanks! |
48d8c56
to
c408c39
Compare
c408c39
to
dea604c
Compare
dea604c
to
92bd71b
Compare
Would really appreciate to have this feature in the next release! Thank you for your work guys! |
This PR has some of the same commits as this PR https://github.com/fabfuel/ecs-deploy/pull/83/commits which has a pending review comment. It would be nicer if you cherry-pick this commit 92bd71b into this PR without including the other changes. |
This PR changes the default way of run to work
Actually run command just fire and forget the task.
This PR changes the behavior in two ways:
a. Wait for the task to finish (Same behavior as desploy task,
--timeout -1
do fire-and-forget`b. Returns and exit_code > 0 if any of the tasks returns with that value
This PR is on top of #83 and adds f5dd343