mirror of https://github.com/status-im/consul.git
split out oss and ent ember builds for testing (#8122)
This commit is contained in:
parent
158361fb35
commit
57a23ccf45
|
@ -408,11 +408,12 @@ jobs:
|
||||||
- ui-v2/node_modules
|
- ui-v2/node_modules
|
||||||
|
|
||||||
# build ember so frontend tests run faster
|
# build ember so frontend tests run faster
|
||||||
ember-build:
|
ember-build-oss: &ember-build-oss
|
||||||
docker:
|
docker:
|
||||||
- image: *EMBER_IMAGE
|
- image: *EMBER_IMAGE
|
||||||
environment:
|
environment:
|
||||||
JOBS: 2 # limit parallelism for broccoli-babel-transpiler
|
JOBS: 2 # limit parallelism for broccoli-babel-transpiler
|
||||||
|
CONSUL_NSPACES_ENABLED: 0
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
|
@ -425,6 +426,13 @@ jobs:
|
||||||
paths:
|
paths:
|
||||||
- dist
|
- dist
|
||||||
|
|
||||||
|
# build ember so frontend tests run faster
|
||||||
|
ember-build-ent:
|
||||||
|
<<: *ember-build-oss
|
||||||
|
environment:
|
||||||
|
JOBS: 2 # limit parallelism for broccoli-babel-transpiler
|
||||||
|
CONSUL_NSPACES_ENABLED: 1
|
||||||
|
|
||||||
# rebuild UI for packaging
|
# rebuild UI for packaging
|
||||||
ember-build-prod:
|
ember-build-prod:
|
||||||
docker:
|
docker:
|
||||||
|
@ -467,7 +475,7 @@ jobs:
|
||||||
EMBER_TEST_REPORT: test-results/report-oss.xml #outputs test report for CircleCI test summary
|
EMBER_TEST_REPORT: test-results/report-oss.xml #outputs test report for CircleCI test summary
|
||||||
EMBER_TEST_PARALLEL: true #enables test parallelization with ember-exam
|
EMBER_TEST_PARALLEL: true #enables test parallelization with ember-exam
|
||||||
CONSUL_NSPACES_ENABLED: 0
|
CONSUL_NSPACES_ENABLED: 0
|
||||||
parallelism: 2
|
parallelism: 4
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
|
@ -486,7 +494,7 @@ jobs:
|
||||||
environment:
|
environment:
|
||||||
EMBER_TEST_REPORT: test-results/report-ent.xml #outputs test report for CircleCI test summary
|
EMBER_TEST_REPORT: test-results/report-ent.xml #outputs test report for CircleCI test summary
|
||||||
EMBER_TEST_PARALLEL: true #enables test parallelization with ember-exam
|
EMBER_TEST_PARALLEL: true #enables test parallelization with ember-exam
|
||||||
parallelism: 2
|
parallelism: 4
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
|
@ -709,18 +717,21 @@ workflows:
|
||||||
- master
|
- master
|
||||||
- ui-staging
|
- ui-staging
|
||||||
- /^ui\/.*/
|
- /^ui\/.*/
|
||||||
- ember-build:
|
- ember-build-oss:
|
||||||
|
requires:
|
||||||
|
- frontend-cache
|
||||||
|
- ember-build-ent:
|
||||||
requires:
|
requires:
|
||||||
- frontend-cache
|
- frontend-cache
|
||||||
- ember-test-oss:
|
- ember-test-oss:
|
||||||
requires:
|
requires:
|
||||||
- ember-build
|
- ember-build-oss
|
||||||
- ember-test-ent:
|
- ember-test-ent:
|
||||||
requires:
|
requires:
|
||||||
- ember-build
|
- ember-build-ent
|
||||||
- ember-coverage:
|
- ember-coverage:
|
||||||
requires:
|
requires:
|
||||||
- ember-build
|
- ember-build-ent
|
||||||
cherry-pick:
|
cherry-pick:
|
||||||
jobs:
|
jobs:
|
||||||
- cherry-picker:
|
- cherry-picker:
|
||||||
|
|
Loading…
Reference in New Issue