Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does app engine have a Deploy Hook or Event?

I want to increase the version number on a model whenever there is a new deployment to the server. So the idea behind this is: Everytime there is a deployment I wanna run some code.

Is this possible within App Engine using hooks or events?

I'm using App Engine for Python.

like image 336
Sam Stoelinga Avatar asked Oct 13 '22 20:10

Sam Stoelinga


1 Answers

No.

However, you could get the desired behavior if you write your own deployment script. This script could be a thin wrapper around appcfg.py which makes a request to your app once the deployment is complete (the request handler can execute the logic you wanted to put in your "deploy hook").

like image 54
David Underhill Avatar answered Nov 12 '22 11:11

David Underhill