Are You About to Break Prod? Acceptance Testing with Ephemeral Environments
Talkat KubeCon + CloudNativeCon North America 2019 · on Wednesday, 2019-11-20· at 10:55· Ballroom Sec 20CD - San Diego Convention Center, Upper Level·
summary
Demonstrates a concrete pipeline that spins ephemeral environments with Pulumi and deploys the exact Docker image used in production, runs Kubernetes Jobs to execute Go acceptance tests that write to a GCS bucket and verify a message on GCP Pub/Sub, and tears everything down. Uses GitLab CI with a merge-request preview step; typical MR pipeline runs in ~7–8 minutes. Includes a real failure case (payload format bug) and the fix, proving the approach works.
AI-written summary · about
chapters (25)
- 0:00Intro
- 0:16The Question
- 0:58Dependencies
- 1:27Challenges
- 1:54Fundamentals
- 3:16Architectures
- 4:47Infrastructure
- 5:43Templatize
- 6:04Configurable
- 6:21Conditionally
- 6:41Extra Resources
- 6:53Balancing Speed
- 8:54Pipeline Overview
- 9:45Acceptance Test Stage
- 10:14Introducing Plumie
- 11:07Plumie Preview
- 12:08Demo Recap
- 12:29Go Code
- 14:26Diagram
- 19:59Acceptance Test
- 22:54Conditions
- 25:42Success
- 26:07New Requirement
- 31:53Merge Request
- 33:19Outro
related talks
41mDid I break prod?
39mFor the love of PROD, Test your Code!
25mImprove Developer Productivity with Ephemeral Environments
28mContinuous Integration Testing: Fully Test your Microservices Application, Early and Often
31mImplementing Preview Environments with GitOps in Kubernetes
21mStrategies for Testing Your Pipeline
46mInfrastructure testing - it's a real thing!
36mEfficient Kubernetes E2E Testing: Unleash the Power of Prow
