It's just a bit of script. This is from memory, but the logic should hold.

 

 

appcfg.py update sandboxapp

//bwcurl is my curl command that I use for firing the test app

//Test app compares expected outputs vs actual output on a long list of
functions

// if the test run passes you get a "pass" result

bwcurl http://testversion.testapp.appspot.com/testseries1

 

Once the Release Manager is satisfied that the First test series has run and
is passed sets the default App to the new version in the dashboard, and runs
the curl aginst that version.  Once satisfied the next script runs

 

appcfg.py download_app -A sandboxapp -V <application-version>
tempapplicationholder

//appnamer does a rename of the app to the LiveLimited Production version

Appnamer predeployment

appcfg.ph update tempapplicationholder

bwcurl http://testversion.predeployment.appspot.com/testseries1

 

Once the Release Manager is satisfied that the First test series has run and
is passed sets the default App to the new version in the dashboard, and runs
the curl aginst that version.  We bake the release for a few days of
realworld traffic then.

 

appcfg.py download_app -A predeployment -V <application-version>
deploymentapplicationholder

//appnamer does a rename of the app to the LiveLimited Production version

Appnamer production

appcfg.ph update deploymentapplicationholder

bwcurl http://testversion.deployment.appspot.com/testseries1

 

Once the release manager is satisfied it is ready for release they make the
app live in the dashboard, run the test pass one more time, and every thing
continues on.

 

The re-download of the deployed code may not seem necessary but it does mean
that files don't sit around for weeks between rounds which is a really
crappy security system but it does reduce the chance that what you tested,
and what you push forward is the same thing exactly.

 

 

 

 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of GordonHo
Sent: Thursday, November 17, 2011 6:46 PM
To: [email protected]
Subject: Re: [google-appengine] Git Deploy

 

hi brandon,

 

i am curious - is your system a custom solution or available to others?

 

i've been looking for something like this for appengine, but never had the
time to write something and haven't found something.

 

cheers

 

gordon

-- 
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/c6yfOakb1FwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to