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

Deprecate facility/facilities #314

Merged
merged 1 commit into from
Apr 19, 2023
Merged

Deprecate facility/facilities #314

merged 1 commit into from
Apr 19, 2023

Conversation

ctreatma
Copy link
Contributor

@ctreatma ctreatma commented Apr 7, 2023

This marks all facility and facilities properties as deprecated, and deprecates data_source_equinix_metal_facility.

Deprecation messages link to the facility-to-metro migration guide. That migration guide was updated in a separate PR to include a link to the facilities deprecation announcement.

Closes #312

@codecov-commenter
Copy link

codecov-commenter commented Apr 7, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -2.73 ⚠️

Comparison is base (97f5ba0) 53.80% compared to head (af87315) 51.07%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #314      +/-   ##
==========================================
- Coverage   53.80%   51.07%   -2.73%     
==========================================
  Files          90       90              
  Lines       17913    17926      +13     
==========================================
- Hits         9638     9156     -482     
- Misses       8077     8605     +528     
+ Partials      198      165      -33     
Impacted Files Coverage Δ
equinix/resource_metal_spot_market_request.go 25.28% <ø> (ø)
equinix/data_source_metal_connection.go 97.58% <100.00%> (+<0.01%) ⬆️
equinix/data_source_metal_device.go 64.04% <100.00%> (+0.12%) ⬆️
equinix/data_source_metal_facility.go 90.09% <100.00%> (+0.09%) ⬆️
equinix/data_source_metal_hardware_reservation.go 52.88% <100.00%> (+0.45%) ⬆️
equinix/data_source_metal_ip_block_ranges.go 38.09% <100.00%> (+0.49%) ⬆️
equinix/data_source_metal_plans.go 97.32% <100.00%> (+0.02%) ⬆️
equinix/data_source_metal_reserved_ip_block.go 70.39% <100.00%> (+0.19%) ⬆️
equinix/data_source_metal_spot_market_price.go 81.25% <100.00%> (+0.29%) ⬆️
equinix/data_source_metal_spot_market_request.go 62.88% <100.00%> (+0.38%) ⬆️
... and 4 more

... and 13 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@ocobles ocobles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs/data-sources/equinix_metal_hardware_reservation.md Outdated Show resolved Hide resolved
@ctreatma ctreatma force-pushed the deprecate-facility branch 2 times, most recently from 07c4fdd to 9df8220 Compare April 12, 2023 15:11
@ctreatma ctreatma requested a review from ocobles April 12, 2023 15:11
@ctreatma ctreatma force-pushed the deprecate-facility branch from 9df8220 to fe3c7d8 Compare April 12, 2023 15:19
This marks all `facility` and `facilities` properties as deprecated,
and deprecates `data_source_equinix_metal_facility`.

Deprecation messages link to the facility-to-metro [migration guide].
That migration guide was updated in a separate PR to include a link
to the [facilities deprecation announcement].

[migration guide]: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices
[facilities deprecation announcement]: https://feedback.equinixmetal.com/changelog/bye-facilities-hello-again-metros.
@ctreatma ctreatma force-pushed the deprecate-facility branch from fe3c7d8 to af87315 Compare April 13, 2023 16:00
@ctreatma ctreatma dismissed ocobles’s stale review April 14, 2023 14:35

Review comments have been addressed

@ctreatma
Copy link
Contributor Author

Acceptance tests are broken until https://github.com/packethost/api/pull/8526 is merged & deployed. We could skip tests that create organizations, but IMO it's not worth it to do that since there is already a fix in flight. I ran tests locally to validate that none of the Deprecated code settings impact tests. Other than that, this is a docs update and can be reviewed without CI.

@ctreatma ctreatma merged commit 1a1e12c into master Apr 19, 2023
@ctreatma ctreatma deleted the deprecate-facility branch April 19, 2023 15:29
thogarty pushed a commit that referenced this pull request Sep 5, 2023
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.

Deprecate Metal Facilities
3 participants