FreedomBen / dory

Your development proxy for docker
MIT License
156 stars 24 forks source link

Non-zero exit code on status if dory isn't totally "up" #15

Open ryanmt opened 7 years ago

ryanmt commented 7 years ago

Alias ps=>status for docker-like behavior hidden in here as well.

I welcome feedback on the error code pattern. I wanted to make it a "means the number of services down" but figured it didn't actually matter as long as it was easier to script against, for my purposes.

ryanmt commented 7 years ago

Ah, specs! I'll go poke at those and testing the exit codes, also track if there's some value in delaying the exit as well.

FreedomBen commented 7 years ago

Nice, thanks man! I like it.

I can take a look at the spec in more detail tomorrow. I just glanced at it and it seems like the spec may just need to be updated for the new exit status, tho I'm not 100% sure on that yet.

FreedomBen commented 6 years ago

Yo @ryanmt , you still want to merge this? I totally spaced it and randomly remembered. I looked at the test failure and it's not a big deal. I can refactor it to accommodate the new exit status. Sorry it took freaking forever. Is this still useful?

tripox commented 3 years ago

I think this could be useful, @FreedomBen.