hetznercloud / packer-plugin-hcloud

Packer plugin for Hetzner Cloud Builder
https://developer.hashicorp.com/packer/integrations/hetznercloud/hcloud
Mozilla Public License 2.0
22 stars 21 forks source link

fix: wait server firewall actions to settle #209

Closed jooola closed 2 weeks ago

jooola commented 3 weeks ago

Closes #205

Prevents a server locked error from the API, when trying to change the type of the server, while firewall_apply are still running in the backend.

The firewall_apply actions are triggered by label selectors.

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 48.00000% with 13 lines in your changes missing coverage. Please review.

Project coverage is 33.56%. Comparing base (de02717) to head (62d6b62).

Files Patch % Lines
builder/hcloud/step_create_server.go 48.00% 9 Missing and 4 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #209 +/- ## ========================================== + Coverage 33.04% 33.56% +0.51% ========================================== Files 12 12 Lines 702 727 +25 ========================================== + Hits 232 244 +12 - Misses 445 454 +9 - Partials 25 29 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.