Skip to content
Vanshdeep Singh edited this page Sep 14, 2020 · 13 revisions

Welcome to the control-node wiki!

Development

Stage 1

Assumptions

  • Elixir release tar.gz file is available

Support local registry

A registry will allow users to upload an archive as a new release. This archive can then later be used to deploy the version. In the first iteration support only local registry i.e. an archive is directly uploaded to control node which then stores it locally onto the filesystem.

%ControlNode.Registry.Local{
  path: "/path/to/local/archive/folder"  
}

Support App definition config

%ControlNode.Host.SSH{
  host: "host-vm",
  user: "username"
}
%ControlNode.Application{
  name: :my_production_app,
  registry: %ControlNode.Registry.Local{},
  rollout_strategy: :restart
}

Support Namespace configuration

%ControlNode.Namespace{
  tag: :staging,
  deployment_hosts: [%ControlNode.Host.SSH{}],
  application: %ControlNode.Application{}
}
Clone this wiki locally