# Zero to One and Beyond: HackerEarth's journey to Continuous Delivery

DevFeed: [Zero to One and Beyond: HackerEarth's journey to Continuous Delivery](<https://devfeed.tech/articles/zero-to-one-and-beyond-hackerearth-s-journey-to-continuous-delivery-20015.md>)

Original publisher: [Read original article](<http://engineering.hackerearth.com/2021/08/01/CI-CD-Journey/>)

Published: 2021-08-01T00:00:00Z

Content type: article

Language: en

Sources: [HackerEarth](<https://devfeed.tech/sources/hackerearth.md>)

Topics: [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Continuous Delivery (CD)](<https://devfeed.tech/topics/continuous-delivery.md>), [Continuous Deployment (CD)](<https://devfeed.tech/topics/continuous-deployment.md>), [Continuous integration](<https://devfeed.tech/topics/continuous-integration.md>), [CI/CD Pipeline](<https://devfeed.tech/topics/ci-cd-pipeline.md>), [Jenkins](<https://devfeed.tech/topics/jenkins.md>), [dora metrics](<https://devfeed.tech/topics/dora-metrics.md>), [Pull Request](<https://devfeed.tech/topics/pull-request.md>)

Tags: [2019](<https://devfeed.tech/tags/2019.md>), [agile](<https://devfeed.tech/tags/agile.md>), [automated](<https://devfeed.tech/tags/automated.md>), [cadence](<https://devfeed.tech/tags/cadence.md>), [cd](<https://devfeed.tech/tags/cd.md>), [ci](<https://devfeed.tech/tags/ci.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [code](<https://devfeed.tech/tags/code.md>), [continuous-delivery](<https://devfeed.tech/tags/continuous-delivery.md>), [continuous-deployment](<https://devfeed.tech/tags/continuous-deployment.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [deployments](<https://devfeed.tech/tags/deployments.md>), [environment](<https://devfeed.tech/tags/environment.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [integration](<https://devfeed.tech/tags/integration.md>), [merge](<https://devfeed.tech/tags/merge.md>), [production](<https://devfeed.tech/tags/production.md>), [release](<https://devfeed.tech/tags/release.md>)

## AI overview

HackerEarth describes moving from frequent but failure-prone releases toward continuous delivery after finding its feedback arrived too late in the process. It assessed maturity across build, deploy, test and database practices, then adopted Jenkins pipelines for logical commit sets, pull request checks and repeatable builds; decoupled deployments with production-like lower environments and audit trails; and JIRA-linked releases, initially targeting one deployment per day. Candidate builds received automated unit and acceptance tests plus QA approval and performance benchmarking. The company reports deployment timelines fell about 70% and successful deployments reached 98%. It also expanded test coverage, tested database migrations in lower environments with approval checks, and versioned configuration and deployment assets, using Poetry, Docker and infrastructure-as-code practices. The authors frame further progress as a team and culture shift, with feature flags and ongoing measurement; they report reaching maturity level 2 and plan to track lead time, deployment frequency, recovery time and change failure percentage.

## Source excerpt

"Hey the deployment is broken again. Can you push this change again" "Hey, I merged my changes were merged in the morning. I still don't see them in production yet" "Argh, the static files are not updated. We have to run deployment again" These voices hollared across the hallway and this was followed by a huddle to sort things out. These voices soon grew louder and then we realised: Our Deployment is broken. Epilogue At HackerEarth, we have always been good at embracing bleeding edge technologies. We have always taken pride at doing what is right and acknowledge when something needs a fix. A faster delivery cadence and a quicker release cycle are very important for a startup of our scale. Our deployment related problems threatened our fundament need - "Pace" This prompted us to not just fix what was broken but to introduce a new paradigm to deployment - Continuous Deployment. The key tenets of following agile to push consistent smaller pieces of software frequently to customers and get Feedback. As any growing team, we were at one point struggling with - higher deployment failures or critical issues leaking to production. What followed was our path to redemption Circa 2019, HackerEarth was already doing frequent deployments. We had a process to collect, merge, tag and release code into production. But, this was not enough. As it must be obvious now, our feedback cycle was not close to the point of failure. The Integration happened closer to production and any failure is now expensive to fix. This is where our journey up the CI-CD ladder begun. You're doing continuous delivery when: Your software is deployable throughout its lifecycle Your team prioritises keeping the software deployable over working on new features Anybody can get fast, automated feedback on the production readiness of their systems any time somebody makes a change to them You can perform push-button deployments of any version of the software to any environment on demand" -- Martin Fowler When it all