Skip to content

Commit

Permalink
test(no-story): bump mongodb-client-encryption pinned commits to 2.8.…
Browse files Browse the repository at this point in the history
…0 release (#3683)
  • Loading branch information
baileympearson committed May 25, 2023
1 parent d26ad61 commit 66ba28f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2448,7 +2448,7 @@ tasks:
- func: bootstrap kms servers
- func: run custom csfle tests
vars:
CSFLE_GIT_REF: 1524eac203e4145e9f4835e519f1e4663ff15953
CSFLE_GIT_REF: c56c70340093070b1ef5c8a28190187eea21a6e9
- name: run-custom-csfle-tests-5.0-master
tags:
- run-custom-dependency-tests
Expand Down Expand Up @@ -2478,7 +2478,7 @@ tasks:
- func: bootstrap kms servers
- func: run custom csfle tests
vars:
CSFLE_GIT_REF: 1524eac203e4145e9f4835e519f1e4663ff15953
CSFLE_GIT_REF: c56c70340093070b1ef5c8a28190187eea21a6e9
- name: run-custom-csfle-tests-rapid-master
tags:
- run-custom-dependency-tests
Expand Down Expand Up @@ -2508,7 +2508,7 @@ tasks:
- func: bootstrap kms servers
- func: run custom csfle tests
vars:
CSFLE_GIT_REF: 1524eac203e4145e9f4835e519f1e4663ff15953
CSFLE_GIT_REF: c56c70340093070b1ef5c8a28190187eea21a6e9
- name: run-custom-csfle-tests-latest-master
tags:
- run-custom-dependency-tests
Expand Down
2 changes: 1 addition & 1 deletion .evergreen/generate_evergreen_tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ const oneOffFuncAsTasks = oneOffFuncs.map(oneOffFunc => ({
]
}));

const FLE_PINNED_COMMIT = '1524eac203e4145e9f4835e519f1e4663ff15953'
const FLE_PINNED_COMMIT = 'c56c70340093070b1ef5c8a28190187eea21a6e9';

for (const version of ['5.0', 'rapid', 'latest']) {
for (const ref of [FLE_PINNED_COMMIT, 'master']) {
Expand Down
3 changes: 1 addition & 2 deletions .evergreen/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,4 @@ fi

echo "npm version: $(npm -v)"

# TODO(NODE-5180): remove --force option
npm install --force "${NPM_OPTIONS}"
npm install "${NPM_OPTIONS}"
6 changes: 2 additions & 4 deletions .evergreen/run-custom-csfle-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ popd # mongo-c-driver

pushd libmongocrypt/bindings/node

# TODO(NODE-5180): remove --force option
npm install --force --production --ignore-scripts
npm install --production --ignore-scripts
bash ./etc/build-static.sh

popd # libmongocrypt/bindings/node
Expand Down Expand Up @@ -82,8 +81,7 @@ pushd ../csfle-deps-tmp/libmongocrypt/bindings/node
killall mongocryptd || true

# only prod deps were installed earlier, install devDependencies here (except for mongodb!)
# TODO(NODE-5180): remove --force option
npm install --force --ignore-scripts
npm install --ignore-scripts

# copy mongodb into CSFLE's node_modules
rm -rf node_modules/mongodb
Expand Down
3 changes: 1 addition & 2 deletions .evergreen/run-serverless-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ if [ -z ${MONGODB_URI+omitted} ]; then echo "MONGODB_URI is unset" && exit 1; fi
if [ -z ${SERVERLESS_ATLAS_USER+omitted} ]; then echo "SERVERLESS_ATLAS_USER is unset" && exit 1; fi
if [ -z ${SERVERLESS_ATLAS_PASSWORD+omitted} ]; then echo "SERVERLESS_ATLAS_PASSWORD is unset" && exit 1; fi

# TODO(NODE-5180): remove --force option
npm install --force 'mongodb-client-encryption@alpha'
npm install mongodb-client-encryption

npx mocha \
--config test/mocha_mongodb.json \
Expand Down
7 changes: 3 additions & 4 deletions .evergreen/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,9 @@ else
source "$DRIVERS_TOOLS"/.evergreen/csfle/set-temp-creds.sh
fi

# TODO(NODE-5180): remove --force option
npm install --force 'mongodb-client-encryption@alpha'
npm install --force @mongodb-js/zstd
npm install --force snappy
npm install mongodb-client-encryption
npm install @mongodb-js/zstd
npm install snappy

export AUTH=$AUTH
export SINGLE_MONGOS_LB_URI=${SINGLE_MONGOS_LB_URI}
Expand Down

0 comments on commit 66ba28f

Please sign in to comment.