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

devops: allow downloading zebrad and lightwalletd states #9136

Open
conradoplg opened this issue Jan 17, 2025 · 3 comments
Open

devops: allow downloading zebrad and lightwalletd states #9136

conradoplg opened this issue Jan 17, 2025 · 3 comments
Labels
A-devops Area: Pipelines, CI/CD and Dockerfiles C-bug Category: This is a bug S-needs-triage Status: A bug report needs triage

Comments

@conradoplg
Copy link
Collaborator

Describe the issue or request

In CI we have cached disks which contain the zebrad state for both mainnet and testnet, and similarly for lightwalletd.

When developing, it would be useful to be able to download those states - the developer might not have a synced node and it would take hours/days to sync one.

I'm not sure what the best mechanism would be, but the goal is allowing a developer to download the state (i.e. the .cache/zebra/state folder) from somewhere.

Since it would be big (~300 GB), we will probably require access control.

Expected Behavior

No response

Current Behavior

No response

Possible Solution

No response

Additional Information/Context

No response

Is this happening on PRs?

No response

Is this happening on the main branch?

No response

@conradoplg conradoplg added A-devops Area: Pipelines, CI/CD and Dockerfiles C-bug Category: This is a bug S-needs-triage Status: A bug report needs triage labels Jan 17, 2025
@github-project-automation github-project-automation bot moved this to New in Zebra Jan 17, 2025
@mpguerra
Copy link
Contributor

I wonder if we could just write some internal documentation on how to download this from our GCP instances, i.e for those with access to google cloud console already

@conradoplg
Copy link
Collaborator Author

I wonder if we could just write some internal documentation on how to download this from our GCP instances, i.e for those with access to google cloud console already

That could work, though I tried that I didn't manage to make it work (I think I don't have permissions)

@mpguerra
Copy link
Contributor

I guess the question is:

  1. Is it possible to download existing states from zebra instances running on GCP?
  2. If so, what are the instructions to do so? Where are they and what are steps to download locally

@gustavovalverde is this something that you can help out with?

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-bug Category: This is a bug S-needs-triage Status: A bug report needs triage
Projects
Status: New
Development

No branches or pull requests

2 participants