Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4794

Test building RPM with EPEL packages

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.27.0, 1.26.3
    • Affects Version/s: None
    • Component/s: None
    • None

      Scope

      Test building RPM with EPEL packages.

      Background & Motivation

      CDRIVER-4767 was filed due to changes in documentation dependencies that broke builds for EPEL:

      The C driver currently tests building the RPM package with the mongo-c-driver.spec on RHEL 9.0.

      Testing building with EPEL packages may help to prevent future breakage.

      Consider using Rocky Linux for testing: https://hub.docker.com/_/rockylinux. Example Dockerfile:

      FROM rockylinux:8
      RUN yum install -y epel-release
      RUN yum install -y mongo-c-driver
      RUN yum install -y cmake
      RUN yum install -y gcc
      RUN yum install -y python3-sphinx
      # Enable powertools repository for `python3-sphinx`
      RUN yum config-manager --set-enabled powertools
      RUN yum install -y python3-sphinx
      
      $ docker build . -t rocky-mongoc
      $ docker run --rm -it rocky-mongoc
      

            Assignee:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: