Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gcloud app deploy, flag to automate prompting?

Tags:

gcloud

Is it possible to do silent deployment when using gcloud app deploy

When I run the command gcloud app deploy ./deployment/app.yaml --version v1 its always prompting for

Do you want to continue (Y/n)? Y

how to automate this? is there any flag that we can pass in to mute this?

like image 945
Sahas Avatar asked Aug 10 '16 00:08

Sahas


2 Answers

You're looking for the --quiet flag, available across all gcloud commands:

$ gcloud --help
     --quiet, -q
    Disable all interactive prompts when running gcloud commands. If input
    is required, defaults will be used, or an error will be raised.
like image 80
Zachary Newman Avatar answered Nov 18 '22 03:11

Zachary Newman


    $ gcloud app deploy --quiet

Or also:

    $ gcloud app deploy -q
like image 3
Gonzalo García Hernández Avatar answered Nov 18 '22 02:11

Gonzalo García Hernández