edeliver v1.8.0 mix edeliver

Build and deploy Elixir applications and perform hot-code upgrades

Usage:

  • mix edeliver command-info [Options]
  • mix edeliver --help|--version
  • mix edeliver help

Build Commands:

  • mix edeliver build release [--revision=|--tag=] [--branch=] [Options]
  • mix edeliver build appups|upgrade --from=|--with= [--to=] [--branch=] [Options]

Deploy Commands:

  • mix edeliver deploy release|upgrade [[to] staging|production] [--version=] [Options]
  • mix edeliver upgrade [staging|production] [--to=] [--branch=] [Options]
  • mix edeliver update [staging|production] [--to=] [--branch=] [Options]

Node Commands:

  • mix edeliver start|stop|restart|ping|version [staging|production] [Options]
  • mix edeliver migrate [staging|production] [up|down] [--version=]
  • mix edeliver [show] migrations [on] [staging|production]

Local Commands:

  • mix edeliver check release|config [--version=]
  • mix edeliver show releases|appups
  • mix edeliver show relup
  • mix edeliver edit relup|appups [--version=]
  • mix edeliver upload|download [release|upgrade ]| []
  • mix edeliver increase [major|minor] versions [--from=] [--to=]
  • mix edeliver unpack|pack release|upgrade [--version=]

Command line Options

  • --quiet - do not output verbose messages
  • --only - only fetch dependencies for given environment
  • -C, --compact Displays every task as it's run, silences all output. (default mode)
  • -V, --verbose Same as above, does not silence output.
  • -P, --plain Displays every task as it's run, silences all output. No colouring. (CI)
  • -D, --debug Runs in shell debug mode, displays everything.
  • -S, --skip-existing Skip copying release archives if they exist already on the deploy hosts.
  • -F, --force Do not ask, just do, overwrite, delete or destroy everything
  • --clean-deploy Delete the release, lib and erts-* directories before deploying the release
  • --start-deploy Starts the deployed release. If release is running, it is restarted!
  • --host=[u@]vwx.yz Run command only on that host, even if different hosts are configured
  • --skip-git-clean Don't build from a clean state for faster builds. By default all built files are removed before the next build using git clean. This can be adjusted by the $GIT_CLEAN_PATHS env.
  • --skip-mix-clean Skip the 'mix clean step' for faster builds. Makes only sense in addition to the --skip-git-clean
  • --skip-relup-mod Skip modification of relup file. Custom relup instructions are not added
  • --relup-mod=<module-name> The name of the module to modify the relup
  • --auto-version=revision|commit-count|branch|date Automatically append metadata to release version.
  • --increment-version=major|minor|patch Increment the version for the current build.
  • --set-version=<release-version> Set the release version for the current build.
  • --mix-env=<env> Build with custom mix env $MIX_ENV. Default is 'prod'

Link to this section Summary

Functions

Forwards stdin to the edeliver script which was spawned as port.

Callback implementation for Mix.Task.run/1.

Link to this section Functions

Link to this function

forward_stdin(port)

forward_stdin(port :: port()) :: :ok

Forwards stdin to the edeliver script which was spawned as port.

Callback implementation for Mix.Task.run/1.