[CXX-2605] Remove legacy shell from test scripts Created: 25/Oct/22  Updated: 17/Jan/24  Resolved: 17/Jan/24

Status: Closed
Project: C++ Driver
Component/s: Evergreen Tools
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: PM Bot Assignee: Roberto Sanchez
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-2328 Remove legacy shell from test scripts Implementing
Upstream Changes Summary:

DRIVERS-2328:
The legacy shell will no longer be installed in the near future. Drivers are encouraged to remove all usages of the legacy shell in their drivers with this Go driver PR serving as inspiration.

All drivers that require the use of the legacy library are required to define the INSTALL_LEGACY_SHELL environment variable to a non-zero value when running MongoDB installation (either by running run-orchestration.sh or by manually invoking download_and_extract() from download-mongoldb.sh). This variable replaces the current SKIP_LEGACY_SHELL variable which will no longer be respected.

The upcoming changes can be tested by using the development branch for this change. In your evergreen functions, locate the git clone command that clones the drivers-evergreen-tools repository and replace it with this command:

git clone https://github.com/alcaeus/drivers-evergreen-tools.git --depth 1 --branch skip-legacy-shell-by-default $DRIVERS_TOOLS

This will show which of your build tasks still need the legacy shell, which can be installed using the INSTALL_LEGACY_SHELL environment variable in that specific task.


 Description   

This ticket was split from DRIVERS-2328, please see that ticket for a detailed description.



 Comments   
Comment by Kevin Albertson [ 17/Jan/24 ]

The MongoDB AWS tests are not implemented in the C++ driver. I expect no changes are required.

CXX-1872 (MONGODB-AWS Support) without code changes. Authentication is entirely handled in the C driver. MongoDB AWS tests are implemented in the C driver. I expect the MongoDB AWS auth tests would not provide much value for the C++ driver. There are no code changes required in the C++ driver to use this feature.

Generated at Wed Feb 07 22:06:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.