-
Notifications
You must be signed in to change notification settings - Fork 208
PHPC-1835: Rotate credentials for Atlas connectivity tests #1220
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
Conversation
@@ -32,16 +38,22 @@ foreach ($urls as $url) { | |||
===DONE=== | |||
<?php exit(0); ?> | |||
--EXPECTF-- | |||
Atlas replica set (3.4) |
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.
FYI, the URI file now has the following format:
# Atlas replica set (3.4)
mongodb://user:pass@...
mongodb+srv://user:pass@...
# Atlas sharded cluster (3.4)
mongodb://user:pass@...
mongodb+srv://user:pass@...
# Atlas free tier replica set (4.4)
mongodb://user:pass@...
mongodb+srv://user:pass@...
# Atlas with only TLSv1.1 enabled (3.4)
mongodb://user:pass@...
mongodb+srv://user:pass@...
# Atlas with only TLSv1.2 enabled (3.4)
mongodb://user:pass@...
mongodb+srv://user:pass@...
# Atlas with only TLSv1.2 enabled (3.4) and bad credentials
mongodb://user:INVALID@...
mongodb+srv://user:INVALID@...
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.
That explains the trim
you introduced above. Thanks!
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! There may be failures due to HELP-24523, so you may want to either ignore the failure or wait for a fix.
@@ -32,16 +38,22 @@ foreach ($urls as $url) { | |||
===DONE=== | |||
<?php exit(0); ?> | |||
--EXPECTF-- | |||
Atlas replica set (3.4) |
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.
That explains the trim
you introduced above. Thanks!
This corresponds with a change to the project's Evergreen config to rotate keys for decrypting atlas-uris.txt.enc. Additionally, this adds comments atlas-uris.txt and atlas.phpt test output for improved readability.
Passing tests may be blocked on fixing expired certificates in cloud-dev, per the related HELP ticket in PHPC-1835.
This PR corresponds with a change to the Evergreen project config to rotate the vars used for decrypting the URI file.