From 1b152f9f21eb733a1e468fb424642d44007c1631 Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Tue, 19 May 2020 13:00:35 -0400 Subject: [PATCH] ci: limit parallelism for Ember builds (#7917) If not artificially limited by setting JOBS env var, broccoli-babel-transpiler will attempt to parallelize across the number of CPUs on the host VM rather than the Docker container, resulting in CI jobs being killed due to running out of memory. --- .circleci/config.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4425e83b2d..e17e68b6c7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -411,7 +411,8 @@ jobs: ember-build: docker: - image: *EMBER_IMAGE - resource_class: medium+ + environment: + JOBS: 2 # limit parallelism for broccoli-babel-transpiler steps: - checkout - restore_cache: @@ -428,7 +429,8 @@ jobs: ember-build-prod: docker: - image: *EMBER_IMAGE - resource_class: medium+ + environment: + JOBS: 2 # limit parallelism for broccoli-babel-transpiler steps: - checkout - restore_cache: