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.
This commit is contained in:
Mike Morris 2020-05-19 13:00:35 -04:00 committed by GitHub
parent 696aeb7840
commit aed31fef6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -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: