Skip to content

Commit 46ec9d5

Browse files
committed
chore(ci): bump compass-components and update linux for node nightly
1 parent a742632 commit 46ec9d5

4 files changed

Lines changed: 2900 additions & 1133 deletions

File tree

.evergreen.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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"

.evergreen/evergreen.yml.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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"

.evergreen/setup-env.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)