NMF-earth / nmf-app

Understand and reduce your carbon footprint 🌱 iOS & Android.
https://nmf.earth
GNU General Public License v3.0
487 stars 156 forks source link

Eco-CI: CO2 emissions and energy consumptions of pipelines #393

Closed ArneTR closed 1 month ago

ArneTR commented 1 month ago

✅ I have read the contributing file

Summary

This pull requests is a bit out of the ordinary ... I guess :)

I work for an open source company called Green Coding Solutions in Germany and we started with the mission to increase awareness and actionability around digital CO2 emissions.

We have recently created an open source CI/CD plugin called Eco-CI.

It integrates into the Github Actions pipeline and estimates the energy and CO2 consumption of the pipeline by utilizing a Machine Learning model trained on real server energy data from SPECpower

The tool creates awareness of the energy cost and carbon emissions of CI/CD pipelines and empoweres developers to create action for more sustainability. It can separate steps of the pipeline and create detailed drill-downs which step has increased / decreased in carbon emissions and provider great insights into pipeline performance in general.

I am currently reaching out to open source projects who do adjacent work to us by making tools and information in the sustainability space with the intention to get feedback and opinions.

In this PR I have made a sample integration into the .github/workflows/test.yml pipeline.

I hope this PR and the information that Eco-CI provides is interesting for you and I am super interested in your feedback on it.

Changelog

Demo

Screenshot 2024-05-13 at 12 42 27 PM

@ribalba @MichelleGruene

PierreBresson commented 1 month ago

@ArneTR thanks for the PR, interesting project :) I'm gonna give it a try 👍