-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(#71): Use lambda layers to delete api/package directory
Closes #71
- Loading branch information
Showing
592 changed files
with
182 additions
and
156,729 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM amazonlinux:2018.03 | ||
RUN ulimit -n 1024 && yum -y update && yum -y install \ | ||
python38 \ | ||
python38-pip \ | ||
python38-devel \ | ||
zip \ | ||
&& yum clean all | ||
|
||
RUN python3 -m pip install pip==22.1.2 | ||
RUN pip install virtualenv==20.14.1 |
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,6 @@ | ||
#!/bin/bash | ||
virtualenv --python=/usr/bin/python3.8 python #Python is the name of de layer | ||
soure python/bin/active | ||
pip install -r requirements.txt -t python/lib/python3.8/site-pakages | ||
|
||
zip -r9 python.zip python |
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,9 @@ | ||
beautifulsoup4==4.9.1 | ||
certifi==2022.12.7 | ||
chardet==3.0.4 | ||
idna==2.10 | ||
requests==2.31.0 | ||
soupsieve==2.0.1 | ||
zulip==0.8.2 | ||
sentry-sdk==1.14.0 | ||
python-lambda==11.8.0 |
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,14 @@ | ||
#!/bin/bash | ||
|
||
container_name=lambda_docker | ||
docker_image=aws_lambda_builder_image | ||
|
||
docker build --tag $container_name . | ||
|
||
docker run -td --name=$container_name $docker_image | ||
docker cp ./requirements.txt $container_name:/ | ||
|
||
docker exec -i $container_name /bin/bash < ./docker_install.sh | ||
docker cp $container_name:/python.zip python.zip | ||
docker stop $container_name | ||
docker rm $container_name |
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
infra/api/package/beautifulsoup4-4.9.1.dist-info/COPYING.txt
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
131 changes: 0 additions & 131 deletions
131
infra/api/package/beautifulsoup4-4.9.1.dist-info/METADATA
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.