-
Notifications
You must be signed in to change notification settings - Fork 69
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
chore: Migrate rhel81-power8 to rhel8-power9 MONGOSH-1835 #2236
Conversation
ade8db0
to
cd22a28
Compare
* main: chore: update auto-generated files (#2237) feat(shell-api): add shardedDataDistribution to sh.status() MONGOSH-1326 (#2214) chore: update auto-generated files (#2235) feat(tests): Add individual evergreen test results with XUnit (#2227) chore: update auto-generated files (#2234) chore: rename service-provider-server and `CliServiceProvider` (#2232) chore: update auto-generated files (#2233) chore(deps): Add node-gyp version control across different distros MONGOSH-1891 (#2230) chore: update auto-generated files (#2231) fix(shell-api): Align database and collection aggregate functions MONGOSH-1868 (#2229)
* main: chore: Migrate rhel72-zseries to rhel7-zseries MONGOSH-1835 (#2238) chore: update auto-generated files (#2244) chore(deps): bump driver, bson to latest MONGOSH-1890 MONGOSH-1889 (#2243) chore: update auto-generated files (#2242) chore: update auto-generated files (#2241) chore(ci): Add a workflow to validate PR titles (#2240)
@@ -7,6 +7,16 @@ EVGDIR="$ROOT_DIR/.evergreen" | |||
NVM_DIR="$EVGDIR/.nvm" | |||
ORIGINAL_PATH="${PATH}" | |||
|
|||
OS_ARCH="$(uname "-m")" | |||
if [ "$OS_ARCH" = "ppc64le" ] || [ "$OS_ARCH" = "ppc64" ] ; then | |||
echo "[INFO] Choosing v4 because OS_ARCH is $OS_ARCH" |
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.
Just a small note, in scripts that already have set -x
set, echoing back debug information can be nice for formatting but doesn't usually provide other benefits, since bash will already echo back the values for OS_ARCH, PATH, etc. when they are being set
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.
Yeah, I guess there's a small benefit of making this easier to grep if you notice it in the parsley logs + that was the original code before it got removed in 315fefa, so figured might keep it like that. I don't have strong opinions though and happy to remove it to keep the script more concise.
This is the second half of MONGOSH-1835 - it moves to building for ppc to the new rhel8-power9 hosts. We had to bump the mongodb toolchain to v4 for these hosts due to an issue compiling
stat.h
with the v3 toolchain. This is temporary and likely to go away once MONGOSH-864 is completed.