We’re having having issues with the pipeline which fails at install-webapp, getting this error message every time we push some code:
" Uploading artifacts…
node_modules: found 229096 matching files and directories
ERROR: Uploading artifacts as “archive” to coordinator… too large archive id=1311930407 responseStatus=413 Request Entity Too Large status=413 token=izCgLj1Y
FATAL: too large
Cleaning up file based variables00:01
ERROR: Job failed: exit code 1"
We tried to go on the Admin Area > Settings > CI/CD to up the Max Artifacts Size (as seen in other articles) but we don’t seem to have access to it
We are using GitLab.com, version 14
CI configuration:
image: node:15.14
cache:
paths:
- .yarn
- node_modules/
variables:
APP_VERSION: placemeet-${CI_COMMIT_SHORT_SHA}
stages:
- install
- quality-gate
- build
- deploy
- sentry-upload-srcmaps
install-functions:
image: andreysenov/firebase-tools:9.9.0-node10
stage: install
script:
- cd ./functions
- npm install
artifacts:
paths:
- functions/node_modules
only:
changes:
- ‘functions/**/*’
install-webapp:
stage: install
script:
- yarn install --frozen-lockfile --cache-folder ./.cache_yarn
artifacts:
paths:
- node_modules
Thanks for your help!