Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8796045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:31:52+00:00 2026-06-13T23:31:52+00:00

In CI, we usually take out a fresh copy, and changes in the repository

  • 0

In CI, we usually take out a fresh copy, and changes in the repository are detected and build started. But in some cases, the local repositories at various servers have different values for some constants in their configuration files that is specific to each server (the mailing address might be different, or logging is enabled/disabled at a particular server).

My question is what’s the best way to handle these changes in the CI philosophy, whether, after taking out a fresh copy at each server, server-related changes should be made manually (once) and then we should follow the normal procedure of detecting changes to the repository through SVN

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:31:54+00:00Added an answer on June 13, 2026 at 11:31 pm

    Here is how I do it at my workplace:

    I keep configuration files in SVN, per environment, per server type. It goes something like this
    – DEVPROJ1
    — API
    —– api_config_file
    — WEB
    —– web_config_file
    – QAPROJ1
    — API
    —– api_config_file
    — WEB
    —– web_config_file
    – PRODPROJ1
    — API
    —– api_config_file
    — WEB
    —– web_config_file

    This way, all API servers on PROD will use the configuration file from SVN at PRODPROJ1/API/api_config_file, while all API servers on DEV will use the configuration file from SVN at DEVPROJ1/API/api_config_file.

    My deployment scripts than deploy to each server taking environment specific configuration into account. This is achieved simply by telling the deployment script:
    Deploy to API:PRODPROJ1=10.0.0.1,API:PRODPROJ1=10.0.0.2. The script then takes API configuration from PRODPROJ1 in SVN.

    As you can see, i use generic config file for all APIs. There are times when each API needs specific changes, for example local IP address. These are substituted by the deployment script at install time. You can use a similar approach, but instead of separating them by environment (DEVPROJ1, QAPROJ1), you can separate them by IP address, or machine name.

    In either way, i much prefer to have all my configs in the SVN, where changes can be easily tracked and verified, rather than hunting down for individual modifications on random servers.

    Of course, maintaining these config files becomes a manual process.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I noticed running some Drupal admin tasks if they take usually more then 10
I usually work with .NET WinForms but now have to work on some Java
How long does it usually take for individual developers to be accepted into the
Here's what I mean by weird: Items usually take 2 presses to have their
Usually, on twitter tweet button, if I don't specify data-text it take the page
Usually I worked with PostgreSQL and never had a problem, but now I need
Usually (if not always), when jQuery allows you to add a callback to some
I've started working on some Android applications and have a question regarding how people
I usually work with PHP but need to setup this JSP with a server
(I can't believe I'm actually asking this, but I am out of brainpower for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.