Skip to content

Commit

Permalink
Allow deploying to lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
devinmatte committed May 6, 2024
1 parent 5b3de86 commit 8f1b004
Show file tree
Hide file tree
Showing 3 changed files with 212 additions and 130 deletions.
16 changes: 12 additions & 4 deletions devops/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,22 @@ function shrink {
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/numpy*/tests/**/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/pandas*/tests/**/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/pyarrow*/tests/**/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/sqlalchemy*/testing/**/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/tzdata/zoneinfo/Africa/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/tzdata/zoneinfo/Asia/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/tzdata/zoneinfo/Atlantic/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/tzdata/zoneinfo/Arctic/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/tzdata/zoneinfo/Brazil/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/tzdata/zoneinfo/Chile/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/tzdata/zoneinfo/Indian/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/tzdata/zoneinfo/Mexico/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/examples/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/a*/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/b*/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/co*/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/ch*/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/cu*/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/da*/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/di*/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/do*/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/de*/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/d*/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/e*/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/f*/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/g*/*
Expand All @@ -37,6 +43,8 @@ function shrink {
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/sa*/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/se*/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/ss*/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/st*/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/su*/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/t*/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/u*/*
zip -d -qq cfn/layer-deployment.zip python/lib/**/site-packages/boto*/data/v*/*
Expand Down
Loading

0 comments on commit 8f1b004

Please sign in to comment.