-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(NODE-6537): add support for binary vectors
- Loading branch information
Showing
6 changed files
with
520 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,22 @@ | ||
#!/usr/bin/env bash | ||
#! /usr/bin/env bash | ||
|
||
source $DRIVERS_TOOLS/.evergreen/init-node-and-npm-env.sh | ||
# At the time of writing. This script is not used in CI. | ||
# but can be used to locally iterate on big endian bugs. | ||
# buildx requires an output, so I put docs which should be a no-op. | ||
|
||
npx mocha test/s390x/big_endian.test.ts | ||
set -o errexit | ||
set -o nounset | ||
set -o pipefail | ||
set -o xtrace | ||
|
||
# If you get an error you may have an outdated buildkit version | ||
# Try running this: | ||
# docker buildx rm builder && docker buildx create --name builder --bootstrap --use | ||
|
||
docker buildx build \ | ||
--progress=plain \ | ||
--platform linux/s390x \ | ||
--build-arg="NODE_ARCH=s390x" \ | ||
-f ./.github/docker/Dockerfile \ | ||
--output type=local,dest=./docs,platform-split=false \ | ||
. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM node:22 AS build | ||
|
||
WORKDIR /bson | ||
COPY . . | ||
|
||
RUN rm -rf node_modules && npm install && npm test | ||
|
||
FROM scratch | ||
|
||
COPY --from=build /bson/docs/ / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.