Skip to content

Build new Lambda extension#1383

Merged
antonpirker merged 16 commits into
feature/serverless_overhaulfrom
antonpirker/WEBBACKEND-116-extension-in-lambda-layer
Apr 14, 2022
Merged

Build new Lambda extension#1383
antonpirker merged 16 commits into
feature/serverless_overhaulfrom
antonpirker/WEBBACKEND-116-extension-in-lambda-layer

Conversation

@antonpirker

@antonpirker antonpirker commented Apr 1, 2022

Copy link
Copy Markdown
Contributor

This changes the build process of the AWS Lambda Layer to:

  1. Prepare only a directory with all the Python code in the make script (as opposed to creating the directory and zipping it as before

  2. Added the new sentry lambda extension from the release registry to the zip file

  3. Zip the directory in a GitHub action.

  4. and 3) are done in the new Github action: https://github.com/getsentry/action-build-aws-lambda-extension

(This makes it portable to the Javascript (and other) SDKs in the future)

@antonpirker
antonpirker force-pushed the antonpirker/WEBBACKEND-116-extension-in-lambda-layer branch from 0b7c5fd to 8481d29 Compare April 1, 2022 12:04
@antonpirker
antonpirker force-pushed the antonpirker/WEBBACKEND-116-extension-in-lambda-layer branch 3 times, most recently from d86fe23 to 7dfde65 Compare April 6, 2022 09:41
@antonpirker
antonpirker force-pushed the antonpirker/WEBBACKEND-116-extension-in-lambda-layer branch from 7dfde65 to d5ce360 Compare April 6, 2022 09:48
@antonpirker antonpirker added this to the Improve support for AWS Lambda milestone Apr 6, 2022
@antonpirker
antonpirker requested a review from sl0thentr0py April 6, 2022 09:56
@antonpirker
antonpirker marked this pull request as ready for review April 6, 2022 09:57
Comment thread Makefile Outdated
@antonpirker
antonpirker changed the base branch from master to feature/serverless_overhaul April 14, 2022 09:03
@antonpirker
antonpirker merged commit a0ba3cd into feature/serverless_overhaul Apr 14, 2022
@antonpirker
antonpirker deleted the antonpirker/WEBBACKEND-116-extension-in-lambda-layer branch April 14, 2022 09:07
antonpirker added a commit that referenced this pull request Jun 21, 2022
* Build new Lambda extension (#1383)
* Use new GitHub action for creating Lambda layer zip.
* Use new GitHub action for creating zip.
* Replace original DSN host/port with localhost:3000 (#1414)
* Added script for locally building/release Lambda layer
* Added script to attach layer to function

Co-authored-by: Neel Shah <neel.shah@sentry.io>
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