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

system_perf.yml: Use new DSI interface and cleanup

    XMLWordPrintable

    Details

      Description

      Following recent changes on DSI side, we should clean up system_perf.yml AND longevity.yml to use the new executable names and options.

      In the "prepare environment" part:

      • move mongodb_binary_archive from runtime.yml to bootstrap.yml
      • remove --production cli option from bootstrap.py
      • continue to call setup-dsi-env.sh as now

      In the later sections, we should now be able to significantly shorten the whole file. It should end up roughly like this:

        "deploy cluster":
          - command: shell.exec
            params:
              working_dir: work
              script: |
                set -e
                set -v
                source ./dsienv.sh
                source ./venv/bin/activate
                # This will either create a cluster, or update tags on existing instances.
                infrastructure_provisioning.py
                mongodb_setup.py
       
       
        "run test":
          - command: shell.exec
            type : test
            params:
              working_dir: work
              script: |
                set -e
                set -v
                source ./dsienv.sh
                source ./venv/bin/activate
                test_control.py
      

      Note that this should probably move to the post: section

          - command: "json.send"
            params:
               name: "perf"
               file: "work/perf.json"
      

      The analysis section is unaffected for now.

      Finally, change "initialSync" to "initialsync" everywhere.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: