Skip to content

Commit

Permalink
Updates and fixes (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samrose-Ahmed authored May 26, 2024
1 parent 6329213 commit 739b4f2
Show file tree
Hide file tree
Showing 8 changed files with 383 additions and 125 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ build-python: build-python-rust
rm -rf local-assets/MatanoDetectionsCommonLayer && cd lib/python/matano_detection && $(MAKE) release

build-rust:
cd lib/rust && PYO3_CROSS_PYTHON_VERSION=3.9 cargo lambda build --release --workspace && \
cd lib/rust && PYO3_CROSS_PYTHON_VERSION=3.9 cargo lambda build --target x86_64-unknown-linux-gnu.2.26 --release --workspace && \
mkdir -p ${CURDIR}/local-assets && \
cp -a target/lambda/* ${CURDIR}/local-assets

Expand Down
64 changes: 34 additions & 30 deletions cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"@oclif/plugin-help": "^5",
"@oclif/plugin-plugins": "^2.0.1",
"ansi-styles": "^5",
"aws-cdk": "2.54.0",
"aws-sdk": "^2.1093",
"aws-cdk": "2.85.0",
"aws-sdk": "^2.1311",
"chalk": "^4",
"enquirer": "^2.3",
"execa": "^5",
Expand Down
4 changes: 3 additions & 1 deletion infra.pkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
"targets": ["node14.18.1-linux-x64", "node14.18.1-macos-x64"],
"assets": [
"./data/**/*",
"./infra/node_modules/aws-cdk-lib/custom-resource-handlers/lib/aws-s3/auto-delete-objects-handler/*.js",
"./infra/node_modules/aws-cdk-lib/custom-resources/lib/provider-framework/runtime/*.js",
"./infra/node_modules/aws-cdk-lib/lambda-layer-awscli/**/*",
"./infra/node_modules/aws-cdk-lib/asset-awscli-v1/**/*",
"./infra/node_modules/@aws-cdk/asset-awscli-v1/**/*",
"./infra/node_modules/aws-cdk-lib/aws-s3-assets/**/*",
"./infra/node_modules/aws-cdk-lib/aws-s3-deployment/**/*",
"./infra/node_modules/aws-cdk-lib/aws-s3/**/*"
"./infra/node_modules/aws-cdk-lib/aws-s3/**/*",
"./infra/node_modules/aws-cdk-lib/lazy-index.js"
],
"outputPath": "build"
}
Expand Down
Loading

0 comments on commit 739b4f2

Please sign in to comment.