Skip to content

Implement the generation engine of the mithril-setup setup artifacts #3725

Backlog

Description

@jpraynaud

Why

The mithril-setup orchestrator only prints the validated store when it exports the setup artifacts, so the command cannot yet produce the files and instructions an operator needs to run a Mithril signer and its DMQ node.

What

A generation engine, independent from the terminal user interface and the orchestrator state machine, takes a typed parameters struct built from the validated store and produces the setup artifacts in several output flavors (markdown, text, service scripts, Docker, ...).

How

  • Define the parameters struct of the signer setup, built from the validated store
  • Implement the generation engine in its own module, with no dependency on the terminal user interface nor the state machine
  • Create Service scripts (Mithril signer and DMQ node environment, configuration and systemd units)
  • Provide the command line (to run) shown to the user and additional instructions (firewall configuration, ...) on the result screen of the mithril-setup signer command
  • Document the generated artifacts in the mithril-setup documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature 🚀

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions