-
Notifications
You must be signed in to change notification settings - Fork 3.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
RFC: add -connection-info flag to build command #5107
Comments
+1 |
+1. This would compliment -on-error=abort/ask nicely, since without the ephemeral ssh key used for remote builds, you're stuck trying to debug without other workarounds. |
👍 |
Going to start working on this now.. |
Hi, are there any updates on this feature? Sorry if I sound impatient, but I'm really looking forward to it.. :) |
Got a bit derailed, but I'm on it again. Hopefully I can publish a initial version that can be tested on some builders tomorrow. |
@justinmetz I dumped a initial WIP version which works with the |
I saw that "WIP: Basic support for -connection-info flag #6863" has been closed. So is the Not yet in |
I closed it because it had been an open WIP PR for a year with no further work. It's not merged, but much of the connection info can now be printed using the build template engine. |
I think there's still a need to be able to show the connection details (eg. password) prior to getting to the point of being able to use the build template engine. Let's consider the scenario when we need to debug winrm communicator failures in the The I thought |
Are there any updates on this? Currently, I'm using |
The following page might be helpful to get connection info. |
Anything specific? I took a quick look and only found this:
while the OP asked for "prints out connection details, passwords, and private keys, etc" |
Yeah I'm not proposing this as a solution but as a work around to echo the |
I'm reading these tickets, and I see huge discussions about this, but all people were asking is to have same exact behavior as
That's it. All the
|
right on!! |
😂 |
Hello, is there any update on this? Was thinking this would be nice to have whilst debugging builds without having to constantly press enter. |
We could add a new flag to the build command, say
-connection-info
which prints out connection details, passwords, and private keys, etc in the same way as debug does but without the confirmation of each step and disabling of parallelism.
-debug
would implicitly enable this.The code changes would be very easy.
Closes #3885
The text was updated successfully, but these errors were encountered: