Can I deploy one GAE application from another GAE application?

To redeploy the GAE application, I currently need to install the GAE deployment tools on the system I use for deployment. Although this process is relatively straightforward, the deployment process is a manual process that does not work due to the firewall, and the deployment tools must be installed on each computer that will be used to update GAE applications. A more ideal solution would be if I could update the GAE application from another GAE application that I deployed earlier. This eliminates the need for multiple systems configured for application deployment.

Since the GAE deployment tools are written in Python and the GAE App Engine supports Python, is it possible to modify appcfg.py to work from GAE? A use case is to pull a project from GitHub or some other online repository and update one GAE application from another GAE application. If this is not possible, then what is the limit?

+3
source share
3 answers

Is it possible? Yes. The appcfg protocol used to update applications is completely HTTP-based, so there is absolutely no reason why you could not write an application that can deploy other applications (or redistribute itself - self-modifying code)! You can even reuse large parts of appcfg.py for this.

? . , , appcfg, RPC, , - . , , - , , , , .

+5

, sdk python GAE. HTTP, , . - , , GAE.

+2

?

, , , .

, , GAE, , VCS, .

, GAE .

, GAE, SDK , , .

, , :

  • "updater" SDK, , ( script) .

  • Amazon EC2, , , op 1 .

, , . ( SDK , )

0

Source: https://habr.com/ru/post/1717104/


All Articles