Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Gather requirements for binary distribution #7284

Closed
1 of 2 tasks
mrcnski opened this issue May 24, 2023 · 3 comments
Closed
1 of 2 tasks

Gather requirements for binary distribution #7284

mrcnski opened this issue May 24, 2023 · 3 comments
Assignees

Comments

@mrcnski
Copy link
Contributor

mrcnski commented May 24, 2023

ISSUE

Overview

For distributing polkadot, the status quo is that we have a single binary and users can:

  1. download the binary
  2. build it themselves and copy into the appropriate directory
  3. or install through a Deb package.

As per this discussion, we want to start gathering requirements for a potential change to this where we would have multiple binaries. They also need to be built with the musl target which changes how (2) is done.

Do we need to keep supporting all the above cases or can we simplify it? How would multiple binaries affect the experience? How can we minimize pain for breakage?

Questions:

  • 1. What are validators’ requirements, e.g. how can we keep installation simple and minimize breakage for them?
  • 2. What are our requirements for testing, e.g. how is installation done on Versi right now?
    • It will most likely not have too much impact for the two ways the devops team is running nodes: docker (in kubernetes) and systemd (provisionned on VMs with ansible)
@Polkadot-Forum
Copy link

This issue has been mentioned on Polkadot Forum. There might be relevant details there:

https://forum.polkadot.network/t/ux-of-distributing-multiple-binaries-take-2/2854/31

@mrcnski
Copy link
Contributor Author

mrcnski commented May 26, 2023

For (2):

It will most likely not have too much impact for the two ways the devops team is running nodes: docker (in kubernetes) and systemd (provisionned on VMs with ansible).

I also got feedback that an install script is not needed, as long as it is clear what binaries are needed to run the node and potentially a flag to specify the path of those extra binaries (if unable to determine it automatically).

@mrcnski
Copy link
Contributor Author

mrcnski commented Aug 21, 2023

Done in w3f/polkadot-wiki#4860

@mrcnski mrcnski closed this as completed Aug 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

3 participants