I used in the past this kind of method:

1) Staging the project with the maven plugin:
appengine:stage

2) Deploy the staged directory directly with gcloud
 
*gcloud --quiet --log-http --verbosity debug app deploy 
"$staging_directory/app.yaml" --version $version --project $project*

If you need to display http logs and verbosity debug for testing, you can 
use this method (and you can wrap both commands in a single script)

Il giorno lunedì 14 agosto 2017 11:54:01 UTC+2, Joshua Fox ha scritto:
>
> How do we pass --log-http to gcloud when using the Cloud appengine-maven
> -plugin <https://github.com/GoogleCloudPlatform/app-maven-plugin> (
> com.google.appengine:gcloud-maven-plugin)?
>
> In an earlier question to the Google Group  
> <https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/google-appengine/wlqRz1npx4Q/0Ylra4tUAQAJ>we
>  
> asked about how we pass --verbosity=debug, and apparently the answer was 
> that the Maven plugin does not support that.
>
> If the Maven plugin does not support passing switches to gcloud, Is 
> Google planning to add that  ASAP? It seems like very basic functionality 
> for a Maven plugin whose whole job is to wrap gcloud.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ecd33aac-e9ee-4b50-bf9a-dac4209b0fa5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to