简体   繁体   English

将特定的项目文件复制到Google App Engine

[英]Copy specific project files to Google App Engine

I have a Python project running on Google App Engine. 我有一个在Google App Engine上运行的Python项目。 My APNS certs are expiring and I would just like to replace those specific cert files. 我的APNS证书即将到期,我只想替换那些特定的证书文件。 I am struggling to find a way to do that with gcloud. 我正在努力寻找一种使用gcloud做到这一点的方法。 Is it possible to deploy just these two files to my project rather than all project files? 是否可以仅将这两个文件而不是所有项目文件部署到我的项目中?

Not really, or at least not guaranteed. 不是真的,或者至少不能保证。

Neither gcloud nor the GAE-SDK's appcfg.py support specifying a subset of the app service's files (besides a few app-level config files shared by all of the app's services which can be deployed individually/independently). gcloud或GAE-SDK的appcfg.py均不支持指定应用程序服务文件的子集(除了可由所有应用程序服务共享的几个应用程序级配置文件 ,这些文件可以单独/独立部署)。 The smallest deployable unit you can only specify is an app's service and the deployment utility will attempt to bring all the services' file up to date. 您只能指定的最小可部署单元是应用程序的服务,部署实用程序将尝试使所有服务的文件保持最新状态。

But the files you're interested in might be the only files being actually uploaded if they are the only files changed since the last deployment of the service. 但是,如果您感兴趣的文件是自上次部署服务以来唯一更改的文件,则它们可能是实际实际上传的唯一文件。 But that is not guaranteed. 但这并不能保证。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM