Packages

Build and Deploy Elixir Applications and perform Hot-Code Upgrades and Schema Migrations

Current section

Files

Jump to
edeliver_fork libexec defaults
Raw

libexec/defaults

#!/usr/bin/env bash
DELIVER_VERSION="1.4.5"
HOMEPAGE="https://github.com/boldpoker/edeliver"
CREATOR="bharendt"
ARGS="$@"
ORIGIN_DIR="$(pwd)"
APP_CONFIG=${APP_CONFIG:-"$ORIGIN_DIR/.deliver/config"}
GIT_REMOTE="deliver"
SSH_TIMEOUT=3
AUTHORIZED_REMOTE_HOSTS=()
REQUIRED_CONFIGS=("ORIGIN_DIR" "STRATEGY")
OPTIONAL_CONFIGS=("APP" "APP_USER" "DELIVER_TO" "REFSPEC" "GIT_PUSH" "REVISION" "FOREMAN_EXTRAS" "PORT" "AUTHORIZED_REMOTE_HOSTS")
MODE=${MODE:-"compact"}
log_file="/tmp/deliver-${APP}"
TARGET_MIX_ENV=prod