canonical / microceph

Ceph for a one-rack cluster and appliances
https://snapcraft.io/microceph
GNU Affero General Public License v3.0
193 stars 27 forks source link

Smaller snap #299

Closed simondeziel closed 4 months ago

simondeziel commented 4 months ago

The snap artifact itself (10MiB smaller):

# df -ha | grep /snap/microceph/
snapfuse                95M   95M     0 100% /snap/microceph/872
snapfuse                85M   85M     0 100% /snap/microceph/x1

The uncompressed versions (13MiB smaller):

# du -sm /snap/microceph/*[0-9]
283    /snap/microceph/872
270    /snap/microceph/x1

Similar tricks (trimpath and strip) were done on LXD and MicroCloud.

simondeziel commented 4 months ago

@UtkarshBhatthere the unit tests wouldn't run before this PR, I tried fixing them and improved things a little but now it's failing in microceph code which I'm reluctant to touch.

UtkarshBhatthere commented 4 months ago

Thanks for the change Simon, I'll take it up from here and get it merged 😊

simondeziel commented 4 months ago

@UtkarshBhatthere awesome, thanks for pushing that one over the finish line!