Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5215

Use docker image for building RHEL on evergreen

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: CI, Tech debt
    • None
    • Not Needed

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: