-
Notifications
You must be signed in to change notification settings - Fork 7
Add --host and --port flags for use in Docker. #33
base: master
Are you sure you want to change the base?
Add --host and --port flags for use in Docker. #33
Conversation
* When running in a separate docker container from the main Dredd process, the hooks server will need to listen on 0.0.0.0 for instance, and optionally on a different port.
LOL! i just saw this. will close mine 🤦♂️ |
Hi, thanks for the PRs! I'll take a look at them, it just might take some time as I neglected this part of the Dredd world for a while and I need to do some reading to get the full context - I think this feature was mentioned in apiaryio/dredd-hooks-template#11 and others. Also, it might make sense to finally update the dependencies here. As far as I remember, we got stuck on something with the updates previously. |
Thanks! For more context, we're just getting up and running w/ Dredd + OpenAPI v3 spec, but I do have this working perfectly in CircleCI now using my fork + stock Dredd docker image, e..g:
I've omitted the sections specific to running the |
Just to let you know I didn't forget about this - it actually prompted me to revisit the hook template (see apiaryio/dredd-hooks-template#23) and to get the Ruby hooks back into shape. That's something which is going to postpone merging this particular PR, but I think will be beneficial for everyone. We surely want this to get merged eventually. Meanwhile, would you be so awesome to look into the changes made by @rayzeller in the #34 and pick up the good ideas he had, like updating the docs etc.? No rush, as the above will take me some time. Thanks! |
@honzajavorek Thanks for the work on this! I went ahead and pulled in the docs changes from @rayzeller (thanks for that!) and added to this branch. Those changes do make some assumptions about a new release immediately after this PR is merged, so if that's not the plan, they should be adjusted accordingly. |
@petejohansonxo, curious can you provide any more info on your |
@rayzeller I can give you the broad strokes, in essence it looks like this:
And our HTH. |
FYI, one of the newer versions of |
@rayzeller Would you please file an issue here with some details on what doesn't work? We did quite some internal changes to Dredd lately and I'd like to avoid any regressions. BTW I'm still working on getting the Ruby hooks into a good shape, starting with #37, but it takes some time. I'm looking forward to unblock all this and get the |
@honzajavorek thanks for the response. i narrowed it down to https://github.com/apiaryio/dredd/releases/tag/v11.1.4. my configuration didn't require a |
What's the status on getting this reviewed and merged in? |
Dredd process, the hooks server will need to listen on 0.0.0.0
for instance, and optionally on a different port.