-
Notifications
You must be signed in to change notification settings - Fork 59
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
DRIVERS-2909 Add Env File Handling #444
Conversation
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.
Looks good! Just a comment on env usage
"run serverless tests": | ||
- command: shell.exec | ||
type: test | ||
params: | ||
include_expansions_in_env: ["SERVERLESS_ATLAS_PASSWORD"] | ||
working_dir: "src" | ||
script: | | ||
${PREPARE_SHELL} | ||
set +o xtrace | ||
MONGODB_URI="${MONGODB_URI}" \ | ||
SERVERLESS_ATLAS_USER="${SERVERLESS_ATLAS_USER}" \ | ||
CRYPT_SHARED_LIB_PATH="${CRYPT_SHARED_LIB_PATH}" \ | ||
bash ${PROJECT_DIRECTORY}/.evergreen/run-tests.sh | ||
|
||
"run atlas tests": | ||
- command: shell.exec |
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.
We no longer need these tests because we're deprecating serverless, right?
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 was a mistake, I need to uncomment this these tests. 😅
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.
Oh wait, I remember, we didn't need separate test commands for these anymore, they still get run from their respective task groups.
${PREPARE_SHELL} | ||
set -ex | ||
cd $DRIVERS_TOOLS/.evergreen/docker | ||
ARCH=${ARCH} TARGET_IMAGE=${TARGET_IMAGE} MONGODB_VERSION=${MONGODB_VERSION} ENTRYPOINT=/root/test-entrypoint.sh bash run-server.sh |
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.
Same here. Do we need to put these as envs
in the subprocess.exec?
Co-authored-by: Jib <Jibzade@gmail.com>
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
No description provided.