gitlab: increase node heap size limit
Without this change gitlab-ee's gitlab-assets fails to build with JavaScript heap out of memory. GitLab's own CI uses different limits between 5 to 10GBs, but 8GBs for asset builds. (see https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/tasks/gitlab/assets.rake#L130)
This commit is contained in:
@@ -174,6 +174,7 @@ let
|
||||
FOSS_ONLY = !gitlabEnterprise;
|
||||
|
||||
SKIP_YARN_INSTALL = 1;
|
||||
NODE_OPTIONS = "--max-old-space-size=8192";
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
Reference in New Issue
Block a user