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

Wait run to finish and exit code #84

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

Maks3w
Copy link
Contributor

@Maks3w Maks3w commented Feb 13, 2019

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

@Maks3w Maks3w force-pushed the wait-run-to-finish-and-exit-code branch from f5dd343 to 3e5a5b0 Compare February 13, 2019 12:43
@mhoglan
Copy link

mhoglan commented Mar 12, 2019

👍 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!

@Maks3w Maks3w force-pushed the wait-run-to-finish-and-exit-code branch 2 times, most recently from 48d8c56 to c408c39 Compare September 28, 2019 12:18
@Maks3w Maks3w force-pushed the wait-run-to-finish-and-exit-code branch from c408c39 to dea604c Compare September 29, 2019 21:18
@Maks3w Maks3w force-pushed the wait-run-to-finish-and-exit-code branch from dea604c to 92bd71b Compare September 29, 2019 23:04
@etiennecaldichouryatnapta

Would really appreciate to have this feature in the next release! Thank you for your work guys!

@nitrocode
Copy link
Contributor

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.

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.

None yet

5 participants