Akd v0.3.0 Akd.Deployment View Source

This module represents a Deployment struct which contains metadata about a deployment.

The meta data involves:

  • build_at - Akd.Destination.t where the app/node will be built/released.
  • mix_env - Mix environment to build the app, represented by a String.t.
  • name - Name with which the app/node will be published.
  • publish_to - Akd.Destination.t where the app/node will be published.
  • vsn - Version of app that is being released, represented by a String.t.
  • hooks - A list of Akd.Hook.t that will be run in order when a deployment is executed.

This struct is mainly used by native hooks in Akd, but it can be leveraged to produce custom hooks.

Link to this section Summary

Types

t()

Generic type for a Deployment struct

Link to this section Types

Link to this type

t() View Source
t() :: %Akd.Deployment{
  build_at: Akd.Destination.t(),
  data: Map.t(),
  hooks: [Akd.Hook.t()],
  mix_env: String.t(),
  name: String.t(),
  publish_to: Akd.Destination.t(),
  vsn: String.t()
}

Generic type for a Deployment struct