Continuous Delivery for Elixir (Part 3.1 — Conform Addendum)
After publication of parts 3 and 4, I noticed an error while running our release. Our room configuration was not being properly transformed to a list of tuples even though “mix conform.effective” indicated everything was correct and the release initially had the proper sys.config.
tl;dr Just the fix, ma’am
We need a new conform escript; conform_exrm pulls in deps/conform/priv/bin/conform into our release, but it’s outdated. Until 2.0.1 is released, we’ll need to build it ourselves.
The version of conform that’s shipped with our release is an escript. We can pretty easily rebuild the escript and resolve this, at least with a temporary band-aid.
$ cd deps/conform
$ mix deps.get
$ MIX_ENV=prod mix escript.build
$ mv conform priv/bin