-
Notifications
You must be signed in to change notification settings - Fork 1.8k
ci(NODE-6684): serverless tests use AWS secrets manager #4381
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
07975a2
to
4b8802e
Compare
. ./set-temp-creds.sh | ||
popd | ||
MONGODB_URI="${MONGODB_URI}" \ |
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.
Defining these variables does nothing.
source $DRIVERS_TOOLS/.evergreen/init-node-and-npm-env.sh | ||
|
||
if [ -z ${SERVERLESS+omitted} ]; then echo "SERVERLESS is unset" && exit 1; fi | ||
if [ -z ${SERVERLESS_URI+omitted} ]; then echo "SERVERLESS_URI is unset" && exit 1; fi |
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.
This variable is never used in our tests because we use the load balanced URIs instead.
serverApi?: ServerApi; | ||
activeResources: number; | ||
isSrv: boolean; | ||
serverlessCredentials: { username: string | undefined; password: string | undefined }; |
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.
This is never set nor used.
tests will be skipped. | ||
|
||
Below is a summary of the types of test automation in this repo. | ||
|
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.
I have a markdown linter installed locally. I figured the whitespace changes were fine. I'm also happy to unformat the file or install a markdown plugin for eslint instead.
closing in favor of #4385 |
Description
What is changing?
Serverless tests use AWS secrets manager to fetch credentials to set up the cluster. These tests don't use secretes manager to fetch FLE credentials (https://jira.mongodb.org/browse/NODE-6685).
I also updated the testing readme with instructions on how to use secrets manager and how to setup serverless tests locally.
Is there new documentation needed for these changes?
No.
What is the motivation for this change?
Release Highlight
Fill in title or leave empty for no highlight
Double check the following
npm run check:lint
scripttype(NODE-xxxx)[!]: description
feat(NODE-1234)!: rewriting everything in coffeescript