[DRIVERS-2459] Add script to download mongocryptd and crypt_shared for Serverless tests Created: 05/Oct/22 Updated: 22/Nov/22 |
|
| Status: | Implementing |
| Project: | Drivers |
| Component/s: | Evergreen Tools |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Andreas Braun | Assignee: | Andreas Braun |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Driver Changes: | Needed | ||||||||
| Downstream Changes Summary: | The changes required depends on whether drivers have implemented DRIVERS-2400:
|
||||||||
| Driver Compliance: |
|
||||||||
| Description |
|
As part of the changes required for DRIVERS-2400, drivers need to download mongocryptd and crypt_shared, which is usually done when calling run-orchestration.sh. However, when running tests against a Serverless instance, this script isn't called by the drivers. At the moment, this means that drivers have to do this manually in their evergreen files, leading to code duplication and potential errors. As an example, consider the go implementation: https://github.com/mongodb/mongo-go-driver/pull/1069/files#diff-2bc841e86ce96b7b422ae203fd8315d0b2a461956cecbe0e096420656fc3fb12R2183 This ticket proposes to add a separate script that downloads an appropriate version of mongocryptd and crypt_shared. This script should also be used to download mongodb in run-orchestration.sh. |
| Comments |
| Comment by Githook User [ 11/Nov/22 ] |
|
Author: {'name': 'Andreas Braun', 'email': 'alcaeus@users.noreply.github.com', 'username': 'alcaeus'}Message: DRIVERS-2459: Add script to download mongocryptd and crypt_shared (#242)
|
| Comment by Bailey Pearson [ 11/Oct/22 ] |
|
Node currently maintains a crypt_shared download script for reference. This may be easier to port in the meantime than the Go implementation. https://github.com/mongodb/node-mongodb-native/blob/main/.evergreen/prepare-crypt-shared-lib.sh
|