gcloud app deploy : This deployment has too many files

后端 未结 7 1964
無奈伤痛
無奈伤痛 2020-12-06 17:06

I got the below error, when I tried to deploy my GAE app through gcloud.

Updating service [default]...failed.                                                         


        
7条回答
  •  一生所求
    2020-12-06 17:36

    gcloud app deploy writes a log file, and tells you where that log is early in its output. Examine that log. It'll tell you what's being uploaded.

    Two common ways I've seen people get into trouble are

    1. Using virtualenv, but not adding venv (or .venv, if that's the name you picked) to skip_files.
    2. Using git, but forgetting to add .git to skip_files

提交回复
热议问题