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

Use evergreen and github API to get the bin version for each release and for the latest

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • STM 2020-11-16, STM 2020-11-30, STM 2020-12-14
    • 2

    Description

      Use evergreen API to get the latest binaries. Iterate over the latest versions to find the latest with succeeded compile and push tasks.

      Use github API to get git commit hash for a certain release and use evergreen API to get a task with compiled artifacts.
      Example (version 4.4.1, buildvariant ubuntu1804):
      1. get git tag: https://api.github.com/repos/mongodb/mongo/git/refs/tags/r4.4.1
      2. get commit hash: https://api.github.com/repos/mongodb/mongo/git/tags/2c419dd9ef089453561e1f37605c73a739fc98d1
      3. get evergreen version: https://evergreen.mongodb.com/rest/v2/versions/mongodb_mongo_v4.4_ad91a93a5a31e175f5cbf8c69561e788bbc55ce1
      4. get ubuntu1804 build: https://evergreen.mongodb.com/rest/v2/builds/mongodb_mongo_v4.4_ubuntu1804_ad91a93a5a31e175f5cbf8c69561e788bbc55ce1_20_09_02_06_34_58
      4. check that compile and push tasks succeeded
      5. get compile task: https://evergreen.mongodb.com/rest/v2/tasks/mongodb_mongo_v4.4_ubuntu1804_compile_ad91a93a5a31e175f5cbf8c69561e788bbc55ce1_20_09_02_06_34_58
      6. get Binaries artifact link from the task

      Attachments

        Issue Links

          Activity

            People

              mikhail.shchatko@mongodb.com Mikhail Shchatko
              mikhail.shchatko@mongodb.com Mikhail Shchatko
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: