Skip to content
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

Create a Docker images and docker-compose for mining with Zebra on Testnet #6118

Closed
arya2 opened this issue Feb 8, 2023 · 8 comments
Closed
Labels
A-devops Area: Pipelines, CI/CD and Dockerfiles C-enhancement Category: This is an improvement I-usability Zebra is hard to understand or use

Comments

@arya2
Copy link
Contributor

arya2 commented Feb 8, 2023

Motivation

We could make it easier for people to try mining with Zebra on Testnet by publishing a Docker image.

This would also make it easier to add a manually dispatched workflow to our CI for testing mining pool support.

Design

Collect all of the steps for starting s-nomp and nheqminer zebra-instructions into Dockerfile(s).

Add a docker-compose file for starting zebra-mining-rpcs-testnet, redis, s-nomp, and nheqminer. (Exclude zebra-mining-rpcs-testnet from docker-compose so the rest of the instances can be spun up after the testnet sync?)

Timing

We're going to limit this ticket to 2 days of work, because it won't be usable in production. (We had to disable parts of s-nomp because it doesn't support NU5.)

@arya2 arya2 added A-devops Area: Pipelines, CI/CD and Dockerfiles C-enhancement Category: This is an improvement S-needs-triage Status: A bug report needs triage P-Medium ⚡ I-usability Zebra is hard to understand or use labels Feb 8, 2023
@mpguerra mpguerra added this to Zebra Feb 8, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in Zebra Feb 8, 2023
@teor2345
Copy link
Contributor

teor2345 commented Feb 8, 2023

This might have a lot of overlap with ticket #6025, can you update its ticket description to mention this ticket?

@teor2345
Copy link
Contributor

teor2345 commented Feb 8, 2023

Is this a low priority or optional ticket?

@mpguerra
Copy link
Contributor

mpguerra commented Feb 9, 2023

If we do a "How to mine using s-nomp and Zebra on testnet" blogpost we would ideally provide the docker image already so I feel like this is potentially a blocker for finishing off #6028. However, we may decide that the instructions on there are good enough.

@arya2
Copy link
Contributor Author

arya2 commented Feb 9, 2023

Is this a low priority or optional ticket?

I think it's a should-have and medium priority so it can be included in the Zebra book.

@mpguerra
Copy link
Contributor

@teor2345
Copy link
Contributor

This has a lot of overlap with #6200, we might want to make that Docker image first. I'll try to do that today.

@arya2 arya2 changed the title Create a Docker image for mining with Zebra on Testnet Create a Docker images and docker-compose for mining with Zebra on Testnet Feb 24, 2023
@mpguerra mpguerra removed the S-needs-triage Status: A bug report needs triage label Mar 16, 2023
@arya2 arya2 removed their assignment Mar 17, 2023
@teor2345
Copy link
Contributor

@arya2 @mpguerra do we need to implement this ticket? Have any users asked for it?

s-nomp doesn't support generating its own NU5 coinbase transactions, so I'm not sure if we would want to create a Docker image that uses s-nomp. And I'm not sure if testnet images are useful to our users.

@arya2
Copy link
Contributor Author

arya2 commented Aug 18, 2023

@arya2 @mpguerra do we need to implement this ticket? Have any users asked for it?

I don't think it's worthwhile anymore.

@teor2345 teor2345 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 18, 2023
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Zebra Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-devops Area: Pipelines, CI/CD and Dockerfiles C-enhancement Category: This is an improvement I-usability Zebra is hard to understand or use
Projects
Status: Done
Development

No branches or pull requests

3 participants