Mandrag

Deploy Elixir releases to Kubernetes via Distilerry and Helm

Requirements

Mandrag expects that you have docker, kubectl and helm binaries installed and conifgured. It also expects to you have a helm chart in the chart directory.

Installation

If available in Hex, the package can be installed by adding mandrag to your list of dependencies in mix.exs:

def deps do
  [
    {:mandrag, "~> 0.5.0"}
  ]
end

Configure

config :mandrag,
  # The name of your app.  Required.
  app: :app_name,
  # You can also specify a docker image, it defaults to the value speficied in :app
  image: docker/app_name

TODO:

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/mandrag.