-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: Add base config override #4
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4 +/- ##
==========================================
- Coverage 100% 99.79% -0.21%
==========================================
Files 5 5
Lines 487 496 +9
Branches 60 64 +4
==========================================
+ Hits 487 495 +8
- Misses 0 1 +1
Continue to review full report at Codecov.
|
Hi @YOU54F, thanks for the PR! It makes sense to make the Rack config path configurable. |
Hey bud, no it’s not a standard rack env var. I will pop it into a custom rack var to follow the format of your other config options and add readme instructions |
Awesome 👍 The config gets written from here: https://github.com/logandk/serverless-rack/blob/master/index.js#L89 |
Hey mate, I reckon this is good for review now, I have tested it on this branch/PR in one of my github projects pact-foundation/pact_broker-serverless#13 Running on a lambda here Cheers! |
@YOU54F Great work, much appreciated! I'll review the changes and do a release as soon as possible |
Brill, no rush my friend! |
It's merged now - I changed set setting name to |
That’s makes perfect sense mate, much appreciated. I’ll test it out later and report back just to close the loop. Thanks again for the package, glad to help out :) |
Hi,
Just wondered if you would be interested in a proposal to include the ability to custom configure the config_base for the app.
I have got this working with the pact_broker app, however I pull in the config from another repo, into a pact_broker folder, and rather than changing any references in that code, it would be handy to change the config base.
This is a bit of a hack for now, but it worked, happy to make it a bit cleaner, and more in link with existing rack custom vars if you would be happy to consider
PS, thank you for the great project and top docs!
Thanks!