@@ -40,11 +40,7 @@ variables:
40
40
EVERGREEN_VERSION_ID : ${version_id}
41
41
EVERGREEN_WORKDIR : ${workdir}
42
42
EVERGREEN_CREATED_AT : ${created_at}
43
- # WARN: This version is behind our electron runtime, but updating it will
44
- # drop support for some older linux platforms, so we are keeping them out of
45
- # sync for now
46
- # TODO: https://jira.mongodb.org/browse/COMPASS-6915
47
- NODE_JS_VERSION : ' 18.19.1'
43
+ NODE_JS_VERSION : ' 20.16.0'
48
44
NPM_VERSION : ' 10.2.4'
49
45
# secrets
50
46
HADRON_METRICS_INTERCOM_APP_ID : ${metrics_intercom_app_id}
@@ -305,12 +301,13 @@ functions:
305
301
shell : bash
306
302
env :
307
303
<< : *compass-env
304
+ HADRON_DISTRIBUTION : ${compass_distribution}
308
305
script : |
309
306
set -e
310
307
# Load environment variables
311
308
eval $(.evergreen/print-compass-env.sh)
312
309
# Generates and expansion file with build target metadata in packages/compass/expansions.yml
313
- npm run --workspace mongodb-compass build-info -- ${target_platform} ${target_arch} --format=yaml --flatten ${compass_distribution} --out expansions.raw.yml
310
+ npm run --workspace mongodb-compass build-info -- ${target_platform} ${target_arch} --format=yaml --flatten --out expansions.raw.yml
314
311
# the 'author' key conflicts with evergreen's own expansion
315
312
grep -v '^author:' < packages/compass/expansions.raw.yml > packages/compass/expansions.yml
316
313
- command : expansions.update
@@ -409,7 +406,7 @@ functions:
409
406
<< : *compass-env
410
407
DEBUG : ${debug}
411
408
npm_config_loglevel : ${npm_loglevel}
412
- COMPASS_DISTRIBUTION : ${compass_distribution}
409
+ HADRON_DISTRIBUTION : ${compass_distribution}
413
410
script : |
414
411
set -e
415
412
@@ -447,7 +444,7 @@ functions:
447
444
<< : *compass-env
448
445
DEBUG : ${debug}
449
446
npm_config_loglevel : ${npm_loglevel}
450
- COMPASS_DISTRIBUTION : ${compass_distribution}
447
+ HADRON_DISTRIBUTION : ${compass_distribution}
451
448
SIGNING_SERVER_HOSTNAME : ${SIGNING_SERVER_HOSTNAME}
452
449
SIGNING_SERVER_PRIVATE_KEY : ${SIGNING_SERVER_PRIVATE_KEY}
453
450
SIGNING_SERVER_PRIVATE_KEY_CYGPATH : ${SIGNING_SERVER_PRIVATE_KEY_CYGPATH}
@@ -589,11 +586,16 @@ functions:
589
586
MONGODB_RUNNER_VERSION : ${mongodb_version|}
590
587
E2E_TEST_GROUPS : ${e2e_test_groups}
591
588
E2E_TEST_GROUP : ${e2e_test_group}
589
+ ATLAS_LOCAL_VERSION : latest
590
+ HADRON_DISTRIBUTION : compass
592
591
script : |
593
592
set -e
594
593
# Load environment variables
595
594
eval $(.evergreen/print-compass-env.sh)
596
595
596
+ # Start atlas local to test Atlas Search
597
+ source .evergreen/start-atlas-local.sh
598
+
597
599
echo "Running E2E tests while collecting coverage..."
598
600
599
601
npm run --unsafe-perm --workspace compass-e2e-tests test-ci
@@ -614,6 +616,7 @@ functions:
614
616
MONGODB_RUNNER_VERSION : ${mongodb_version|}
615
617
E2E_TEST_GROUPS : ${e2e_test_groups}
616
618
E2E_TEST_GROUP : ${e2e_test_group}
619
+ HADRON_DISTRIBUTION : compass
617
620
script : |
618
621
set -e
619
622
# Load environment variables
@@ -623,7 +626,6 @@ functions:
623
626
624
627
npm run --unsafe-perm --workspace compass-e2e-tests test-ci -- -- --test-multiple-connections
625
628
626
-
627
629
test-packaged-app :
628
630
- command : shell.exec
629
631
# Fail the task if it's idle for 10 mins
@@ -946,6 +948,7 @@ functions:
946
948
DEBUG : ${debug}
947
949
SNYK_TOKEN : ${snyk_token}
948
950
JIRA_API_TOKEN : ${jira_api_token}
951
+ HADRON_DISTRIBUTION : compass
949
952
script : |
950
953
set -e
951
954
# Load environment variables
0 commit comments