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

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

Merged
merged 6 commits into from
Mar 24, 2022

Conversation

j0k3r
Copy link
Member

@j0k3r j0k3r commented Dec 2, 2021

Replace #911

Closes #881

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 added this to the 5.7.0 milestone Dec 3, 2021
@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.

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