apache / libcloud

Apache Libcloud is a Python library which hides differences between different cloud provider APIs and allows you to manage different cloud resources through a unified and easy to use API.
https://libcloud.apache.org
Apache License 2.0
2.03k stars 928 forks source link

Update ec2 instance types, region details, and pricing #2012

Closed eric-anderson closed 3 weeks ago

eric-anderson commented 1 month ago

Changes Update ec2 instance types, region details, and pricing

Description

Files were missing recent GPU instances

Status

Replace this: done, ready for review

Checklist (tick everything that applies)

codecov-commenter commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.26%. Comparing base (6f1f83d) to head (543e2a6). Report is 5 commits behind head on trunk.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## trunk #2012 +/- ## ======================================= Coverage 83.26% 83.26% ======================================= Files 353 353 Lines 81305 81305 Branches 8565 8565 ======================================= Hits 67692 67692 Misses 10823 10823 Partials 2790 2790 ``` | [Files](https://app.codecov.io/gh/apache/libcloud/pull/2012?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | | |---|---|---| | [libcloud/compute/constants/ec2\_instance\_types.py](https://app.codecov.io/gh/apache/libcloud/pull/2012?src=pr&el=tree&filepath=libcloud%2Fcompute%2Fconstants%2Fec2_instance_types.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-bGliY2xvdWQvY29tcHV0ZS9jb25zdGFudHMvZWMyX2luc3RhbmNlX3R5cGVzLnB5) | `100.00% <ø> (ø)` | | | [...d/compute/constants/ec2\_region\_details\_complete.py](https://app.codecov.io/gh/apache/libcloud/pull/2012?src=pr&el=tree&filepath=libcloud%2Fcompute%2Fconstants%2Fec2_region_details_complete.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-bGliY2xvdWQvY29tcHV0ZS9jb25zdGFudHMvZWMyX3JlZ2lvbl9kZXRhaWxzX2NvbXBsZXRlLnB5) | `100.00% <ø> (ø)` | | | [...ud/compute/constants/ec2\_region\_details\_partial.py](https://app.codecov.io/gh/apache/libcloud/pull/2012?src=pr&el=tree&filepath=libcloud%2Fcompute%2Fconstants%2Fec2_region_details_partial.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-bGliY2xvdWQvY29tcHV0ZS9jb25zdGFudHMvZWMyX3JlZ2lvbl9kZXRhaWxzX3BhcnRpYWwucHk=) | `100.00% <ø> (ø)` | |
Kami commented 3 weeks ago

I re-ran the script to pull in latest data and reformatted it using black + isort - d3b979ccb38e3308f3d48ff44f85b731aa94c07d

I also updated contribution docs to indicate that black + isort need to run after re-generating pricing data - 7779ef53a343786b0b3b7edc57a22fd870929cda

And the changes have also been merged into trunk. Thanks.