Skip to content
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

Merged
merged 10 commits into from
Nov 5, 2024

Conversation

nirinchev
Copy link
Contributor

@nirinchev nirinchev commented Oct 24, 2024

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.

* 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)
@nirinchev nirinchev changed the title chore: Use new distro ids for MacOS and IBM hosts MONGOSH-1835 chore: Migrate rhel81-power8 to rhel8-power9 MONGOSH-1835 Oct 25, 2024
* 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"
Copy link
Contributor

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

Copy link
Contributor Author

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.

@nirinchev nirinchev marked this pull request as ready for review November 5, 2024 13:12
@nirinchev nirinchev merged commit ea58f30 into main Nov 5, 2024
71 of 76 checks passed
@nirinchev nirinchev deleted the ni/new-distros branch November 5, 2024 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants