NebraLtd/hm-block-tracker

Auto-generate and deploy `docker.config` as part of the cronjob

Closed this issue · 3 comments

The miner is automatically pulling docker.config as part of the start process. However, this file is currently served from helium-assets.nebra.com, which in turn isn't automatically generated and deployed.

I suggest that we:

  • Update the GitHub Workflow to use the master branch for 'TestNet' and the production branch for MainNet.
    • This way we can easily test new GA and breaking changes on TestNet without impacting MainNet
  • Point all of TestNet to helium-snapshots-stage.nebra.com using the Fleet environment variable OVERRIDE_CONFIG_URL

Ok, need to patch that for staging vs production then.

  • The docker.config file is now automatically generated as part of the GitHub Actions workflow for stage vs production
  • TestNet now points towards the staging environment
  • Update the Cronjob to build both staging and production snapshots