CI/CD pipelines run compute-intensive container builds every day, whether the regional grid uses fossil fuels at peak demand or lets surplus wind and solar power go to waste. GreenRunner tackles that carbon-aware DevOps scheduling problem with a Pareto optimizer and a grid dispatch game. It schedules build, test, and container jobs in five runner regions (us-west-oregon, eu-north-sweden, ap-northeast-tokyo, us-east-virginia, and sa-east-sao-paulo) according to 24-hour marginal carbon intensity forecasts (gCO2eq/kWh), the SLA deadline budget of each CI/CD pipeline, and network latency constraints. The Carbon Scheduler calculates the Pareto set of runner regions and shifts, and the YAML Refactor module generates drop-in .gitlab-ci.yml runner tags, caching optimization, and deferred jobs. You can also play against the scheduler in five different scenarios. These are Grid Emergency Spike, Monorepo Release Rush, Cross-Ocean Data Gravity, Nightly ML Training Wave, and Zero-Carbon Audit. The game is built as a zero-dependency UMD engine (engine.js) and control room GUI (index.html, styles.css, app.js), which passes 101 automated unit and DOM tests.
Built With
- carbon-aware
- ci-cd
- css3
- devops
- gitlab
- green-computing
- html5
- javascript
- simulation
- sustainability