sui icon indicating copy to clipboard operation
sui copied to clipboard

CLI: publish binaries so that developers do not need to build them locally

Open 666lcz opened this issue 3 years ago • 9 comments
trafficstars

Building/upgrading the CLI can take a long time, let's publish pre-built binaries so that users can just download and use

666lcz avatar Aug 25 '22 15:08 666lcz

@allan-bailey feel free to merge this issue if there's already another issue to track this

666lcz avatar Aug 29 '22 15:08 666lcz

When these land, please let me know so we can update the install docs. Thanks!

Clay-Mysten avatar Aug 29 '22 17:08 Clay-Mysten

@ebmifa can we mark this as done given https://github.com/MystenLabs/sui/releases/tag/devnet-0.13.0 ?

666lcz avatar Oct 31 '22 15:10 666lcz

Eugene Boguslavsky commented: This was actually done manually by [~accountid:630bbabdea661fd37d4e557d] . Next release it should be automated, once we verify we can close this.

exalate-issue-sync[bot] avatar Oct 31 '22 15:10 exalate-issue-sync[bot]

Chris Li commented: [~accountid:630bbabdea661fd37d4e557d] [~accountid:635aaadc7d4645af4f026215] have we verified that this is working?

exalate-issue-sync[bot] avatar Nov 10 '22 20:11 exalate-issue-sync[bot]

Eugene Boguslavsky commented: Yes. The binaries now get attached to a release in GH, when a new devnet-X.XX.X tag gets created, see [https://github.com/MystenLabs/sui/releases/tag/devnet-0.15.0|https://github.com/MystenLabs/sui/releases/tag/devnet-0.15.0|smart-link]

exalate-issue-sync[bot] avatar Nov 10 '22 20:11 exalate-issue-sync[bot]

Hey @ebmifa! I was just looking into this because it came up during my oncall rotation. As I understand it right now (from looking at our recent releases), we do have prebuilts but:

  • Only for devnet, (testnet-0.15.1 release didn't come with any).
  • They include debug symbols.

Are the debug symbols here to stay? They make the binaries quite large (1.1GB for sui) which limits their utility (long build vs long download).

amnn avatar Nov 14 '22 18:11 amnn

Eugene Boguslavsky commented: {quote}Only for devnet, (testnet-0.15.1 release didn't come with any).{quote}

Yeah, we have not started publishing binaries yet. Until testnet is up and running and we have the SLA nailed down, then it’d be easier to create them. [~accountid:635aaadc59c794184bca9207] and [~accountid:630bbabdea661fd37d4e557d] , does it make sense to start building the binaries now for testnet?

{quote}They include debug symbols.{quote}

Probably for a while, since we need to debug the environments

exalate-issue-sync[bot] avatar Nov 14 '22 19:11 exalate-issue-sync[bot]

Makes sense, thanks for clarifying! This makes total sense for developers running validators and full nodes (and for us). For developers who are using the sui CLI locally, we would likely want a stripped version of sui and maybe sui-faucet for a variety of platforms (eventually) as well.

amnn avatar Nov 14 '22 19:11 amnn

We now have releases with the Sui binary, so closing this issue. https://github.com/MystenLabs/sui/releases

stefan-mysten avatar Nov 24 '23 18:11 stefan-mysten