Scripts which are useful for automatic deploys of AppEngine code
Latest commit 1efe322 Nov 14, 2012 @crunchie84 crunchie84 compile script

README.md

This script deploys your application to Google AppEngine without user interaction needed. It does this by generating a script with your given parameters, executing it to upload your project and removing the batch file.

PREREQUIREMENTS

USAGE

  C:\projects\my-super-duper-project\releases\nant -buildfile:deploy-appengine.build.xml 
    -D:application-id={your-appid-in-appengine}
    -D:application-version=nightly-1.2.3 
    -D:appengine-username={google-username@gmail.com}
    -D:appengine-password={yourpassword}
    -D:uncompressed-project-war-path="C:\projects\my-super-duper-project\releases\my-super-duper-project-1.2.3\" 
    -D:gae-sdk-tools-path="C:\appengine-java-sdk\appengine-java-sdk-1.6.4.1"
    -D:set-default-version=true
  -D:set-default-version=true
  optional argument, default behaviour = false. When true will instruct AppEngine to start serving the just 
  deployed application as the default version.

SECURITY NOTE

Your password is saved to the batch file before execution and it is removed afterwards. If debugmode is enabled the script will not be removed. Your password will not be echo'ed to the Console.Out because multiple build servers capture the console output.

LICENSE

Original version by Mark van Straten - Q42.nl Sourcecode located at github.com - git@github.com:Q42/appengine-ci-scripts.git This software is kindly granted to the community and licensed under GNU GPL-3.0 - see supplied LICENSE.TXT for details

TODO

  • Make option for auto-publish this version as active version in appengine
  • Generate better replace rule for the version because AppEngine only allows letters,digits & hyphens
  • Figure out how we can delete the batchfile even if the deploy procedure failed.

REMARKS

  • This script does nothing to prevent you from reaching the max-version (10) limit of Google AppEngine.