Re:How to lose $172k per second for 45 minutes (2013)
by WrtCdEvrydy on Monday April 01, 2019 @11:07AM
(#19544030)
Someone created a jenkins pipeline that would deploy code in a zip file into prod.
[ Parent
| on HN ]
Re:How to lose $172k per second for 45 minutes (2013)
by mattmanser on Monday April 01, 2019 @11:24AM
(#19544277)
Am I missing something? Isn't this exactly how deployment servers actually work?
I'm not into Java development, but this sounds fine on the face of it, without you giving the context of how this pipeline is triggered.
Re:How to lose $172k per second for 45 minutes (2013)
by Bartweiss on Monday April 01, 2019 @12:00PM
(#19544718)
In theory it sounds alright. It's not great, because Jenkins is usually layered with some existing deploy framework that makes "deploy a zip file" pretty suspect. A healthier setup would look more like "build a Tomcat war file Maven, upload and deploy that with Jenkins". But in context, it sounds like the horror is that people were making and transferring a zip from local code rather than building from the tip of source control.
Re:How to lose $172k per second for 45 minutes (2013)
by WrtCdEvrydy on Monday April 01, 2019 @11:38AM
(#19544452)
Developers had a copy of code in a google drive... they'd modify it, zip it and overwrite the one in google drive, copy it to the network folder which would deploy it and delete it from the network folder... in 2016.
Re:How to lose $172k per second for 45 minutes (2013)
by debaserab2 on Monday April 01, 2019 @12:46PM
(#19545268)
That’s a pretty standard CI process - zip files are often your deploy artifact (using, for example, git archive)
Re:How to lose $172k per second for 45 minutes (2013)
by WrtCdEvrydy on Monday April 08, 2019 @12:31AM
(#19602107)
Yeah, except the zip file was... the input.
You pulled the code from google drive, modified it, pushed it to PROD, checked it and moved it back to google drive... and asked the other developers to update.