-
Notifications
You must be signed in to change notification settings - Fork 106
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
feat(actions): add GH self-hosted runner for tests requiring network syncs #6740
Conversation
Here's a sync which has over 20 hours running, with a 120 hours timeout (intermediate steps have also been removed): https://github.com/ZcashFoundation/zebra/actions/runs/5098431127/jobs/9167648586 |
To limit Google Cloud costs, I'd suggest having a timeout that is close to the maximum time expected for the job. At the moment that's about 50-55 hours for the mainnet full sync. |
We're no longer going to use this approach. I'll create a PR with the new one. |
Motivation
Using self-hosted runners directly on VMs does not allow us to scale it and move it from different infraestructures easily, which requires us to build our own Docker image.
Specifications
TODO
Complex Code or Requirements
TODO
Solution
Create our own Docker image with a custom entrypoint which allow us to register the workers on-the-fly and at runtime, using a specific GitHub PAT (in the meanwhile)
Otherwise we'd have to manually run this steps before raising a new runner.
Review
Reviewer Checklist
Follow Up Work