Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/catalyst: implement stack of configuration files #680

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

iameli-streams
Copy link
Contributor

@iameli-streams iameli-streams commented Sep 28, 2023

For overriding stuff! This will allow people to better override configuration settings in their development environment and set up the framework for people to run their own boxes in production-like settings.

I'm trying to figure out the new command-line options and it's hard. Braindump:

It's confusing because there's a few operations here:

  • 馃棐 update-manifest: Update manifest file
  • 馃摡 download: Download new binaries
  • 馃彈 build-config: Build MistController JSON config from YAML files
  • 馃攣 roll-mist: Trigger Mist reload for running process (SIGUSR1) (mutually exclusive with exec)
  • 馃崻 exec: Exec myself to become MistController (mutually exclusive with roll-mist)

Workflow: Boot up a prod server
catalyst

  • 馃彈 build-config
  • 馃崻 exec

Workflow: Boot up a canary server w/ a custom manifest pointing at different branches
catalyst --update-manifest --download

  • 馃棐 update-manifest
  • 馃摡 download
  • 馃彈 build-config
  • 馃崻 exec

Workflow: Download binaries from manifest (Dev environment init)
catalyst --download --exec=false

  • 馃摡 download

Workflow: Build a new manifest (CI)
catalyst --update-manifest --exec=false

  • 馃棐 update-manifest

Workflow: Run an inplace-deploy on a prod server (Manifest from somewhere else)
catalyst --download --roll-mist

  • 馃摡 download
  • 馃彈 build-config
  • 馃攣 roll-mist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants