Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GODRIVER-3367 Use subprocess.exec for Evergreen functions #1847

Merged
merged 28 commits into from
Oct 8, 2024

Conversation

blink1073
Copy link
Member

GODRIVER-3367

Summary

Converts about half of the shell.exec functions to suprocess.exec.

Background & Motivation

Follow Evergreen best practices.

@mongodb-drivers-pr-bot mongodb-drivers-pr-bot bot added the priority-3-low Low Priority PR for Review label Oct 4, 2024
Copy link
Contributor

API Change Report

No changes found!

@@ -1928,30 +1877,6 @@ task_groups:
- command: expansions.update
params:
file: serverless-expansion.yml
- command: shell.exec
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CRYPT_SHARED_LIB_PATH is now part of serverless-expansion.yml

bash ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
binary: bash
env:
MONGODB_VERSION: ${VERSION}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the MONGODB_VERSION from run-orchestratin.sh cover this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the reason it isn't in include_expansions_in_env is because the name of the variable is different.

@blink1073 blink1073 merged commit 78b0f61 into mongodb:master Oct 8, 2024
30 of 33 checks passed
@blink1073 blink1073 deleted the GODRIVER-3367 branch October 8, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-3-low Low Priority PR for Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants