0xPolygonMiden / miden-node

Reference implementation of the node for the Polygon Miden rollup
MIT License
52 stars 34 forks source link

Streamline node deployment #405

Open Mirko-von-Leipzig opened 1 month ago

Mirko-von-Leipzig commented 1 month ago

See previous discussion for some history and context. In particular, this issue is derived from this comment:

What to improve

Whatever scripts or workflows are used should be extensively documented so that an operator or dev can understand what is going on in an emergency.

bobbinth commented 1 month ago

I think once we have the relatively simple scripts developed, we can ask the DevOps team to help us with the automation.

cc @Dominik1999 and @phklive.

Dominik1999 commented 1 month ago

Jup, @BrucePolygon is already on this. I think the infrastructure is now set up. Maybe @Mirko-von-Leipzig can work directly with @BrucePolygon to get it done?

Mirko-von-Leipzig commented 1 month ago

I suspect it might be better if we don't separate the init commands from the github infrastructure file. The commands are minimal and do have some coupling with settings like working directory, binary location of the systemd files.

I suggest we begin by first having it all in the github file. It might be more obvious what we want to move out, if anything.

bobbinth commented 1 month ago

I don't have a strong opinion here - but I am curious if we could improve the init commands somehow so that in case when we are installing from crates.io, we wouldn't need to get anything from the GitHub repo.

Mirko-von-Leipzig commented 1 month ago

I don't have a strong opinion here - but I am curious if we could improve the init commands somehow so that in case when we are installing from crates.io, we wouldn't need to get anything from the GitHub repo.

I'll check that out once the devops issue is figured out. There are also other options if we're pursuing simplicity.