-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need a simnet harness #41
Comments
This risks being a fairly large DevOps job. The two main dependencies are dcrdata and dcrstakepool. dcrdata has the following runtime dependencies:
and no deployment script. dcrstakepool has the following runtime dependencies:
and a simnet deployment script (first example in this issue). However, the script lists quite a few installation and configuration assumptions, which make running it a fairly large manual job. How far down the rabbit hole do we want to go? How much of the whole process do we want to automate? Even if we stop somewhere mid-way, this does not look like a job for a few shell scripts. For productivity, maintanability and robustness reasons, I would at least write it in Python with the help of Plumbum and libtmux. However, depending again on how extensively we want to automate the process, we might want to employ a more powerful tool like Ansible. Then there's the question of whether we're going to use container tools like Docker. All this would be easier if each tool and platform already had its own automated deployment we could reuse. I'm wary of scope creep though, and we do need to start somewhere. |
I agree with @teknico edit: |
You guys are thinking too hard on this. We already have the scripts written in about three other Decred projects. Not every dev is expected to run these, they won't run with github actions, and we don't have to have a VSP instance to get most testing done. Other than VSP, this issue should be resolved in an hour or two of work. |
Examples
Script will need to fire up dcrd, dcrdata, dcrstakepool/stakepoold. Ports chosen for the various RPCs can be hard-coded into the TD network configuration settings for simnet.
The text was updated successfully, but these errors were encountered: