[SERVER-52535] Use evergreen and github API to get the bin version for each release and for the latest Created: 02/Nov/20  Updated: 29/Oct/23  Resolved: 01/Dec/20

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Improvement Priority: Major - P3
Reporter: Mikhail Shchatko Assignee: Mikhail Shchatko
Resolution: Fixed Votes: 1
Labels: neweng, tig-multiversion, tig-qwin-eligible
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done before SERVER-39859 Use the Evergreen REST v2 API to down... Closed
Backwards Compatibility: Fully Compatible
Sprint: STM 2020-11-16, STM 2020-11-30, STM 2020-12-14
Participants:
Story Points: 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



 Comments   
Comment by Githook User [ 01/Dec/20 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com'}

Message: SERVER-52535 Use evergreen and github API to get the bin version for each release and for the latest
Branch: master
https://github.com/mongodb/mongo/commit/da2fa0281d30cbb0f320b868a4af1ea77dfb97c5

Generated at Thu Feb 08 05:28:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.