CircleCI K6 Load-Test Pipeline

Job ID: 40001777

Budget: $10 – $30 CAD

My application code lives on GitHub and I want every push to the main branch to kick-off an end-to-end workflow in CircleCI. After a quick Build stage that compiles and packages the app, the job must spin up high-volume load tests with K6 alongside a Speedcurve Test run. The tests have to execute against two separate Kubernetes clusters—one on Azure AKS, the other on AWS EKS—through the official K6 operator so pods can scale up or down automatically in response to the generated load.

During each run I need clean export of response time, error rate and throughput metrics, ideally surfaced both in the CircleCI dashboard and pushed to Speedcurve for historical comparison.

Please use your own free-tier Azure and AWS accounts for cluster creation and tear them down at the end of the job so no residual resources remain.

Deliverables
• circleci/config.yml implementing push-triggered workflow, Build stage and dual-cloud test stages
• K6 test script(s) plus Speedcurve integration code
• Kubernetes YAML/Helm charts for K6 operator with auto-scaling configuration
• README outlining one-click setup, required environment variables and how to extend the tests

Acceptance criteria
• A sample push to a test branch automatically builds and launches the distributed tests in both clouds within CircleCI
• K6 pods scale horizontally according to load and successfully terminate afterward
• CircleCI artifacts include CSV/JSON of response time, error rate and throughput, and results appear in Speedcurve
• All infrastructure is fully disposable via documented commands or pipeline steps

Keep the solution as clean and reusable as possible so I can adapt it later to additional stages if needed.