[COMPASS-5215] Use docker image for building RHEL on evergreen Created: 20/Oct/21  Updated: 27/Oct/23  Resolved: 01/Jun/23

Status: Closed
Project: Compass
Component/s: CI, Tech debt
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Rhys Howell Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to COMPASS-5150 Fix RHEL electron-rebuild test failur... Closed
Documentation Changes: Not Needed

 Description   

We run our RHEL packaging and tests on the evergreen distro rhel76-large. This distro has an older version of gcc (4.8.5) which doesn't compile native modules correctly for electron 13. To get around this we currently add an extra toolchain to the path of the machine so it's built and tested with a newer compiler. Ideally we'd like to just package Compass with a newer compiler then perform tests with the regular machine.

This ticket involves adding a dockerfile to package compass on the RHEL variant in evergreen so we can then test it normally.

This dockerfile by Anna will probably be helpful: https://gist.github.com/addaleax/2e67d0dfedda3eb34c4407bd97e421f0

In COMPASS-5150 - https://github.com/mongodb-js/compass/pull/2524 we added an extra toolchain to get a newer gcc version, after these changes we can remove that.


Generated at Wed Feb 07 22:38:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.