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

chore(monocdk): bundle lambda handlers #6096

Merged
merged 5 commits into from
Feb 5, 2020
Merged

Conversation

eladb
Copy link
Contributor

@eladb eladb commented Feb 4, 2020

Bundle all the rest of the module code into the monocdk bundle.

Current size: ~30MiB (compressed)


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Elad Ben-Israel added 2 commits February 4, 2020 16:46
Bundle all the rest of the module code into the monocdk bundle.

Current size: 14MiB (compressed)
@eladb eladb requested a review from nija-at February 4, 2020 14:47
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Feb 4, 2020
@nija-at nija-at added the pr/do-not-merge This PR should not be merged at this time. label Feb 4, 2020
@@ -4,6 +4,9 @@ const fs = require('fs-extra');
const path = require('path');
const glob = require('glob');

const INCLUDE_DIRS = [ 'lib', 'lambda', 'lambda-packages' ];
const EXCLUDE_DIRS = [ 'lib', 'test', 'node_modules', 'scripts', 'build-tools', 'rosetta', 'suffixes' ];
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't need lib in both lists, right? Just in the include should be sufficient.

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Elad Ben-Israel added 3 commits February 5, 2020 09:40
in order to ensure that the bundled module is not polluted by the mono-repo and that we actually bundle non-jsii dependencies.
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@eladb eladb merged commit 66ac052 into master Feb 5, 2020
@eladb eladb deleted the benisrae/bundle-lambda-handlers branch February 5, 2020 13:27
@eladb eladb changed the title chore(monocle): bundle lambda handlers chore(monocdk): bundle lambda handlers Feb 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS. pr/do-not-merge This PR should not be merged at this time.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants