RUBY-3727 Use orchestration for ssl configs#2974
Merged
comandeo-mongo merged 2 commits intomongodb:masterfrom Jan 12, 2026
Merged
RUBY-3727 Use orchestration for ssl configs#2974comandeo-mongo merged 2 commits intomongodb:masterfrom
comandeo-mongo merged 2 commits intomongodb:masterfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request updates SSL/TLS configuration to use MongoDB orchestration-based certificate paths instead of relying solely on local certificate files. The changes enable tests to work with certificates generated by the evergreen/drivers-tools infrastructure, making the test suite more compatible with CI environments.
Key changes:
- Added support for "yes" as a valid value for the SSL environment variable (in addition to "ssl")
- Introduced new evergreen certificate path methods that point to orchestration-generated certificates
- Switched several build variants from
test-mlaunchtorun-main-test-suiteto use orchestration - Updated server setup code to use SpecConfig for proper SSL configuration
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| spec/support/spec_config.rb | Added evergreen certificate path methods, reorganized cert path configuration, updated SSL env var parsing, added debug output |
| spec/mongo/socket/ssl_spec.rb | Updated tests to use generic cert paths instead of local-only paths, removed tests for encrypted keys and intermediate certs, simplified key_string to reference cert_string |
| spec/integration/ssl_uri_options_spec.rb | Skipped test pending RUBY-3749 resolution |
| spec/integration/srv_monitoring_spec.rb | Skipped two tests pending RUBY-3749 resolution |
| spec/integration/reconnect_spec.rb | Skipped test pending RUBY-3749 resolution |
| .evergreen/lib/server_setup.rb | Updated to use SpecConfig for client initialization instead of raw MONGODB_URI |
| .evergreen/config/standard.yml.erb | Changed task references from test-mlaunch to run-main-test-suite |
| .evergreen/config/common.yml.erb | Added DRIVERS_TOOLS to environment variables for test execution |
| .evergreen/config.yml | Changed task references from test-mlaunch to run-main-test-suite, added DRIVERS_TOOLS to environment variables |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
jamis
approved these changes
Jan 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.