-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Add docker compose wait
#10742
Add docker compose wait
#10742
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## v2 #10742 +/- ##
==========================================
+ Coverage 59.03% 59.11% +0.07%
==========================================
Files 113 115 +2
Lines 9774 9844 +70
==========================================
+ Hits 5770 5819 +49
- Misses 3419 3435 +16
- Partials 585 590 +5
☔ View full report in Codecov by Sentry. |
83e832b
to
57efbea
Compare
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.
LGTM!
One more thing, what do you think about adding a e2e or cuke test? |
this new command deserves an e2e tests (says the guy who never writes tests :P) |
@ndeloof @nicksieger The idea was to validate the concept first (that's the reason the draft). I'll write the tests now. |
}, | ||
} | ||
|
||
cmd.Flags().BoolVar(&opts.downProject, "down-project", false, "Drops project when the first container stops") |
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.
For now I just added this --down-project
. But I can imagine having a stop-project
or stop-services
, only stopping the services we enumerated in the wait
bb1d8a2
to
2ba1ed5
Compare
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
What I did
Add
wait
commandRelated issue
Resolves #10395
(not mandatory) A picture of a cute animal, if possible in relation to what you did