Thomas Depierre
@DianaO
Diana Olympos
Twitter :
Github :
That may be ok, but know why you are cutting some steps
Why mix ?
Risk surface
Dead code
Not easy to integrate in a runtime
Special for you know who you are :
mix phx.server
server: true
mix run --no-halt
Goals :
Answers :
rel/config.exs
release
environment
rel/config.exs
https://hexdocs.pm/distillery/configuration.html#configuration
There is only one real solution, two folded :
Caching :
mix deps.get
mix deps.compile --all
based on mix.lock
Incremental :
mix deps.get
mix deps.compile --all
incremental
mix compile
incremental
but ... caching ?
does it really matters...
macros and use...
Mostly will depend of your deployment strategy :
Up to you, depends of your use case.
sys.config
vm.args
https://landing.google.com/sre/book/chapters/release-engineering.html
git tag
You can version in distillery dynamically
rel/config.exs
set version