GoogleCloudPlatform / gradle-appengine-plugin

Gradle plugin that provides tasks for uploading, running and managing Google App Engine projects
Apache License 2.0
236 stars 60 forks source link

ManagedVM deployment with gradle? #225

Open Burtan opened 8 years ago

Burtan commented 8 years ago

Hi, is there already a way to deploy an appengine application to a managedVM via this gradle plugin? Best, Burtan

loosebazooka commented 8 years ago

So in the near future there will be a plugin based on gcloud instead of appcfg for deployments that should make it easier.

In the meantime, you should be about to deploy whatever is produced by the appengineStage task which normally outputs to build/staged-app using gcloud

gcloud preview app deploy build/staged-app/app.yaml

(https://cloud.google.com/sdk/gcloud/reference/preview/app/deploy) and setting <vm>true</vm> in your configuration (https://cloud.google.com/appengine/docs/java/managed-vms/)

Burtan commented 8 years ago

Thank you!

stephanos commented 8 years ago

6 months later ... any update on this?

mgenov commented 8 years ago

gcloud-maven-plugin is starting lib/gcloud.py as external process and passes different arguments which is similar to what gradle-appengine-plugin does.

It would be good if management is exposed as separate lib and used by both plugins.

@loosebazooka as you've marked this functionality as deprecated are you planning gradle-appengine-plugin to support and gcloud deployments ?

loosebazooka commented 8 years ago

You can try this new plugin : com.google.cloud.tools.appengine-gradle-plugin which were working on now for gcloud support. It's in beta but you're welcome to play around with it.

https://github.com/GoogleCloudPlatform/app-gradle-plugin

On Aug 7, 2016 11:19, "Miroslav Genov" notifications@github.com wrote:

gcloud-maven-plugin is starting lib/gcloud.py as external process and passes different arguments which is similar to what gradle-appengine-plugin does.

It would be good if management is exposed as separate lib and used by both plugins.

@loosebazooka https://github.com/loosebazooka as you've marked this functionality as deprecated are you planning gradle-appengine-plugin to support and gcloud deployments ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GoogleCloudPlatform/gradle-appengine-plugin/issues/225#issuecomment-238088298, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPo-jL1MoyS6E1PBCKEguTLAuh3NFUbks5qdfdvgaJpZM4HI1TS .

Burtan commented 8 years ago

Does this mean that this gradle--appengine-plugin will become deprecated?

loosebazooka commented 8 years ago

I believe that's the plan (there's a long deprecation period with any deprecation though, so it'll be supported for a while), we still have some gaps to close with the new plugin, but we're getting there.