Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS Lambda layer build #3110

Merged
merged 23 commits into from Dec 18, 2020
Merged

Conversation

iker-barriocanal
Copy link
Member

When something changes in @sentry/serverless a new action is triggered to build a zip file with all necessary @sentry packages to upload to AWS Lambda.

marshall-lee and others added 3 commits November 17, 2020 18:00
The packages to upload to the AWS Lambda layer are zipped. This zip file is cached.
Created another workflow to build the AWS Lambda layer by running a script when changes something on @sentry/serverless
Copy link
Member

@HazAT HazAT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.github/workflows/awslambda-build.yml is cool but I is it uploading the artifacts as well?

The goal is that this zip is contained in the artifact bundle once Github actions finished building.

packages/serverless/package.json Outdated Show resolved Hide resolved
.github/workflows/build.yml Show resolved Hide resolved
.github/workflows/awslambda-build.yml Outdated Show resolved Hide resolved
Removed the AWS Lambda workflow, and added the build to the main workflow.
Also, included the generated zip file to the artifacts.
The publish functionality should not be here, deleted.
Referenced the docs. Also, updated `yarn.lock`.
Instead of setting a default value at the beginning of the function, so that the undefined is avoided, it's now set in the parameter.
iker-barriocanal and others added 9 commits December 14, 2020 16:43
Fixed the broken promise, and removed the `path-exists` dependency from `package.json`.
…y/sentry-javascript into serverless/awslambda-automation
Using the function available in the same node version.
Also, removed some logs.
…y/sentry-javascript into serverless/awslambda-automation
@github-actions
Copy link
Contributor

github-actions bot commented Dec 16, 2020

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 19.97 KB (0%)
@sentry/browser - Webpack 20.8 KB (0%)
@sentry/react - Webpack 20.8 KB (0%)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 27.12 KB (0%)

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.

None yet

4 participants