Manage configuration files across environments

后端 未结 7 414
醉酒成梦
醉酒成梦 2021-01-31 16:52

How do you (your company) manage the config-files of the apps/systems you build? Let me tell you how we do it, and what the problem is.

I\'m working at a company where w

7条回答
  •  孤独总比滥情好
    2021-01-31 17:29

    Have you considered using a deployment management tool to handle it? I've worked on the operation team for deploying a product that has about 10 different systems that needs to talk to each others, so I really understand your situation. Deploying the entire solution took about 4 hours of manual steps + 2 hours of testing. We decided to use Octopus Deploy (https://octopus.com) to automate the deployment process. This tool can do variable substitution in config files and you can define variables per environment (and much more...) The deployment of the entire solution now wake about 15 minutes and the end result is always good... You can also trigger release creation and deployment directly form TFS, VSTS, Jenkins or TeamCity, so that you could have a very solid CI/CD approach.

    Hope this helps.

提交回复
热议问题