Skip to content

Commit 1543418

Browse files
authored
chore(build): only download mongocryptd for packaging MONGOSH-798 (#1067)
1 parent e83b273 commit 1543418

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
"lerna": "^4.0.0",
124124
"mocha": "^7.1.2",
125125
"mongodb": "^4.1.0",
126-
"mongodb-download-url": "^1.0.3",
126+
"mongodb-download-url": "^1.1.1",
127127
"mongodb-js-precommit": "^2.0.0",
128128
"nock": "^13.0.11",
129129
"node-codesign": "^0.3.2",

packages/build/src/packaging/download-mongocryptd.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ export async function downloadMongocrypt(variant: BuildVariant): Promise<string>
88
const opts: DownloadOptions = {};
99
opts.arch = getArch(variant);
1010
opts.distro = lookupReleaseDistro(variant);
11+
opts.enterprise = true;
12+
opts.cryptd = true;
1113
console.info('mongosh: downloading latest mongocryptd for inclusion in package:', JSON.stringify(opts));
1214

1315
const bindir = await downloadMongoDb(

0 commit comments

Comments
 (0)