Skip to content

PYTHON-4631: Pushed PREPARE_SHELL creation into an env.sh file #1788

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

Merged
merged 34 commits into from
Sep 5, 2024

Conversation

Jibola
Copy link
Contributor

@Jibola Jibola commented Aug 12, 2024

As part of the larger epic to remove our dependency on in-lined scripts. We're making a conscious effort to remove all the shell.exec calls in our evergreen tests and make then subprocess calls that call into a file. The first step in that process comes from removing our biggest offender "PREPARE_SHELL".

This PR will achieve a few things:

  • - Move the PREPARE_SHELL call to the configure-expansions.sh file
  • - Create a directory for "scripts" within evergreen to keep the code tidy

@blink1073
Copy link
Member

You have a merge conflict. 🫤

@Jibola Jibola requested a review from blink1073 August 28, 2024 18:41
@blink1073
Copy link
Member

FAILED test/test_discovery_and_monitoring.py::TestUnifiedLoggingStandalone::test_Topology_lifecycle - AssertionError: 7 != 8

I opened PYTHON-4705 for this.

blink1073
blink1073 previously approved these changes Aug 30, 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!

blink1073
blink1073 previously approved these changes Aug 30, 2024
@Jibola Jibola merged commit 26c5504 into mongodb:master Sep 5, 2024
31 of 34 checks passed
@Jibola Jibola deleted the PYTHON-4631 branch September 5, 2024 13:39
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.

2 participants