@@ -40,11 +40,7 @@ variables:
4040 EVERGREEN_VERSION_ID : ${version_id}
4141 EVERGREEN_WORKDIR : ${workdir}
4242 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'
4844 NPM_VERSION : ' 10.2.4'
4945 # secrets
5046 HADRON_METRICS_INTERCOM_APP_ID : ${metrics_intercom_app_id}
@@ -305,12 +301,13 @@ functions:
305301 shell : bash
306302 env :
307303 << : *compass-env
304+ HADRON_DISTRIBUTION : ${compass_distribution}
308305 script : |
309306 set -e
310307 # Load environment variables
311308 eval $(.evergreen/print-compass-env.sh)
312309 # 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
314311 # the 'author' key conflicts with evergreen's own expansion
315312 grep -v '^author:' < packages/compass/expansions.raw.yml > packages/compass/expansions.yml
316313 - command : expansions.update
@@ -409,7 +406,7 @@ functions:
409406 << : *compass-env
410407 DEBUG : ${debug}
411408 npm_config_loglevel : ${npm_loglevel}
412- COMPASS_DISTRIBUTION : ${compass_distribution}
409+ HADRON_DISTRIBUTION : ${compass_distribution}
413410 script : |
414411 set -e
415412
@@ -447,7 +444,7 @@ functions:
447444 << : *compass-env
448445 DEBUG : ${debug}
449446 npm_config_loglevel : ${npm_loglevel}
450- COMPASS_DISTRIBUTION : ${compass_distribution}
447+ HADRON_DISTRIBUTION : ${compass_distribution}
451448 SIGNING_SERVER_HOSTNAME : ${SIGNING_SERVER_HOSTNAME}
452449 SIGNING_SERVER_PRIVATE_KEY : ${SIGNING_SERVER_PRIVATE_KEY}
453450 SIGNING_SERVER_PRIVATE_KEY_CYGPATH : ${SIGNING_SERVER_PRIVATE_KEY_CYGPATH}
@@ -589,11 +586,16 @@ functions:
589586 MONGODB_RUNNER_VERSION : ${mongodb_version|}
590587 E2E_TEST_GROUPS : ${e2e_test_groups}
591588 E2E_TEST_GROUP : ${e2e_test_group}
589+ ATLAS_LOCAL_VERSION : latest
590+ HADRON_DISTRIBUTION : compass
592591 script : |
593592 set -e
594593 # Load environment variables
595594 eval $(.evergreen/print-compass-env.sh)
596595
596+ # Start atlas local to test Atlas Search
597+ source .evergreen/start-atlas-local.sh
598+
597599 echo "Running E2E tests while collecting coverage..."
598600
599601 npm run --unsafe-perm --workspace compass-e2e-tests test-ci
@@ -614,6 +616,7 @@ functions:
614616 MONGODB_RUNNER_VERSION : ${mongodb_version|}
615617 E2E_TEST_GROUPS : ${e2e_test_groups}
616618 E2E_TEST_GROUP : ${e2e_test_group}
619+ HADRON_DISTRIBUTION : compass
617620 script : |
618621 set -e
619622 # Load environment variables
@@ -623,7 +626,6 @@ functions:
623626
624627 npm run --unsafe-perm --workspace compass-e2e-tests test-ci -- -- --test-multiple-connections
625628
626-
627629 test-packaged-app :
628630 - command : shell.exec
629631 # Fail the task if it's idle for 10 mins
@@ -946,6 +948,7 @@ functions:
946948 DEBUG : ${debug}
947949 SNYK_TOKEN : ${snyk_token}
948950 JIRA_API_TOKEN : ${jira_api_token}
951+ HADRON_DISTRIBUTION : compass
949952 script : |
950953 set -e
951954 # Load environment variables
0 commit comments