IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New The story of one artefact.
I inadvertantly pioneered the single-artefact deployment in our company. That means once the artefact is built, it will work in *any* of the environments. We have either per-environment files to override production defaults, or a parameter to tell the artifact which environment it is.

Operations loved this idea. Most other development groups were creating one artefact for Testing, then built another for Staging, then a third for Production. Many bugs were released into Production because the code artefacts always had unique code. Ours didn't. :-)

I learnt this in a previous employer where we had to provide and support installs for a number of clients. We had releases so frequently that it was very annoying keeping the customisations, so I came up with a way we could leave the customisations out of the way of a code drop. But what really sold it was that it made it so much easier to support multiple development environments, too!

Wade.
Just Add Story http://justaddstory.wordpress.com/
New Been trying to push that here
It's the only sane way to do it. All environment info MUST be in a separate file ... which yes, MUST be version controlled.

Every time I see a sysadmin hand-edit a config file my eye starts twitching.
--

Drew
New Yep
Regards,
-scott
Welcome to Rivendell, Mr. Anderson.
New edit the config, check that it works, check it in
Any opinions expressed by me are mine alone, posted from my home computer, on my own time as a free American and do not reflect the opinions of any person or company that I have had professional relations with in the past 58 years. meep
New Yep. It's a robust solution.
We currently have an Ops guy who made all his colleagues put everything in Puppet and all of that in a Subversion repo. Us devs also have read access to the prod boxes so we can verify things like config changes have been done. We've caught Ops out a few too many times to relinquish that!

Unfortunately, I currently work with a senior developer who doesn't believe in external configuration files, mostly because they have an ownership problem and if they're missing the app crashes (to which my solution is to make the internal defaults Production so that it at least Works). He's been batting for wrapping them up into the code-artefact and select them via per-environment invocation. The attraction is that *we* get to version-control the settings. The downside is that you need to do a full code-deploy to override any of them.

Theoretically, of course, we can make some step of the build or deploy process pull in external configuration files from another repo. But it all seems inordinately complicated to me.

Wade.
Just Add Story http://justaddstory.wordpress.com/
     So, I'm now the proud owner of ... - (folkert) - (26)
         V COOL!!!! -NT - (Bman)
         Excellent! -NT - (Another Scott)
         Congrats - (crazy) - (2)
             For pay? - (folkert) - (1)
                 Of course - (crazy)
         Pics or it didn't happen :-) -NT - (drook) - (19)
             Yeah Yeah... - (folkert) - (16)
                 Code deploy on a Tuesday? - (malraux) - (15)
                     it always works in staging -NT - (boxley) - (3)
                         Not if yer doin' it right... ;-) -NT - (malraux)
                         We tend to have the opposite problem. - (static) - (1)
                             Oh don't get me started on partner test systems -NT - (drook)
                     Yes... - (folkert) - (10)
                         No biggie, we'll (they'll) catch it in the next environment -NT - (drook) - (2)
                             and load test it in production -NT - (boxley) - (1)
                                 Oh, you work here? -NT - (drook)
                         Yuck... - (malraux) - (1)
                             Hmmm... - (folkert)
                         The story of one artefact. - (static) - (4)
                             Been trying to push that here - (drook) - (3)
                                 Yep -NT - (malraux)
                                 edit the config, check that it works, check it in -NT - (boxley)
                                 Yep. It's a robust solution. - (static)
             They are on Facebook... - (folkert) - (1)
                 I can't hear you! -NT - (Another Scott)
         Hmmm, this is interesting! - (folkert)

Boogity, boogity, boogity, amen!
90 ms