gcloud broken: does not honor --quiet

12 views
Skip to first unread message

Lorenz Leutgeb

unread,
Aug 28, 2015, 4:44:04 AM8/28/15
to google-cloud-sdk
Hello!

With gcloud preview app deploy now performing a remote build by default, the command does not respect gcloud --quiet anymore.

According to the usage output of gcloud, the option --quiet should "Disable all interactive prompts."

gcloud --quiet preview app deploy ...  will in some cases ask for a passphrase when generating some SSH key. This breaks scripts that depend on --quiet, i.e. do not provide input to gcloud.

A workaround is sending "\n\n" to standard input, but that's extremely ugly.

Sample output and version information is at https://gist.github.com/flowlo/a6028da72dd963f4d030

Lorenz

Andrew Jessup

unread,
Aug 28, 2015, 1:33:49 PM8/28/15
to google-cloud-sdk
Hey Lorenz, thanks for reporting this - would you mind adding your report to our public issue tracker? https://code.google.com/p/google-cloud-sdk/issues/list - that way we can keep you in touch with this specific issue more easily. 
Reply all
Reply to author
Forward
0 new messages