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

Reduce the size of the Chef Workstation package / install #1386

Merged
merged 2 commits into from
Jul 31, 2020

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Jul 31, 2020

Some of this is work from omnibus-software itself and some of it is part of the omnibus config specific to workstation:

  1. Update cacerts to the latest release. This revokes some certs
  2. Update curl from 7.68.0 to 7.71.1 which includes a large number of bug fixes. We've also updated our curl omnibus config to remove support for gopher, imap, imaps, pop3, pop3s, smtp, and smtps protocols, which makes the binary a bit smaller (~40k).
  3. the bzcat binary is no longer being built with libarchive which drops install size by ~250k
  4. The unused chef functional/integration/stress specs are removed from the install in the cleanup definition. This is 242 files / 1.9 megs on disk

Overall this removes 243 files and 2.2 megs on disk.

We don't run these. They're not needed in the package and just increase
size on disk and install times

Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
@tas50 tas50 requested review from a team as code owners July 31, 2020 19:45
@netlify
Copy link

netlify bot commented Jul 31, 2020

Deploy preview for chef-workstation ready!

Built with commit b3d2d02

https://deploy-preview-1386--chef-workstation.netlify.app

@tyler-ball tyler-ball merged commit 2a97105 into master Jul 31, 2020
@tyler-ball tyler-ball deleted the cleanup_chef_specs branch July 31, 2020 21:01
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.

2 participants