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

feat(core): customize bundling output packaging #13152

Merged
merged 27 commits into from
Feb 28, 2021
Merged

Conversation

jogold
Copy link
Contributor

@jogold jogold commented Feb 19, 2021

Redo of #13076 after #13131. The fix is 7b3d829 (#13152).

If the bundling output contains a single archive file (zip or jar), upload it
as-is to S3 without zipping it.

Allow to customize this behavior with bundling.outputType:

  • NOT_ARCHIVED: The bundling output will always be zipped and uploaded to S3.
  • ARCHIVED: The bundling output will not be zipped. Bundling will fail if
    the bundling output doesn't contain a single archive file.
  • AUTO_DISCOVER: If the bundling output contains a single archive file (zip or jar) it
    will not be zipped. Otherwise it will be zipped. This is the default.

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

@gitpod-io
Copy link

gitpod-io bot commented Feb 19, 2021

@github-actions github-actions bot added the @aws-cdk/core Related to core CDK functionality label Feb 19, 2021
@jogold
Copy link
Contributor Author

jogold commented Feb 24, 2021

@eladb have you seen this?

@eladb
Copy link
Contributor

eladb commented Feb 24, 2021

No. I'll take a look today. Thanks

This was referenced Mar 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/core Related to core CDK functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants