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

Add Env File Handling in Drivers Evergreen Tools

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: Evergreen Tools
    • None
    • Not Needed

      Add support for `.env` files, which can be placed in `$DRIVERS_TOOLS` and in the sub-directories.
      The script will first read `$DRIVERS_TOOLS/.env` if it exists, and then `$SCRIPT_DIR/.env` if it exists, to give
      the local file higher precedence.

      This pattern can be used to replace the use of legacy `${PREPARE_SHELL}`
      invocations in a `shell.exec` Evergreen command, enabling the use of `subprocess.exec` instead.

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

              Created:
              Updated:
              Resolved: