mirror of https://github.com/status-im/consul.git
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:
parent
200945714a
commit
1b152f9f21
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue