-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Conversation
f4b9fad
to
9cd3a61
Compare
There was a problem hiding this 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"] |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
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 |
.evergreen/scripts/teardown-docker.sh can be removed now. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
No description provided.