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

PYTHON-4965 - Consolidate startup and teardown tasks #2017

Merged
merged 6 commits into from
Dec 2, 2024

Conversation

NoahStapp
Copy link
Contributor

No description provided.

Jibola
Jibola previously approved these changes Nov 26, 2024
Copy link
Contributor

@Jibola Jibola left a comment

Choose a reason for hiding this comment

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

LGTM.

@@ -1640,6 +1594,7 @@ tasks:
params:
binary: bash
working_dir: src
include_expansions_in_env: ["PYTHON_BINARY"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this a bug you caught during the fix?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need to pass this explicitly where needed now to use the correct Python binary. Part of our later work will be to unify the use of PYTHON_BINARY to remove the need to pass it explicitly.

@blink1073
Copy link
Member

Docker teardown is handled in drivers-evergreen-tools. I'd suggest a single teardown script that runs the appropriate drivers-evergreen-tools teardowns: https://github.com/mongodb/mongo-go-driver/blob/master/.evergreen/config.yml#L143

@NoahStapp NoahStapp requested a review from blink1073 December 2, 2024 16:31
@blink1073
Copy link
Member

.evergreen/scripts/teardown-docker.sh can be removed now.

@NoahStapp
Copy link
Contributor Author

NoahStapp commented Dec 2, 2024

Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

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

LGTM!

@NoahStapp NoahStapp merged commit bc66598 into mongodb:master Dec 2, 2024
39 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants