View Source Horizon.Ops.BSD.Step (horizon v0.2.5)

The Horizon.Ops.BSD.Step module contains steps that are used to perform tasks during the release process.

  • setup/1 - Run all the needed release steps.
  • echo/1 - Echo the release name and options to the console.
  • merge_defaults/1 - Merges the Horizon.Ops defaults into the release options.
  • setup_rcd/1 - Create the rc.d script for the release.

Summary

Functions

Echo the release name and options to the console.

Merges the Horizon.Ops.BSD defaults into the release options.

Run the merge and rcd release steps.

Create the rc.d script for the release. This script is created overlays/rc_d and copied to /usr/local/etc/rc.d/<app> during deploy.

Functions

echo(release)

@spec echo(Mix.Release.t()) :: Mix.Release.t()

Echo the release name and options to the console.

merge_defaults(release)

@spec merge_defaults(Mix.Release.t()) :: Mix.Release.t()

Merges the Horizon.Ops.BSD defaults into the release options.

Calling this step will override Elixir's default value for release.path and release.version_path.

setup(release)

@spec setup(Mix.Release.t()) :: Mix.Release.t()

Run the merge and rcd release steps.

setup_rcd(release)

@spec setup_rcd(Mix.Release.t()) :: Mix.Release.t()

Create the rc.d script for the release. This script is created overlays/rc_d and copied to /usr/local/etc/rc.d/<app> during deploy.