-
-
Notifications
You must be signed in to change notification settings - Fork 585
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 basic-auth flag to ngrok #4719
Conversation
Download the artifacts for this pull request: |
The docs failure is a result of move from buildkite.com/drud to buildkite.com/ddev. Not to worry. Fix is in |
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.
It looks to me like the fundamental problem is that #3875 didn't make any sense. It dealt with the DDEV args instead of dealing with the ngrok args.
It might make sense to revert #3875 first, although that's what made you think this should work I think right?
@tyler36 could you take another look at this?
I personally prefer If no one has noticed in almost a year that |
I agree, let's let @tyler36 weigh in and then we'll go forward. I'll need you to lead and test because I turned off the paid subscription after they hiked it so very much. I definitely think we should be exploring use of cloudflare or other possibilities too. |
Alright, in the meantime I prepared #4766. I don't have a paid ngrok account myself, but I assume it works, because it gives me a legit error:
|
Works as intended. TestCurrent
This PR
Global config
Works as intended. However, AlternativeAdd a NGROK helper command (
|
Yeah, that's a really good argument. I rebased and added my changes from another PR, as some of the command descriptions were out of date. I've also moved the required ngrok account information to the top because people tend to pay attention to what's written first. |
Co-authored-by: Matt Stein <m@ttste.in>
@rfay it is ready, the only thing that has changed since @tyler36 review is the output of If that's okay with you, let's merge 🚀 Alternative PR #4766 with revert should be closed. |
Thanks, will certainly get to it. Sorry I'm slow, backed up on many things and have been gone for several days. I don't want to merge until I manually test it. Thanks so much for this! |
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.
This looks and works great, thanks for all the work on it!
Looks like you already took a pass at this @mattstein but it may have changed since then. |
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.
Looks good to me!
The Issue
The documentation includes an example for ngrok:
# Share the current project using ngrok’s basic-auth argument ddev share --basic-auth username:pass1234
The same example is provided by the
ddev help
command:But when you run it:
How This PR Solves The Issue
Adds
--basic-auth
flag to theddev share
command.Manual Testing Instructions
Related Issue Link(s)
The same functionality can be achieved by running:
ddev config --ngrok-args '--basic-auth username:pass1234' ddev share