Push code with confidence
(Sponsored by CircleCI)

CI/CD 101: Be Invin-CI-bly confident of Your Code's Quality 
[Part III]


 
Image result for integration hell memes

 

 

Let`s simplify CI as much as possible. Ok?

The driving force behind CI is to have an integration server that  runs code builds a few times every day.

 

Developers can submit changes without affecting 'prod/live' as nothing happens without CI. But consequences can be enormous, and hidden errors can sneak into the system, and break it. 

 

Yes, CI is a barrier, a shield, for developers. It fights against errors and human mistakes; against bad modules, that could be shipped into the production version. The code submission process isn't complete by committing changes with CI practice, while all compilation scripts, test jobs, and code inspections return no errors. And, if all those check-marks have a green status, you have a green light to push your changes into the main codebase.

 

The ideal way is to start your project with CI in mind, to make you battle-ready for any issues that get caught by applying this approach.

 

However, life is not ideal. What to do, if your project is ongoing, and it didn't integrate DevOps methodology from the beginning?



  


Automated Solutions FTW
You could try out tools that automate certain modules/processes of the software development lifecycle. For example, Jenkins is a popular automation server. Bamboo covers functional testing among other things. OR. You can check out this newsletter's sponsor - Circle CI. These guys automate the entire pipeline, from setting up workflows, enabling debugging during builds, automating your tests and sending you notifications when everything is done. Basically, you can push your commits with confidence.
 

Especially near Deadlines.


✳️ CI Gives You Breathing Room to make Small Mistakes


 

Do you believe in Dr. House's catchphrase?

“Everybody lies."
 

And/Or Murphy's law:
 

CI is like your shield against the above being proven correct. Like science, you can't blindly trust your results when you programming until a third-party can replicate it and get the same result as you.

Developers are real people, and we tend to make mistakes. Instead of trying to work in a tornado, it's better to have solid ground under your feet.
 

 

A Sports analogy: You can purchase a star, that is at its peak and will score at every game, but, more often than not, you'll prefer a good and reliable team with a plan, mentored by a smart coach to get you more predictable results

A Poker analogy: You trust your luck with a pocket Aces, rather than go all-in with 7-2. Won't you?
 

What will you pick(Neo)? – The way, full of pain?
Or you'll admit that CI is not just a wish. It's an important thing that will improve your code quality, and we all want that quality, right?
 

 

Is it convincing now, huh?

 

[BRrrrrrEAKING] annotations + in-line comments are now in live beta on @hackernoon—we’ve implemented GUN’s decentralized database to power collaborative annotations on all stories. 💬read all about it in Coindesk, Bitcoin Exchange, and from our new contributor Ann O'Tations.


P.S. wanna get hackernoon’s top tech stories delivered directly to your inbox at noon (somewhere) err’day? subscribe to our all-new noon notification newsletter right here, right now.

For more awesome tech stories, check out Hacker Noon's Top Stories.


If you have a few (or many) experiences to share, you can become a contributor on Hacker Noon too.

Simply create an account, and join 10,000+ contributors sharing their knowledge and expertise with the rest of us. 

Maybe you'll get featured on our next newsletter too.

Until then...

01101000 01101111 01110111 00100000 01110100 01101111 00100000 01100100 01100101 01100011 01100101 01101110 01110100 01110010 01100001 01101100 01101001 01111010 01100101 00100000 01110100 01110111 01101001 01110100 01110100 01100101 01110010 
Push code with confidence
(Sponsored by CircleCI)
Want to customise what kind of emails you get from us? 

Manage your topic preferences
Twitter
Facebook
Website
Copyright © 2019 Hacker Noon. All rights reserved.

Our mailing address is:
PO Box 2206, Edwards CO, 81632, U.S.A.

Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.