Skip to content

Conversation

addaleax
Copy link
Collaborator

@addaleax addaleax commented Mar 15, 2022

Note that this is targeting a feature branch rather than main, because no production release contains the shared library yet, and this PR only contains only what we can do without libmongocrypt/Node.js driver changes (so CI failures are expected and should not block merging).

Evergreen: https://spruce.mongodb.com/version/6230ea08a4cf473ae398a8cc/tasks
Evergreen: https://spruce.mongodb.com/version/6231901fe3c3310f2d2b2165/tasks
Evergreen: https://spruce.mongodb.com/version/6231a1422a60ed2a427cf2e4/tasks
Evergreen: https://spruce.mongodb.com/version/6231b3dba4cf473ae39e2f01/tasks

TODO:

  • Figure out s390x/ppc64le situation
  • Account for missing darwin arm64

@addaleax addaleax merged commit ea0afa5 into 949-shared-library Mar 21, 2022
@addaleax addaleax deleted the 1116-dev branch March 21, 2022 09:28
addaleax added a commit that referenced this pull request May 11, 2022
* feat: add packaging for CSFLE shared library MONGOSH-1116 (#1230)

* feat: detect CSFLE library path and pass it to driver MONGOSH-1118 (#1246)

- Add `--csfleLibrarySearchPath` and `csfleLibraryPath` command line
  flags to control CSFLE library search path behavior
  - This is necessary for us for testing, but also likely for users,
    because simply adding an entry to the `PATH` environment variable
    will not be enough to locate the library if it is in a non-standard
    location (unlike mongocryptd).
  - Use these options in our e2e/smoke tests
- Download the shared library when required for testing
- Add CSFLE path detection logic, which replaces our mongocryptd
  path detection logic
  - Pass the resulting AutoEncryptionExtraOptions down to the driver.

* chore: bump mongodb-client-encryption, add ts-expect-error MONGOSH-1196 (#1266)

This should be sufficient for bringing the CSFLE shared library work
into a mergeable state.

The ts-expect-error comments can likely be removed pretty soon as well,
with the next driver bump.

* fix(ci): rpm uses /usr/lib64 rather than /usr/lib

* fixup: rc5 is minimum workingcsfle library version

* fixup: drop ts-expect-error where unnecessary

* fixup: update csfle distro lookup table, adjust new fle2 integration tests

* fixup: monkey-patch mongodb-client-encryption for bypassQueryAnalysis

* fixup: use minimum-glibc shared library in linux e2e tests, skip s390x fle testing

* fixup: regen evergreen config, fix e2e fle test skipping

* fixup: align new debian 11 dockerfile with docker changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants