Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-39455

lint the evergreen.yml file

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      DAG 2019-03-11
    • Story Points:
      2

      Description

      It can be really easy to introduce subtle bugs in the the evergreen.yml file (See SERVER-38822) as an example. Using a yaml linter could catch some of these issues. We should create an evergreen task to run one and as part of a required builder.

      This one https://github.com/adrienverge/yamllint seems to work and can be installed as a pip module. We would want to run it in relaxed mode.

      yamllint -d relaxed etc/evergreen.yml
      

        Attachments

          Activity

            People

            Assignee:
            david.bradford David Bradford
            Reporter:
            david.bradford David Bradford
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: