gcloud app deploy:该部署文件过多-如何判断这10k +文件是什么? [英] gcloud app deploy : This deployment has too many files - How do tell what these 10k+ files are?

查看:117
本文介绍了gcloud app deploy:该部署文件过多-如何判断这10k +文件是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关注最多 gcloud应用程序部署:此部署文件过多 我正在尝试将我的App Engine标准应用程序部署到Google Cloud,但是却收到一条错误消息,提示我正在尝试下载太多文件:

Follow up to gcloud app deploy : This deployment has too many file I am trying to deploy my App Engine Standard app to Google Cloud, but I get an error saying that I am trying to download too many files:

This deployment has too many files. New versions are limited to 10000 files for this app.

我只更改了4个文件,但似乎试图下载更多文件.

I have only changed 4 files, but it seems to trying to download a whole lot more.

如何确定部署中包含的这10k文件是什么,以便可以开始在app.yamlskip_files中排除它们?

How do I find out what these 10k files are that are being included in my deploy so I can start excluding them in my skip_files in app.yaml?

推荐答案

使用:

gcloud meta list-files-for-upload

这仅考虑您的.gcloudignore,您不能将其与skip_files结合使用.

This only takes into account your .gcloudignore, which you cannot use in conjunction with skip_files.

建议将skip_files忽略模式转换为.gcloudignore文件.请参见 https://cloud.google.com/sdk/gcloud/reference/topic /gcloudignore 了解有关.gcloudignore的更多信息.

It is recommended that you translate your skip_files ignore patterns to your .gcloudignore file. See https://cloud.google.com/sdk/gcloud/reference/topic/gcloudignore for more information about .gcloudignore.

这篇关于gcloud app deploy:该部署文件过多-如何判断这10k +文件是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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