DEV Community

Cover image for ๐Ÿš€ My 3-Day Hackathon Journey: Building a CI/CD Pipeline from Scratch
Hasan Ashab
Hasan Ashab

Posted on • Edited on

๐Ÿš€ My 3-Day Hackathon Journey: Building a CI/CD Pipeline from Scratch

Last week, I joined Chattingo Mini-Hackathon, and my goal was pretty ambitious:
build a complete CI/CD pipeline from scratch.

The idea was simple on paper but tough in practice โ€” I wanted an automated workflow that could build, test, and deploy apps straight to production using Docker, Jenkins, and Nginx on a VPS.

Hereโ€™s how the three days went ๐Ÿ‘‡


๐Ÿ› ๏ธ Day 1: Setting the Foundation (Docker + VPS)

Day 1 was all about getting the basics in place.

  • I started by containerizing the app with Docker so it would run the same everywhere.
  • Then I spun up a VPS, set up SSH, and tightened it up with some firewall rules.
  • Finally, I installed all the necessary tools and dependencies.

By the end of the day, I had a stable environment ready for automation. It felt like laying down bricks before building the house.


โš™๏ธ Day 2: Building the Jenkins Pipeline

This was the most exciting day for me.

  • I built a Jenkins pipeline with proper build, test, and deploy steps.
  • Whenever I pushed code, Jenkins automatically built the Docker image, ran tests, and pushed everything live to production.

๐Ÿ“ธ Hereโ€™s the pipeline I ended up with:

Seeing my commits travel from Git โ†’ Docker โ†’ Production felt really satisfying.


โœ… Day 3: Testing in Production + Writing Docs

The last day was about making sure things actually worked in the real world.

  • I rolled everything out in production and tested it end-to-end.
  • A couple of small issues popped up, but I fixed them quickly.
  • I wrapped it all up with documentation so anyone could repeat the setup.

And of course, I had to make a demo video to showcase the whole thing ๐ŸŽฅ


๐Ÿ“š What I Learned

In just three days, I walked away with hands-on experience in:

  • Docker โ†’ packaging apps for consistency.
  • Jenkins โ†’ building automated pipelines.
  • VPS deployments โ†’ real-world app hosting and security.
  • Documentation โ†’ because good projects should be repeatable.

By the end of the hackathon, I scored 34/40, which showed that the pipeline I built was robust and met most of the challenge requirements.

๐Ÿ Wrapping Up

This hackathon really showed me the power of combining automation, containerization, and CI/CD.
In just a weekend, I went from idea to a fully automated deployment pipeline.

Whatโ€™s next?

Iโ€™d love to take this further by adding:

  • Kubernetes orchestration
  • Monitoring with Prometheus/Grafana
  • Auto-scaling for real-world traffic

๐Ÿ‘‰ Honestly, this was one of the most fun and practical projects Iโ€™ve done so far. Learning Jenkins from scratch in just one day pushed me out of my comfort zone.


๐Ÿ“ฌ Contact

If youโ€™d like to connect, collaborate, or discuss DevOps, feel free to reach out:

Top comments (0)