danilodeLuca / appengine-maven-plugin

Automatically exported from code.google.com/p/appengine-maven-plugin
Apache License 2.0
0 stars 0 forks source link

appengine-maven-plugin should support basic version management features #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
We are using six different environments for our app. In five of them every 
deploy creates a new version of the app. As an additional step after a each 
deployment, a developer has to
(1) change the default version and
(2) potentially remove an old version (since there can be only up to 10 
versions).

I would like to automate 1+2 as part of our deploy process. Can this be done 
through the appengine-maven-plugin? I have not seen this functionality in 
appCfg.sh yet. All teams using CI servers with automated deployments would 
benefit from a feature like this.

Original issue reported on code.google.com by ingo.jae...@gmail.com on 15 Aug 2013 at 10:06

GoogleCodeExporter commented 8 years ago
I also posted this issue here: 
https://code.google.com/p/googleappengine/issues/detail?id=9844 since it might 
be a limitation of appcfg.

Original comment by ingo.jae...@gmail.com on 15 Aug 2013 at 10:10

GoogleCodeExporter commented 8 years ago
From looking at the source it looks like I could do the following to change the 
default version.

$ mvn appengine:set_default_version 

Is that correct?

Original comment by ingo.jae...@gmail.com on 16 Aug 2013 at 4:02

GoogleCodeExporter commented 8 years ago
Ha i've dealt with this case for months now. I just add path to appcfg in my ci 
deployment to set default version and manually delete a few versions each 
deployment. I actually had made a python empty app because this functionality 
wasn't in the java sdk appcfg.

I also make use of replacer plugin when packaging on appengine-web.xml for 
individual appengine and version deployment.

You can now have more than 10 versions no need to delete them, not sure if this 
is officially stated somewhere but ever since the introduction of modules we 
can exceed this cap.

Original comment by i...@electionear.com on 20 Aug 2013 at 9:54