New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic travis config with postgres #13
Conversation
@bryanhuntesl tests are not passing
|
what about just using the Postgres service from travis ci? if at some point we need to upgrade or need a custom feature or something we can spend more time on this. what do you think? |
Compiling 42 files (.ex) |
@sescobb27 - postgres provided by travis does not support jsonb (didn't realise we were using it). My code exposes env var RELEASE_ADMIN_POSTGRES_PORT at build time (corresponding to whatever port our docker postgres container runs on, but our config is hard coded to use localhost on default port : How would you like to proceed? I'm at code mesh today so availability will be patchy. |
hmmm as the Postgres docker image says, the default port is |
When it generates the message :
That's release_admin talking to the travis postgres instance on the default port - the docker instance is running but Would be nice if the configuration could be communcated to this application via env vars ala The twelve factor app (config). Does that make sense? |
Ok got it, then, can use |
Yes something like that - would be nice if we had a single config module that handled all this stuff in one place rather than having it (reading env vars) spread all over the codebase. |
Just been looking at confex with Lazslo H - I wonder if it would make a good solution to config from ENV (with defaults) - might be better than rolling our own. Ping on hipchat @sescobb27 @filipevarjao |
No description provided.