[SERVER-29645] Create script to commit changes to etc/test_lifecycle.yml after running buildscripts/update_test_lifecycle.py Created: 14/Jun/17 Updated: 30/Oct/23 Resolved: 31/Jul/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.11 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Yves Duhem |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | TIG 2017-07-10, TIG 2017-07-31, TIG 2017-08-21 | ||||
| Participants: | |||||
| Description |
|
A new Evergreen build variant and task should be added to the etc/evergreen.yml project configuration that runs the update_test_lifecycle.py script once a day (batchtime=86400, stepback=false). The update_test_lifecycle.py script should have a mode where it does the following. 1. Clones a fresh copy of the mongodb/mongo test-metadata repository using the project name as the branch name
2. Sets up the author name and email.
3. Update the etc/test_lifecycle.yml in the mongo-test-metadata repository 4. Checks the references.yml file in the mongo-test-metadata repository to ensure that the metadata is not more recent that the current task's commit.
5. Update the references.yml file to specify the current revision 6. Create a TIGBOT ticket with description including the changed tags and corresponding failure rates 7. Commit the changes in mongo-test-metada with a reference to the newly created TIGBOT ticket 8. Attempt to push the changes to GitHub
(c) If push still fails, then close the TIGBOT ticket as "Won't fix" and sys.exit(1) 9. Resolves the TIGBOT ticket as "Fixed". |
| Comments |
| Comment by Githook User [ 27/Jul/17 ] |
|
Author: {'email': 'yves.duhem@mongodb.com', 'username': 'syev', 'name': 'Yves Duhem'}Message: |