Skip to content

Conversation

@blink1073
Copy link
Member

No description provided.

@blink1073 blink1073 requested a review from a team as a code owner October 2, 2023 12:22
@blink1073 blink1073 requested review from NoahStapp and removed request for a team October 2, 2023 12:22

# Get the drivers secrets. Use an existing secrets file first.
if [ ! -f "./secrets-export.sh" ]; then
bash .evergreen/tox.sh -m aws-secrets -- drivers/oidc
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the rationale behind directly calling setup_secrets.sh instead of using tox?

Copy link
Member Author

Choose a reason for hiding this comment

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

Our tox env replicates the env requirements in DRIVERS_TOOLS, I think we should migrate away from it.

Copy link
Contributor

Choose a reason for hiding this comment

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

If we migrate away from the tox env, what process do we envision for running these tests locally?

Copy link
Member Author

Choose a reason for hiding this comment

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

By running the script in DET to get the secrets file, which would only have to be done infrequently.

Copy link
Contributor

Choose a reason for hiding this comment

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

Good point! Can we add that step to the local testing documentation?

Copy link
Member Author

Choose a reason for hiding this comment

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

@blink1073 blink1073 requested a review from NoahStapp October 2, 2023 18:35
@ShaneHarvey
Copy link
Member

In the past we discovered that using venv was problematic on some platforms. Please run the entire test suite to make sure that's no longer the case.

@blink1073
Copy link
Member Author

blink1073 commented Oct 2, 2023

In the past we discovered that using venv was problematic on some platforms. Please run the entire test suite to make sure that's no longer the case.

Good call out, so far macos does not work yet with this approach.

@blink1073
Copy link
Member Author

MacOS 64 was the only newly failing platform, will investigate.

@blink1073
Copy link
Member Author

MacOS is fixed, I'll run them all again once #1383 is merged to cut down on the number of failures.

@blink1073 blink1073 merged commit ed3ae41 into mongodb:master Oct 7, 2023
@blink1073 blink1073 deleted the cleanup-python-binary-handling branch October 7, 2023 00:11
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