summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-09-25 12:46:58 -0500
committerMike Greiling <mike@pixelcog.com>2018-09-25 12:46:58 -0500
commit9ea6c8588a95aaf9ab345ca7f90c8d8378a286a3 (patch)
tree5ab78e441366474773e0ed59d08f27c99954fba9
parent62dde35069e430101e52359fbdba3fa14720195d (diff)
downloadgitlab-ce-fix-karma-out-of-memory.tar.gz
Fix karma out-of-memory failuresfix-karma-out-of-memory
-rw-r--r--.gitlab-ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 90bc9f74ef3..058cacb0774 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -729,6 +729,9 @@ karma:
dependencies:
- compile-assets
- setup-test-env
+ variables:
+ # we override the max_old_space_size to prevent OOM errors
+ NODE_OPTIONS: --max_old_space_size=3584
script:
- export BABEL_ENV=coverage CHROME_LOG_FILE=chrome_debug.log
- date