Appengine dispatch.yaml文件是否影响特定的模块版本? [英] Is Appengine dispatch.yaml file affecting a specific module version?
问题描述
我开始在我的python Google Appengine应用程序中使用模块。
我设法在本地(在dev服务器上)测试我的配置,一切工作正常。
我想在线版本上测试我的更改,但没有找到表明配送配置是否仅影响 的地方我知道 cron.yaml
并不是一个(或者是我的主要服务版本)(这很危险)。
版本特定的文件, dispatch.yaml
?
安装派生文件?
感谢
From 配置文件:
可选的应用程序级配置文件(
dispatch.yaml
,
cron.yaml
,index.yaml中
queue.yaml )包含在最上面的
级应用程序目录中。
因此,不能,您无法测试所有版本的所有 版本的文件更改
为了能够测试应用程序级别的配置文件更改,我使用完全单独的应用程序作为临时环境。
I am starting to use modules in my python Google Appengine app.
I managed to test my configuration locally (on the dev server) and everything is working fine.
I want to test my changes on a side version online and didn't find a place that states whether the dispatch configuration will affect only my side version or my main serving version also (that's dangerous).
I know that cron.yaml
is not a version specific file, how about dispatch.yaml
?
Is it safe to deploy a side version with a dispatch file?
Thanks
From Configuration Files:
Optional application-level configuration files (
dispatch.yaml
,cron.yaml
,index.yaml
, andqueue.yaml
) are included in the top level app directory.
So no, you can't test a dispatch.yaml
file change without affecting all versions of all your app's services/modules since it's an app-level configuration.
To be able to test app-level config file changes I'm using an entirely separate application as a staging environment.
这篇关于Appengine dispatch.yaml文件是否影响特定的模块版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!