Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 6 commits into from
May 14, 2024

Conversation

ArneTR
Copy link
Contributor

@ArneTR ArneTR commented May 13, 2024

✅ 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

  • Added Eco-CI into the .github/workflows/test.yml pipeline
  • Activated the send-data: true flag. This will send data to be used as historical data view on https://metrics.green-coding.io/ci-index.html . If this is not desired it must be set to false.

Demo

Screenshot 2024-05-13 at 12 42 27 PM

@ribalba @MichelleGruene

@PierreBresson
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants