将特定的项目文件复制到Google App Engine [英] Copy specific project files to Google App Engine

查看:136
本文介绍了将特定的项目文件复制到Google App Engine的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在Google App Engine上运行的Python项目。我的APNS证书即将过期,我只想替换这些特定的证书文件。我正在努力寻找一种方法来与gcloud做到这一点。是否有可能将这两个文件部署到我的项目而不是所有的项目文件? 解决方案

不是真的,或者至少不是保证。



既不是 gcloud ,也不是GAE-SDK的 appcfg.py 支持指定应用程序服务文件的一个子集(除几个应用程序级配置文件共享的应用程序的所有服务,可以单独/独立部署)。您只能指定的最小可部署单元是应用程序的服务,部署实用程序会尝试将所有服务的文件更新。



但是,如果它们是自上次部署服务以来更改的唯一文件,那么对 感兴趣的可能是实际上传的唯一文件。但不保证。


I have a Python project running on Google App Engine. My APNS certs are expiring and I would just like to replace those specific cert files. I am struggling to find a way to do that with 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). 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.

这篇关于将特定的项目文件复制到Google App Engine的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆