-
Notifications
You must be signed in to change notification settings - Fork 788
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
Prompt for un/pwd if not supplied with --creds #415
Prompt for un/pwd if not supplied with --creds #415
Conversation
Failure is due to:
|
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 👍
cmd/buildah/common.go
Outdated
"time" | ||
|
||
"golang.org/x/crypto/ssh/terminal" | ||
|
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.
Remove extra line.
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.
fixed
LGTM once yoiu fix the gofmt error. |
06015f1
to
0c6d02b
Compare
cmd/buildah/common.go
Outdated
@@ -148,14 +149,14 @@ func systemContextFromOptions(c *cli.Context) (*types.SystemContext, error) { | |||
|
|||
func parseCreds(creds string) (string, string, error) { | |||
if creds == "" { | |||
return "", "", errors.Wrapf(syscall.EINVAL, "credentials can't be empty") | |||
return "", "", nil |
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.
just noted we're always returning a nil error, I"m going to yank that out. New patch shortly.
8da7ef6
to
d302161
Compare
Signed-off-by: TomSweeneyRedHat <[email protected]>
d302161
to
7dc787a
Compare
Closing to reopen/retest. Travis is blowing up with a network error which I think is unrelated. |
Finally happy green buttons! |
📌 Commit 7dc787a has been approved by |
Signed-off-by: TomSweeneyRedHat <[email protected]> Closes: #415 Approved by: rhatdan
homu hasn't completed in 8 hours? |
💥 Test timed out |
closing to reopen/retest. homu timed out after 10+ hours. |
I just manually merge it when Humu is acting up. |
Fixs #256 |
Signed-off-by: TomSweeneyRedHat [email protected]
If either the username or password is not supplied with the --creds parameter for Buildah, the user will be prompted to input either or both of them. The value entered for the username is echo'd back to the user, the password is not.
Samples