[GODRIVER-2064] Evergreen yaml needs to use the newer format Created: 25/Jun/21  Updated: 01/Sep/21  Resolved: 01/Sep/21

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.7.2, 1.6.2

Type: Task Priority: Major - P3
Reporter: Annie Black Assignee: Benji Rewis (Inactive)
Resolution: Done Votes: 0
Labels: xsmall
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Documentation Changes: Not Needed

 Description   

 
We need the Evergreen yaml to be modified to support yaml v3 (specifically we now error with duplicated map keys). This applies to the mongo-go-driver-v1.0, mongo-go-driver-v1.4, and mongo-go-driver projects. The following are the lines that need to be fixed (the "yml" file corresponds to each of the affected projects):

ERROR: load project error(s): error unmarshalling into parser project: invalid configuration file: yaml: unmarshal errors:
  line 1825: mapping key "matrix_spec" already defined at line 1824
fetchedYamls/mongo-go-driver-v1.0.yml is an invalid configuration
 
ERROR: load project error(s): error unmarshalling into parser project: invalid configuration file: yaml: unmarshal errors:
  line 1664: mapping key "matrix_spec" already defined at line 1663
fetchedYamls/mongo-go-driver-v1.4.yml is an invalid configuration
 
ERROR: load project error(s): error unmarshalling into parser project: invalid configuration file: yaml: unmarshal errors:
  line 1977: mapping key "matrix_spec" already defined at line 1976
fetchedYamls/mongo-go-driver.yml is an invalid configuration

Acceptance Criteria:

Make Go's matrix spec keys unique/remove duplicate occurrences



 Comments   
Comment by Githook User [ 01/Sep/21 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: GODRIVER-2064 Remove duplicate key mappings from Evg config (#725)
Branch: release/1.6
https://github.com/mongodb/mongo-go-driver/commit/f5c97c3179b71e9ca16cb2efd22eab2bedcfc0bf

Comment by Githook User [ 01/Sep/21 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: GODRIVER-2064 Remove duplicate key mappings from Evg config (#725)
Branch: release/1.7
https://github.com/mongodb/mongo-go-driver/commit/38eddb3d5e9c92246cd1929c990124f8f5a51aef

Comment by Githook User [ 01/Sep/21 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: GODRIVER-2064 Remove duplicate key mappings from Evg config (#725)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/74772574eaff1245b6b96118e34f90dc8b6177fa

Comment by Benji Rewis (Inactive) [ 31/Aug/21 ]

https://github.com/mongodb/mongo-go-driver/pull/725

This will need to be backported to the 1.7 and 1.6 branches all three of our Evergreen projects support YAML v3.

Generated at Thu Feb 08 08:37:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.