Skip to content

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

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

Merged
merged 6 commits into from
Mar 24, 2022

Conversation

j0k3r
Copy link
Member

@j0k3r j0k3r commented Dec 2, 2021

Replace #911

Closes #881

@j0k3r j0k3r requested a review from vicary December 2, 2021 13:14
Copy link
Member

@vicary vicary left a comment

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

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

@j0k3r
Copy link
Member Author

j0k3r commented Mar 10, 2022

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
*
* @see https://github.com/serverless/serverless/blob/63d54e1537e10ae63c171892edd886f6b81e83f6/lib/plugins/package/lib/zipService.js#L65
*/
function serverlessZip(args) {

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
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