Comments (9)
@dewie Could you run the following:
mix deps.get
MIX_ENV=prod mix compile
MIX_ENV=prod mix release
And let me know if it still fails? I'm confused on how you could have gotten that message about the dependency not being locked, but the steps above should ensure that everything is fetched/locked and compiled before attempting to build the release.
from conform.
Hi,
I have made a release today with exrm 19.9 today.
Added conform with your code and tried a release.
This worked
But when i added the following
mix conform.new
mix conform.configure
MIX_ENV=prod mix release
I got the same error
==> conform
Unchecked dependencies for environment prod:
- exrm (Hex package)
the dependency is not locked (run "mix deps.get" to generate
"mix.lock" file)
==> Failed to execute before_release hook for
Elixir.ReleaseManager.Plugin.Conform!
==> qrgateway
** (Mix) Can't continue due to errors on dependencies
I also tried to generate the config with:
MIX_ENV=prod mix conform.new
MIX_ENV=prod mix conform.configure
I have attached the generated conform files
On 27-11-15 18:16, Paul Schoenfelder wrote:
@dewie https://github.com/dewie Could you run the following:
- |mix deps.get|
- |MIX_ENV=prod mix compile|
- |MIX_ENV=prod mix release|
And let me know if it still fails? I'm confused on how you could have
gotten that message about the dependency not being locked, but the steps
above should ensure that everything is fetched/locked and compiled
before attempting to build the release.—
Reply to this email directly or view it on GitHub
#53 (comment).
Provide documentation for qrgateway.Elixir.Qrgateway.Endpoint.url.host here.
qrgateway.Elixir.Qrgateway.Endpoint.url.host = "example.com"
Provide documentation for qrgateway.Elixir.Qrgateway.Endpoint.url.port here.
qrgateway.Elixir.Qrgateway.Endpoint.url.port = 80
Provide documentation for qrgateway.Elixir.Qrgateway.Endpoint.root here.
qrgateway.Elixir.Qrgateway.Endpoint.root = "/home/daniel/development/elixir/qrgateway"
Provide documentation for qrgateway.Elixir.Qrgateway.Endpoint.secret_key_base here.
qrgateway.Elixir.Qrgateway.Endpoint.secret_key_base = "DmgKGQ6s06cJ0lkRDlCqsCHZuuQ4m3SDi4+O3XMZNfcutSGGynPH5hFP+YaFd13/"
Provide documentation for qrgateway.Elixir.Qrgateway.Endpoint.render_errors.accepts here.
qrgateway.Elixir.Qrgateway.Endpoint.render_errors.accepts = "html", "json"
Provide documentation for qrgateway.Elixir.Qrgateway.Endpoint.pubsub.name here.
qrgateway.Elixir.Qrgateway.Endpoint.pubsub.name = Elixir.Qrgateway.PubSub
Provide documentation for qrgateway.Elixir.Qrgateway.Endpoint.pubsub.adapter here.
qrgateway.Elixir.Qrgateway.Endpoint.pubsub.adapter = Elixir.Phoenix.PubSub.PG2
Provide documentation for qrgateway.Elixir.Qrgateway.Endpoint.http.port here.
qrgateway.Elixir.Qrgateway.Endpoint.http.port = system = "PORT"
Provide documentation for qrgateway.Elixir.Qrgateway.Endpoint.cache_static_manifest here.
qrgateway.Elixir.Qrgateway.Endpoint.cache_static_manifest = "priv/static/manifest.json"
Provide documentation for qrgateway.Elixir.Qrgateway.Endpoint.server here.
qrgateway.Elixir.Qrgateway.Endpoint.server = true
Provide documentation for qrgateway.Elixir.Qrgateway.Repo.adapter here.
qrgateway.Elixir.Qrgateway.Repo.adapter = Elixir.Mongo.Ecto
Provide documentation for qrgateway.Elixir.Qrgateway.Repo.database here.
qrgateway.Elixir.Qrgateway.Repo.database = "qrg"
Provide documentation for qrgateway.Elixir.Qrgateway.Repo.hostname here.
qrgateway.Elixir.Qrgateway.Repo.hostname = "localhost"
Provide documentation for qrgateway.Elixir.Qrgateway.Repo.username here.
qrgateway.Elixir.Qrgateway.Repo.username =
Provide documentation for qrgateway.Elixir.Qrgateway.Repo.password here.
qrgateway.Elixir.Qrgateway.Repo.password =
Provide documentation for logger.console.format here.
logger.console.format = "$time $metadata[$level] $message
"
Provide documentation for logger.console.metadata here.
logger.console.metadata = request_id
Provide documentation for logger.level here.
logger.level = info
Provide documentation for phoenix.generators.migration here.
phoenix.generators.migration = true
Provide documentation for phoenix.generators.binary_id here.
phoenix.generators.binary_id = false
Provide documentation for phoenix.template_engines.haml here.
phoenix.template_engines.haml = Elixir.PhoenixHaml.Engine
from conform.
You can't use conform
>= 1.x with exrm
< 1.x, because the conform plugin for exrm was moved from exrm to conform, so if you use the new version of conform with the old version of exrm, there will be conflicts. The new version of the conform plugin is also depending on changes made in exrm 1.x. Could you try with exrm 1.0.0-rc6?
from conform.
I was using exrm 1.0.0-rc5 , 1.0.0.6 gives me the same problem.
I can send you the project if that helps (just a small test application)
On 27-11-15 18:52, Paul Schoenfelder wrote:
You can't use |conform| >= 1.x with |exrm| < 1.x, because the conform
plugin for exrm was moved from exrm to conform, so if you use the new
version of conform with the old version of exrm, there will be
conflicts. The new version of the conform plugin is also depending on
changes made in exrm 1.x. Could you try with exrm 1.0.0-rc6?—
Reply to this email directly or view it on GitHub
#53 (comment).
from conform.
Sure if you can send me a link to the test app, I'll clone it and test locally.
from conform.
It is in a private repository,
I will send it by wetransfer (including _build folder) = 13mb.
Can i use [email protected] ?
On 27-11-15 19:16, Paul Schoenfelder wrote:
Sure if you can send me a link to the test app, I'll clone it and test
locally.—
Reply to this email directly or view it on GitHub
#53 (comment).
from conform.
Yep! No problem
from conform.
@dewie Ok I found the issue with this, and pushed a fix and a new release 1.0.0-rc5. The problem was that the conform.release
task changes the Mix env to prod when it builds the conform escript, however the exrm dependency won't be available when it does so (unless you MIX_ENV=prod mix compile
first). Since that change of environment is not actually necessary, I've removed it for now.
from conform.
Thanks!
from conform.
Related Issues (20)
- Elixir 1.5.0 - erlang error: {:badrecord, :elixir_erl} HOT 9
- Conform fails to parse schema for umbrella app during release generation HOT 3
- Schema not found message with multiple level schema extends HOT 2
- Failing to parse binary HOT 3
- Does conform work without release? HOT 3
- UndefinedFunctionError - module Conform.Conf is not available HOT 8
- Failed to parse .conf! from autogenerated .conf file with very simple schema HOT 2
- pre_configure.sh missing - mix release fails with distillery v1.4.1
- Release fails on start because of blank SYS_CONFIG_PATH in 00_conform_pre_configure.sh HOT 1
- Environment variables should override .conf values HOT 2
- Support for tuples HOT 3
- Is it possible to set vm.args variables like the cookie HOT 1
- Empty lists in .conf file
- No support for types such as tuples. HOT 2
- release with distillery in :prod env not working HOT 1
- app not starting when configured using conform HOT 1
- Troubles getting started HOT 6
- `default: []` not working in umbrella release
- An issue with conform.new
- undeprecate conform HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conform.