{"repo":"green-coding-solutions/eco-ci-energy-estimation","free":true,"listed":false,"github":"https://github.com/green-coding-solutions/eco-ci-energy-estimation","clone":"git clone https://github.com/green-coding-solutions/eco-ci-energy-estimation.git","description":"Eco CI Energy estimation for Github Actions, GitLab and Jenkins","language":"Shell","stars":115,"topics":["carbon-footprint","climate-change","co2-emissions","energy-consumption","green-coding","green-computing","green-software","metrics","power-consumption","sustainability"],"license":"MIT","category":"analytics","readme_excerpt":"Eco CI Eco CI is a project aimed at estimating energy consumption in continuous integration (CI) environments. It provides functionality to calculate the energy consumption of CI jobs based on the power consumption characteristics of the underlying hardware. Table of Contents - Requirements / Dependencies - How Does It Work? - Usage - GitHub - GitHub Action Mandatory and Optional Variables - Grid Intensity API Token - Continuing on Errors - Consuming the Measurements as JSON - Note on Private Repos - Support for Dedicated Runners / Non-Standard Machines - GitLab - Artifacts for GitLab - GitLab Sample File - macOS - Local CI / Running in Docker - Trying out with Docker and Circle-CI image - Trying out with Docker and KDE pipelines - Jenkins - Restricted Enterprise Environments - Note on the integration / Auto-Updates - Limitations / Compatibility Requirements / Dependencies Following packages are expected: - curl - jq - awk - date with microsecond support. On alpine and macOS this means installing coreutils - bash 4.0 - git only if you use GitLab How does it work? - The Eco CI at its core makes its energy estimations based on pre-calculated power curves from Cloud Energy - When you initialize the Eco CI, starts a small bash script to track the cpu utilization over a period of time. This tracking begins when you call the start-measurement function. Then, each time you call get-measurement, it will take the cpu-utilization data collected (either from the start, or since the last","default_branch":null,"files":null,"tree":[],"storefront":"/r/green-coding-solutions","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/green-coding-solutions/eco-ci-energy-estimation/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}