[DRIVERS-2519] Utilize find-python3.sh in create-serverless.sh Created: 19/Dec/22  Updated: 28/Oct/23  Resolved: 22/Dec/22

Status: Closed
Project: Drivers
Component/s: Evergreen Tools
Fix Version/s: None

Type: Task Priority: Unknown
Reporter: Jeremy Mikola Assignee: Jeremy Mikola
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to DRIVERS-2497 Remove use of activate_venv.sh and ut... Closed
Driver Changes: Not Needed

 Description   

DRIVERS-2497 introduced a find-python3.sh script. Various other scripts within drivers-evergreen-tools were modified to use this to create venvs; however, create-serverless.sh was not. Notably, create-serverless.sh does not need a venv because it only uses built-in modules; however, find-python3.sh can still be used in place of hard-coded Python3 paths.



 Comments   
Comment by Githook User [ 22/Dec/22 ]

Author:

{'name': 'Jeremy Mikola', 'email': 'jmikola@gmail.com', 'username': 'jmikola'}

Message: DRIVERS-2519: Utilize find-python3.sh in create-serverless.sh (#256)

  • Ensure create-instance.sh was invoked with Bash

Source find-python3.sh using a path relative to create-serverless.sh, as we already do for invoking get-instance.sh. While we could use ${BASH_SOURCE[0]} instead of $0, there is no need to do so as create-serverless.sh is never sourced.

Comment by Jeremy Mikola [ 19/Dec/22 ]

https://github.com/mongodb-labs/drivers-evergreen-tools/pull/256

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