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

Python CLI for drivers-evergreen-tools

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

      Create a top level python cli for handling orchestration. It should take arguments in addition to environment variables, and be bootstrap-able from a single script that creates an executable in a known location.

      The bootstrap file would notionally:

      • Find a suitable python
      • Use a tool like pipx to create the single executable in ${DRIVERS_TOOLS}/.bin

      Then the driver could run that script as part of its setup function(s), and either add ${DRIVERS_TOOLS}/.bin to their PATH or invoke the cli directly. The same would apply when running on a local computer or a spawn host.

      Once we have a python cli, we can start to do things like make composable orchestration files instead of needing specific orchestration files for each combination of features.

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

              Created:
              Updated: