Uploaded image for project: 'Evergreen'
  1. Evergreen
  2. EVG-3143

Add Evergreen command to serialize all expansions into a YAML file

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v2018.08.01
    • Component/s: commands, project-config
    • Labels:
      None

      Description

      One of the reasons that the Server team's etc/evergreen.yml project configuration file makes so much use of embedded shell.exec scripts is because the string substitution for expansions is syntactically convenient. There are many advantages (esp. around testability) to moving these embedded scripts out of the Evergreen project configuration but we'd like to be able to avoid a bunch of options processing boilerplate in Python when we'd go to convert them. Having an Evergreen command able to generate the YAML file so all the of the scripts could take the same command line inputs was an idea that came up between David Bradford and myself as a way to address this.

        Attachments

          Activity

            People

            • Assignee:
              brian.samek Brian Samek
              Reporter:
              max.hirschhorn Max Hirschhorn
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: