Skip to content

Ensure consistent artifact sha (remove bestzip and bring back archiver) - #1018

Merged
j0k3r merged 6 commits into
masterfrom
serverless-zip-method
Mar 24, 2022
Merged

j0k3r merged 6 commits into
masterfrom
serverless-zip-method

Conversation

@j0k3r

@j0k3r j0k3r commented Dec 2, 2021

Copy link
Copy Markdown
Member

Replace #911

Closes #881

@j0k3r
j0k3r requested a review from vicary December 2, 2021 13:14
@j0k3r j0k3r mentioned this pull request Dec 2, 2021
6 tasks done

@vicary vicary left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@j0k3r
j0k3r force-pushed the serverless-zip-method branch from f35818d to 5668fcf Compare December 3, 2021 14:26
@j0k3r j0k3r added this to the 5.7.0 milestone Dec 3, 2021
@j0k3r
j0k3r force-pushed the serverless-zip-method branch from 5668fcf to abf3f82 Compare February 3, 2022 21:01
@Dizolivemint

Copy link
Copy Markdown

just curious if there are any plans to add test coverage and merge @vicary @j0k3r

@j0k3r

j0k3r commented Mar 10, 2022

Copy link
Copy Markdown
Member Author

We tried to add e2e tests but we failed for now.

@j0k3r
j0k3r force-pushed the serverless-zip-method branch from 9b59391 to 9308429 Compare March 16, 2022 08:47
@j0k3r
j0k3r enabled auto-merge March 16, 2022 08:52
Comment thread lib/packageModules.js
*
* @see https://github.com/serverless/serverless/blob/63d54e1537e10ae63c171892edd886f6b81e83f6/lib/plugins/package/lib/zipService.js#L65
*/
function serverlessZip(args) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It seems the code coverage dropped because there are no unit tests for this new function.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It's hard to test unit it, in fact, we would like to provide e2e tests which will more easy to cover that code.

@j0k3r
j0k3r force-pushed the serverless-zip-method branch from 9308429 to f9c99a5 Compare March 24, 2022 08:21
@j0k3r
j0k3r disabled auto-merge March 24, 2022 08:21
@j0k3r
j0k3r force-pushed the serverless-zip-method branch from f9c99a5 to df24200 Compare March 24, 2022 10:46
@j0k3r
j0k3r merged commit a32276d into master Mar 24, 2022
@j0k3r
j0k3r deleted the serverless-zip-method branch March 24, 2022 10:49
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.

different sha256sum for zip file when no code changes

6 participants