Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2852

Invoke all Drivers Evergreen Tools Scripts with Bash

    • Needed
    • Hide

      Summary of necessary driver changes

      Show
      Summary of necessary driver changes  Make similar changes to https://github.com/mongodb/mongo-go-driver/commit/7c64fa013f71ca4e40614d1bfe23de4a791566a6 to ensure that all drivers evergreen tools scripts are invoked with bash and not sh.
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-5509 Fixed 1.28.0
      CXX-2988 Fixed 3.11.0
      CSHARP-5004 Fixed 2.25.0
      GODRIVER-3158 Fixed 2.0.0
      JAVA-5359 Fixed 5.1.0, 4.11.3
      NODE-6013 Backlog
      MOTOR-1278 Works as Designed
      PYTHON-4272 Works as Designed
      PHPLIB-1410 Fixed 1.18.0
      RUBY-3421 Backlog
      RUST-1880 Backlog
      PHPC-2366 Fixed 1.18.0
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-5509 Fixed 1.28.0 CXX-2988 Fixed 3.11.0 CSHARP-5004 Fixed 2.25.0 GODRIVER-3158 Fixed 2.0.0 JAVA-5359 Fixed 5.1.0, 4.11.3 NODE-6013 Backlog MOTOR-1278 Works as Designed PYTHON-4272 Works as Designed PHPLIB-1410 Fixed 1.18.0 RUBY-3421 Backlog RUST-1880 Backlog PHPC-2366 Fixed 1.18.0

      Summary

      For legacy reasons, some of the Drivers Evergreen Tools scripts are still being called with sh, e.g. https://github.com/mongodb/mongo-java-driver/blob/4120e6bb5d81c66ffb09823b3651ae5bba6d472f/.evergreen/.evg.yml#L153.

      In many cases in Drivers Evergreen Tools, we have been able to leverage the features of bash, and ensure the use of bash by an environment variable check.

      However, because we cannot enforce run-orchestration.sh to be used by bash, any of the scripts that it calls must also be callable from sh.

      Drivers should audit their use of shell:, binary:, and usages of run-orchestration.sh and stop-orchestration.sh.

      Once this ticket is complete, we can uniformly add a bash check in the Drivers Evergreen Tools scripts and take advantage of Bash features.

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            James Kovacs James Kovacs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: