Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.
/ ws-ops Public archive

Spacemesh public web services (dash, explore, api) deploy scripts

License

Notifications You must be signed in to change notification settings

spacemeshos/ws-ops

Repository files navigation

ws-ops

A Web Services DevOps script that deploys the following services:

  • Public API
  • Explorer
  • Dashboard

networks.json file contains specification what networks (production, testnet, devnet) are active. To deploy new network, just add it to networks.json and GitHub Actions pipeline will deploy all sort of things. If you delete network specification from networks.json, this network services will be uninstalled, be careful.

GitHub Actions pipeline located here. It works like this:

  • The GCLOUD_KEY to access Google Cloud is stored in repository Secrets. gcloud is setting up with this key.
  • CLOUDFLARE_API_TOKEN
  • STATUSPAGE_TOKEN
  • PAGERDUTY_TOKEN
  • The config files are downloaded by running templates/download-configs.t.
  • The helms that were installed on cluster are downloaded to helm-list.json
  • templates/networks.t starts. It creates values.yaml files for each helm and runs the upgrade (install, if helm not installed). If a network exists on the cluster, but is not present in networks.json - uninstall helms belonging to this network.

To run terraform locally you need following variables:

  • CLOUDFLARE_API_TOKEN
  • STATUSPAGE_TOKEN
  • PAGERDUTY_TOKEN
  • GOOGLE_APPLICATION_CREDENTIALS - path to Google service account

Discovery service

networks.json published via GitHub Pages on this link.

About

Spacemesh public web services (dash, explore, api) deploy scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages