ScottK
ScottK

Reputation: 1556

gcloud app deploy : This deployment has too many files - How do tell what these 10k+ files are?

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.

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

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?

Upvotes: 1

Views: 744

Answers (1)

Dustin Ingram
Dustin Ingram

Reputation: 21520

Use:

gcloud meta list-files-for-upload

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

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.

Upvotes: 5

Related Questions