File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4945,7 +4945,7 @@ functions:
49454945
49464946 echo "Response Body: $response_body"
49474947 echo "HTTP Status: $http_status"
4948-
4948+
49494949# Tasks will show up as the individual blocks in the Evergreen UI that can
49504950# pass or fail.
49514951#
@@ -12854,8 +12854,8 @@ buildvariants:
1285412854 - name : test_connectivity
1285512855 - name : test_apistrict
1285612856 - name : linux_node_nightly
12857- display_name : " Ubuntu 20 .04 x64 (Node.js nightly e2e)"
12858- run_on : ubuntu2004-small
12857+ display_name : " Ubuntu 26 .04 arm (Node.js nightly e2e)"
12858+ run_on : ubuntu2604-arm64-m7g-xlarge
1285912859 tags : ["node-nightly-test"]
1286012860 expansions :
1286112861 node_js_version : " nightly"
Original file line number Diff line number Diff line change @@ -1101,7 +1101,7 @@ functions:
11011101
11021102 echo "Response Body: $response_body"
11031103 echo "HTTP Status: $http_status"
1104-
1104+
11051105# Tasks will show up as the individual blocks in the Evergreen UI that can
11061106# pass or fail.
11071107#
@@ -1658,8 +1658,8 @@ buildvariants:
16581658 - name: test_connectivity
16591659 - name: test_apistrict
16601660 - name: linux_node_nightly
1661- display_name: "Ubuntu 20 .04 x64 (Node.js nightly e2e)"
1662- run_on: ubuntu2004-small
1661+ display_name: "Ubuntu 26 .04 arm (Node.js nightly e2e)"
1662+ run_on: ubuntu2604-arm64-m7g-xlarge
16631663 tags: ["node-nightly-test"]
16641664 expansions:
16651665 node_js_version: "nightly"
Original file line number Diff line number Diff line change @@ -27,7 +27,14 @@ if [ "$NODE_JS_VERSION" = "nightly" ]; then
2727 fi
2828 if [ ! -x " $NIGHTLY_NODE_DIR /bin/node" ]; then
2929 mkdir -p " $NIGHTLY_NODE_DIR "
30- curl -sSfL " https://nodejs.org/download/nightly/v$NODE_JS_VERSION /node-v$NODE_JS_VERSION -linux-x64.tar.xz" \
30+ # Map the host architecture to the Node.js download naming so the nightly
31+ # variant can run on either x64 or arm64 Linux distros.
32+ case " $( uname -m) " in
33+ x86_64) NIGHTLY_NODE_ARCH=x64 ;;
34+ aarch64 | arm64) NIGHTLY_NODE_ARCH=arm64 ;;
35+ * ) echo " Unsupported architecture for Node.js nightly: $( uname -m) " >&2 ; exit 1 ;;
36+ esac
37+ curl -sSfL " https://nodejs.org/download/nightly/v$NODE_JS_VERSION /node-v$NODE_JS_VERSION -linux-$NIGHTLY_NODE_ARCH .tar.xz" \
3138 | tar -xJ --strip-components=1 -C " $NIGHTLY_NODE_DIR "
3239 fi
3340 export PATH=" $NIGHTLY_NODE_DIR /bin:$PATH "
You can’t perform that action at this time.
0 commit comments