Comments (10)
I'm having the same issue using Conform 2.1.1 and Distillery 0.10.1. I found another issue where it seems to be solved, but I could not get it to work either. My release VSN directory is missing the schema and conf files. See attached screen shots.
distillery and conform non-umbrella
distillery and conform umbrella
from conform.
I have tried this with the master branches of conform and distillery and still have no luck.
from conform.
@akurkin you may want to hop over to this ticket if you are experiencing issues!
from conform.
@akurkin Would you mind taking a peek at this PR to see if it solves your problem? ->
from conform.
@coryodaniel sure, I'm more than happy to try it out :) hopefully will get back to it this week. Does your change fixes the way mix tasks work or should I manually place schema files in apps?
from conform.
@akurkin changes the plugin that the release mix task uses. It'll grab each of the conform configs/schemas and merge them together to make one for the whole umbrella. It only ends up in the release since its generated.
from conform.
@coryodaniel I've tried last week, it turned out at a first glance that generated sys.config was in different format than in the one generated by distillery from master branch. I.e. it contained all files merged, but they were merged but not flatten
. Too bad I didn't save the output file, I'm going to give a shot one more time and hopefully provide more useful info.
from conform.
@akurkin Were you able to confirm if there was an issue?
from conform.
@bitwalker @coryodaniel today we've tried converting configs for all in-umbrella apps using latest conform and distillery releases, and all worked smoothly - merging configs into one (at rel/<app>/var/sys.config
) and then starting an app, so I think this issue can be closed, thanks much for hard work on this, seems a really big step forward for making it easier to run and release elixir apps! 🙇 👏 🐝
the next steps left for us to figure out how to put symlinks of .conf files into generated release, so that configuration can be separated from release (perhaps via plugin functionality in distillery?) - so please let me know if you have any thoughts, otherwise I think this issue can be closed
from conform.
@akurkin You can simply use the RELEASE_CONFIG_DIR
environment variable to have the release look in a different location for the configs - no need to symlink :)
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.