Skip to content

Instantly share code, notes, and snippets.

@stevedomin
Last active September 25, 2022 19:55
Show Gist options
  • Save stevedomin/11374353 to your computer and use it in GitHub Desktop.
Save stevedomin/11374353 to your computer and use it in GitHub Desktop.
simple_dynamo_deploy mix file
defmodule SimpleDynamoDeploy.Mixfile do
use Mix.Project
def project do
[ app: :simple_dynamo_deploy,
version: "0.0.1",
build_per_environment: true,
dynamos: [SimpleDynamoDeploy.Dynamo],
compilers: [:elixir, :dynamo, :app],
deps: deps ]
end
# Configuration for the OTP application
def application do
[ applications: [:cowboy, :dynamo],
mod: { SimpleDynamoDeploy, [] } ]
end
defp deps do
[ { :cowboy, github: "extend/cowboy" },
{ :dynamo, "~> 0.1.0-dev", github: "dynamo/dynamo" },
{ :exrm, github: "bitwalker/exrm" } ]
end
end
defmodule SimpleDynamoDeploy do
use Application.Behaviour
@doc """
The application callback used to start this
application and its Dynamos.
"""
def start(_type, _args) do
SimpleDynamoDeploy.Dynamo.start_link([max_restarts: 5, max_seconds: 5])
end
end
==> Generating boot script...
==> Generating release...
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/test/fixtures/deps_status/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/test/fixtures/deps_status/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/test/fixtures/deps_status/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test correctly order converged deps/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test correctly order converged deps/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test correctly order converged deps/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test correctly order converged deps even with optional dependencies/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test correctly order converged deps even with optional dependencies/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test correctly order converged deps even with optional dependencies/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test extracts all dependencies from the given project/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test extracts all dependencies from the given project/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test extracts all dependencies from the given project/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test nested deps come first/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test nested deps come first/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test nested deps come first/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test nested optional deps are never added/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test nested optional deps are never added/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test nested optional deps are never added/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test only extract deps matching environment/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test only extract deps matching environment/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test only extract deps matching environment/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test only fetch child deps matching prod env/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test only fetch child deps matching prod env/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test only fetch child deps matching prod env/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test raises on invalid deps req/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test raises on invalid deps req/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test raises on invalid deps req/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test remote converger/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test remote converger/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test remote converger/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test use mix version for dependencies/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test use mix version for dependencies/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.DepTest/test use mix version for dependencies/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.CleanTest/test cleans deps/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.CleanTest/test cleans deps/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.CleanTest/test removes the build application/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.CleanTest/test removes the build application/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.CleanTest/test removes the build application/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test can customize environment/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test can customize environment/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test can customize environment/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test checks if dependencies are using old elixir version/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test checks list of dependencies and their status on failure/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test checks list of dependencies and their status on failure/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test checks list of dependencies and their status on failure/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test checks list of dependencies and their status with success/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test compiles dependencies with --quiet/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test compiles dependencies with --quiet/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test compiles dependencies with --quiet/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test converges duplicated deps at the same level/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test converges duplicated deps at the same level/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test converges duplicated deps at the same level/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test does not compile deps that have explicit flag/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test does not compile deps that have explicit flag/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test does not compile deps that have explicit flag/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test fails on missing dependencies/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test fails on missing dependencies/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test fails on missing dependencies/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test marks dependencies as needing compilation but automatically compile them on check/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test overrides unspecified SCM/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test overrides unspecified SCM/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test overrides unspecified SCM/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test prints elixir req mismatches/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test prints elixir req mismatches/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test prints elixir req mismatches/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test prints list of dependencies and their lock status/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test prints list of dependencies and their lock status/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test prints list of dependencies and their lock status/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test prints list of dependencies and their status/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test prints list of dependencies and their status/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test prints list of dependencies and their status/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test prints list of dependencies and their status, including req mismatches and custom apps/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test prints list of dependencies and their status, including req mismatches and custom apps/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test prints list of dependencies and their status, including req mismatches and custom apps/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test sets deps env to prod by default/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test sets deps env to prod by default/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test sets deps env to prod by default/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test updates parent dependencies/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test updates parent dependencies/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test updates parent dependencies/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test warns when no SCM is specified/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test warns when no SCM is specified/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test warns when no SCM is specified/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test works with converged dependencies/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test works with converged dependencies/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test works with converged dependencies/_build/dev/lib/ok/ebin/ok.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test works with overridden dependencies/_build/dev/lib/invalidapp/ebin/invalidapp.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test works with overridden dependencies/_build/dev/lib/invalidvsn/ebin/invalidvsn.app
===> Application metadata file exists but is malformed: /Users/steve/code/elixir/elixir/lib/mix/tmp/Mix.Tasks.DepsTest/test works with overridden dependencies/_build/dev/lib/ok/ebin/ok.app
rlx_mkdir_template_10060061_7297072: Warning: Compiled template not saved (need out_dir option)
rlx_copy_from_template_27204117_1214231: Warning: Compiled template not saved (need out_dir option)
rlx_copy_to_template_95229086_1718798: Warning: Compiled template not saved (need out_dir option)
rlx_copy_from_template_3751675_9330872: Warning: Compiled template not saved (need out_dir option)
rlx_copy_to_template_126137173_9835439: Warning: Compiled template not saved (need out_dir option)
==> Your release is ready!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment