Only include the NextJS build output as Pipeline Artifact
Catladder caches .next/cache/
in the pipelines. NextJS does not seem to cleanup the cache, so it tends to grow.
The .next/
directory is used as build artifact. If the cache grows sufficently large this can lead to pipelines failing with Uploading artifacts as "archive" to coordinator... 413 Request Entity Too Large
Solution is to manually clear the pipeline cache.
Relevant GitLab settings:
Edited by Michael