PyCon UK 2025

Setting Up Reliable CI/CD Pipelines with Python, K8s & Testcontainers
2025-09-19 , Space 3

Build a production-grade CI/CD pipeline using Python, Docker, Testcontainers, GitHub Actions, and Kubernetes. This workshop takes you from zero to deployment with real-world automation, testing, and monitoring. Perfect for all levels, it blends simplicity, storytelling, and powerful DevOps tools to boost your confidence in delivering reliable software.


Shipping software should feel empowering — not like fighting fires. Yet for many developers, CI/CD feels like a maze of YAMLs, fragile tests, cloud complexity, and guesswork. This workshop changes that story, using Python as your guiding light.

In this 85-minute hands-on session, you’ll build a complete, production-grade CI/CD pipeline — one that starts with a commit and ends with a deployed, monitored app in the cloud. But unlike most DevOps sessions, this one is crafted through the lens of simplicity, storytelling, and the power of Python.

We'll start with Python scripts that automate GitHub repo creation and Jenkins setup. From there, you’ll use Testcontainers to run realistic integration tests in Docker — giving you confidence that your tests reflect the real world. We'll automate builds and trigger workflows using GitHub Actions, then containerize your app and push it to Docker Hub.

Then comes the moment of truth: deploying your Python app to a live Kubernetes cluster (AWS EKS), using Python to manage manifests, rollouts, and environment configs. To top it off, you'll integrate a custom Prometheus exporter written in Python, visualized in Grafana, so you can watch your app breathe in real time.

This isn’t just another workshop filled with configs. It’s a journey — from chaos to clarity, from “I’m not sure what I’m doing” to “I actually built that!” Every step is hands-on, beginner-friendly, and deeply practical. We blend technical depth with real-world insight, humour, and moments of celebration.

Whether you’re just starting out with DevOps, or you’re a seasoned engineer who wants a clean, Pythonic approach to CI/CD, this session is for you. You’ll leave with a complete working pipeline, a solid understanding of every tool involved, and the confidence to recreate it at work, in your side projects, or with your teams.

By the end, you’ll walk away not only with skills, but with a story — a story of how you connected the dots and built something amazing, powered by Python.


What level of experience do you expect from your audience for this session?:

Basic

I am a senior DevOps engineer with over six years of experience managing high-stakes workloads across hundreds of clusters. In my daily work, I focus on ensuring system uptime, solving tough performance issues, and fine-tuning deployments. Through these real-world challenges, I have discovered just how critical observability is for catching and fixing problems quickly, as well as for planning better infrastructure strategies.