504

GitLab CI Runner Artifacts Size Error: ''Too Large Archive&#...

 5 years ago
source link: https://www.tuicool.com/articles/hit/uUnqem6
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

As part of putting together a GitLab CI pipeline to build a Python deployment for AWS Lambda, I ran into an issue with the size of the build dir that I'm zipping up ready for deployment:

Uploading artifacts...
./build: found 2543 matching files 
ERROR: Uploading artifacts to coordinator... too large archive id=181 responseStatus=413 Request Entity Too Large status=413 Request Entity Too Large token=rtRUzgtp
FATAL: Too large

Hmm. OK. A quick search found this post , which says there's a setting to increase the max build artifact size — it's under /admin/application_settings, in the Continuous Integration setting — looks like the default is 100MB, so let's bump that up and try again:

ER7zmyE.png!web

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK