Use cached state for continuous deployment instances #6894
Labels
A-devops
Area: Pipelines, CI/CD and Dockerfiles
C-enhancement
Category: This is an improvement
C-testing
Category: These are tests
I-remote-node-overload
Zebra can overload other nodes on the network
I-slow
Problems with performance or responsiveness
S-needs-triage
Status: A bug report needs triage
Motivation
If we want to deploy instances on every main branch push, they need to use a persistent state disk, or a copy of the CI cached state.
Otherwise, they will put a lot of load on the network by syncing all the time. And they won't be very useful for testing.
Doing this for the release and manual deploy instances also makes them available faster, and puts less load on the network. (Changing the state path will disable the cache for manual deploys, that's an existing input parameter.)
This would be useful to have before we tag the first stable release, but it's not a blocker.
Other Changes
We should re-enable deployments on main branch pushes as part of this PR, by reverting PR #6895.
Testing
Check the Google Cloud logs of a manually deployed instance, and look for the block height.
The text was updated successfully, but these errors were encountered: