perschulte/Green CI Measure

Measure energy consumption and CO2 emissions of CI/CD commands

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
commandCommand to measure energy consumption and CO2 emissionsyes
working-directoryWorking directory to run the command inno.
python-versionPython version to use for Green CIno3.11
badgeGenerate badge for energy/CO2 metrics (true/false)nofalse
tokenGitHub token for badge generation and API accessno
electricity-maps-api-keyAPI key for Electricity Maps to get accurate carbon intensityno
namedescription
energy_kwhEnergy consumption in kilowatt-hours
co2_kgCO2 emissions in kilograms
duration_sCommand execution duration in seconds
json_outputFull JSON output from measurement