-
Notifications
You must be signed in to change notification settings - Fork 1.8k
docs: add info about testing with different versions and the rosetta setup for Mac #4707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you feel that this documentation makes more sense to put in https://github.com/mongodb-labs/drivers-evergreen-tools?
In the
|
That seems like an oversight. Maybe we could update https://github.com/mongodb-labs/drivers-evergreen-tools/blob/master/.evergreen/run-orchestration.sh to document the |
Older versions of MongoDB may not have Mac binaries, so you may also need to specify a different architecture: | ||
|
||
```sh | ||
VERSION=4.2 ARCH=x86_64 TOPOLOGY='replica_set' bash .evergreen/run-orchestration.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The architecture here is what's causing the need for Rosetta to be installed. ARCH on Apple silicon should be arm64 to get the correct binaries.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The server doesn't have arm64 builds for servers <5.0 (I think 5.0 is the correct version, it was somewhere after 4.4). You must override driver-evergreen-tool's architecture inference and use rosetta if running an older server version on an arm mac.
Description
Summary of Changes
Test readme updated with info about testing with different versions, plus command to install rosetta.
What is the motivation for this change?
Explain how to test different versions.
Double check the following
type(NODE-xxxx)[!]: description