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

Update github codespace and justfile #625

Merged
merged 2 commits into from
Nov 13, 2024
Merged

Conversation

mrchrisadams
Copy link
Member

@mrchrisadams mrchrisadams commented Nov 13, 2024

This PR updates the devcontainer file used to define what is built when spinning up a codehub codespace.

It also adds a slightly more convenient Justfile, for running django management commands and using Marimo for data analysis

@mrchrisadams mrchrisadams changed the title Update github workspace Update github codespace and justfile Nov 13, 2024
Copy link

github-actions bot commented Nov 13, 2024

Old Energy Estimation

Eco-CI Output:

Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run (incl. overhead) 13.0257 826.113 2.96 279
checkout 10.79 3.6596 1.83 2
pip install uv wheel 10.94 3.6613 1.83 2
pip install requirements 61.4425 24.6026 4.92 5
pytest 11.8853 794.189 2.97 267

🌳 CO2 Data:
City: Boydton, Lat: 36.6676, Lon: -78.3875
IP: 172.200.199.161
CO₂ from energy is: 0.280052307 g
CO₂ from manufacturing (embodied carbon) is: 0.079602552 g
Carbon Intensity for this location: 339 gCO₂eq/kWh
SCI: 0.359655 gCO₂eq / pipeline run emitted

Copy link

Eco-CI Output:

Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run (incl. overhead) 14.2255 859.111 3.09 278
checkout 20.3825 15.8086 3.16 5
pip install uv wheel 30.12 17.3719 4.34 4
pip install requirements 58.1629 41.0946 5.87 7
pytest 12.5395 784.836 3.03 259

🌳 CO2 Data:
City: Boydton, Lat: 36.6676, Lon: -78.3875
IP: 20.97.191.38
CO₂ from energy is: 0.291238629 g
CO₂ from manufacturing (embodied carbon) is: 0.079317239 g
Carbon Intensity for this location: 339 gCO₂eq/kWh
SCI: 0.370556 gCO₂eq / pipeline run emitted

@mrchrisadams
Copy link
Member Author

mrchrisadams commented Nov 13, 2024

ZOMG. It looks like adding this triggers the proper build steps!

"customizations": {
    "codespaces": {},
}

@mrchrisadams mrchrisadams merged commit a3936d9 into master Nov 13, 2024
4 checks passed
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.

1 participant