You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's the new workflow? Do config/vars.yml and config/vars.yml.example get deleted and we copy the secret vars file (from box) to /config/settings/production.yml on prod instead?
It would be great if you could write some notes on how you got this working on staging and where/what you changed in terms of vars/files within the EC2 so we can make sure its reproducible later.
Yeah, these should be read in from Settings like all the other var's; updated.
What's the new workflow? Do config/vars.yml and config/vars.yml.example get deleted and we copy the secret vars file (from box) to /config/settings/production.yml on prod instead?
Yes, we'll need to flatten vars.yml for production into a production.yml file that gets put into configs/settings. It'll also provide a nice separation of concerns to make sure only env-specific configs end up in prod.
So the main changes will be:
in Box, remove vars.yml and replace it with production.yml with the production-specific key/value pairs
cp production.yml config/settings
This should get the correctly-formatted file into the place where config will pick it up
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
figsis a proprietary config gem that has been abandoned and is blocking the Ruby/Rails upgradeSolution
configgem insteaddot-envgem to manage ENV variables outside ofSettingsclassPR Type