Our GAE doesnt not currently declare any modules, and we'd like to convert it, as described here, and then add a 2nd module, for doing backend work
I'm confused about how I can test the new modular configuration in a testing environment (i.e. a testing 'version') w/o the module declarations leaking into our default version (called 'prod'). Our normal development process is to deploy new code to a test version. e.g. in app.yaml
we change:
version: prod
to
version: testing
..and then deploy. Once it's working we switch back to version: prod
and deploy again. However, as the docs explain it, versions now belong to modules:
So when I want to test having a 2nd module, it seem that the declaration of the module is above the scope of the 'version', and therefore might have affects on other versions (e.g. 'prod'). For example, I previously deployed to app engine with this app.yaml
application: simple-sample
version: prod
runtime: python27
Then I reconfigure my app to use a 'worker' module, and I have two yaml files:
app.yaml
application: simple-sample
version: testing
runtime: python27
and worker.yaml
application: simple-sample
module: worker
version: testing
runtime: python27
When I deploy that code, is it going to have any effect on the version currently running as 'prod'? I.e. will 'prod' now be aware of the modules? Based on the above diagram, it seems that it would, but if that's the case, I can't see how I can test my conversion.