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

Remove use of evergreen /rest/v1 API in favor of evergreen.py in bypass_compile_and_fetch_binaries.py

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Fully Compatible
    • DAG 2019-08-12
    • 3

      The bypass_compile_and_fetch_binaries and burn_in_tags_bypass_compile_and_fetch_binaries scripts call out to the evergreen API to get build ids for a given revision. We recently built a python evergreen client and added it to the burn_in_tests buildscript. We should be consistent and use evergreen.py to access the evergreen api everywhere.

      Currently, the scripts call this endpoint directly:
      https://evergreen.mongodb.com/rest/v1/projects/<project>/revisions/<revision>

      Instead, they can use evergreen.py to call this v2 endpoint:
      https://evergreen.mongodb.com/rest/v2/versions/<version>

      ------------------------------------------------------

      As a mongo engineer
      I want bypass_compile_and_fetch_binaries and burn_in_tags_bypass_compile_and_fetch_binaries to use a common evergreen client library
      so that I don't have to maintain code to connect to evergreen.

      AC

      • The bypass_compile_and_fetch_binaries and burn_in_tags_bypass_compile_and_fetch_binaries scripts do not directly call the Evergreen API

      ------------------------------------------------------

      Related tickets:

            Assignee:
            lydia.stepanek@mongodb.com Lydia Stepanek (Inactive)
            Reporter:
            lydia.stepanek@gmail.com Lydia Stepanek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: