Kava-Labs / kava

DeFi for Crypto.
Apache License 2.0
446 stars 367 forks source link

ci: update protonet reset workflow for new infra #2033

Closed pirtleshell closed 1 week ago

pirtleshell commented 1 week ago

Description

Updates the reset network flow for protonet. The new flow should be more resilient. It consists of two steps:

  1. stopping the chain services & removing all data
  2. reconfiguring the chain & restarting the services

This should keep instances up to date with any infra enhancements going forward.

No changes to the data seeding have been made. The changes do not affect internal testnet. I will be replacing the infra & upgrading that network's flows next.

I have confirmed both the reset workflow & the existing seed workflow succeed via local workflow testing with act:

# save secrets to a local file, github-action.secrets, then...
act workflow_dispatch --secret-file github-action.secrets -W '.github/workflows/cd-protonet.yml'