-
Notifications
You must be signed in to change notification settings - Fork 129
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 - Get the energy consumption and CO2 emissions of your pipeline #168
base: main
Are you sure you want to change the base?
Conversation
@ArneTR please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
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.
Since Microsoft is a Green Software Foundation member and this projects was also listed in the Awesome Green Software list I hope you find it adjacent to your work :)
In this PR I have made a sample integration into the
.github/workflows/cluster-build.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
.github/workflows/cluster-build.yml
pipelinesend-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
@ribalba @MichelleGruene