Skip to content

Conversation

@tigarmo
Copy link
Collaborator

@tigarmo tigarmo commented Jan 16, 2023

Now that pebble has been published as a snap we can use it directly instead of building the binary each time. Prime only the binary and "organize" it as /usr/bin/pebble just like the previous part did.

  • Have you signed the CLA?

(CRAFT-1566)

@tigarmo tigarmo force-pushed the CRAFT-1566-pebble-snap branch from d4b5275 to c17cef9 Compare January 16, 2023 18:53
@tigarmo tigarmo requested a review from cjdcordeiro January 17, 2023 13:56
@tigarmo tigarmo marked this pull request as ready for review January 17, 2023 13:56
@tigarmo
Copy link
Collaborator Author

tigarmo commented Jan 17, 2023

The spread failure is due to this bug: https://bugs.launchpad.net/snapd/+bug/2002835
All spread tests that run rockcraft in Fedora are currently failing

Copy link
Collaborator

@lengau lengau left a comment

Choose a reason for hiding this comment

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

I presume we've got a reminder somewhere to change this to a more stable pebble snap once it's released to a channel other than edge

@tigarmo tigarmo requested a review from cjdcordeiro January 19, 2023 11:41
Copy link
Contributor

@cjdcordeiro cjdcordeiro left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

Now that pebble has been published as a snap we can use it directly
instead of building the binary each time. Prime only the binary and
"organize" it as /usr/bin/pebble just like the previous part did.
@tigarmo tigarmo force-pushed the CRAFT-1566-pebble-snap branch from 5932a05 to 26ff522 Compare January 19, 2023 13:04
@tigarmo tigarmo enabled auto-merge (squash) January 19, 2023 13:05
@sergiusens
Copy link

Out of curiosity, what is the speed improvement here?

@tigarmo tigarmo merged commit 042009d into canonical:main Jan 24, 2023
@tigarmo tigarmo deleted the CRAFT-1566-pebble-snap branch January 24, 2023 21:18
@tigarmo
Copy link
Collaborator Author

tigarmo commented Jan 24, 2023

@sergiusens I compared the spread runs with and without this change and it looks like we went from around ~32min to around ~26min (total). Pretty nice actually

tigarmo pushed a commit that referenced this pull request Mar 24, 2025
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

4 participants