Skip to content

Commit

Permalink
fix(NODE-3063): fix custom csfle test script (#2884)
Browse files Browse the repository at this point in the history
  • Loading branch information
emadum authored Jul 7, 2021
1 parent 1d229a1 commit d73c80c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .evergreen/run-custom-csfle-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ export CSFLE_KMS_PROVIDERS=${CSFLE_KMS_PROVIDERS}
set -o xtrace # Write all commands first to stderr
set -o errexit # Exit the script with error if any of the commands fail

# Get access to the AWS temporary credentials:
echo "adding temporary AWS credentials to environment"
# CSFLE_AWS_TEMP_ACCESS_KEY_ID, CSFLE_AWS_TEMP_SECRET_ACCESS_KEY, CSFLE_AWS_TEMP_SESSION_TOKEN
. $DRIVERS_TOOLS/.evergreen/csfle/set-temp-creds.sh

ABS_PATH_TO_PATCH=$(pwd)

# Environment Variables:
Expand Down Expand Up @@ -84,6 +89,7 @@ export MONGODB_NODE_SKIP_LIVE_TESTS=""
# all of the below must be defined (as well as AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY)
export AWS_REGION="us-east-1"
export AWS_CMK_ID="arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0"

npm test -- --colors

popd # ../csfle-deps-tmp/libmongocrypt/bindings/node
Expand Down

0 comments on commit d73c80c

Please sign in to comment.