Commit graph

405 commits

Author SHA1 Message Date
Jonas L.
1d9ea16fc4
test: improve load_balancer_network integration using new framework (#545)
##### SUMMARY

Use the new testing framework for the load_balancer_network integration
tests.
2024-08-08 16:01:47 +02:00
renovate[bot]
28c2148510
chore(deps): update dependency hcloud to v2.2.0 (#544)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [hcloud](https://togithub.com/hetznercloud/hcloud-python)
([changelog](https://togithub.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md))
| `2.1.1` -> `2.2.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/hcloud/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/hcloud/2.1.1/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/2.1.1/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>

###
[`v2.2.0`](https://togithub.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#220-2024-08-06)

[Compare
Source](https://togithub.com/hetznercloud/hcloud-python/compare/v2.1.1...v2.2.0)

##### Features

- retry requests when the api gateway errors
([#&#8203;430](https://togithub.com/hetznercloud/hcloud-python/issues/430))
([f63ac8b](f63ac8b4d0))
- retry requests when the api returns a conflict error
([#&#8203;430](https://togithub.com/hetznercloud/hcloud-python/issues/430))
([f63ac8b](f63ac8b4d0))
- retry requests when the network timed outs
([#&#8203;430](https://togithub.com/hetznercloud/hcloud-python/issues/430))
([f63ac8b](f63ac8b4d0))
- retry requests when the rate limit was reached
([#&#8203;430](https://togithub.com/hetznercloud/hcloud-python/issues/430))
([f63ac8b](f63ac8b4d0))

##### Bug Fixes

- update network subnet types
([#&#8203;431](https://togithub.com/hetznercloud/hcloud-python/issues/431))
([c32a615](c32a615db7))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xOC4xNyIsInVwZGF0ZWRJblZlciI6IjM4LjE4LjE3IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-08-06 17:13:18 +02:00
Jonas L.
87ad95a0ad
test: use shared network zone variable (#543)
##### SUMMARY

Allow to easily update the network zone when changing the location, for
testing.
2024-08-06 12:50:58 +02:00
Jonas L.
c6d7121e9e
test: ensure location is used for tests (#541)
##### SUMMARY

Make sure that the tests uses the `hcloud_location_name` variable for
the tests.
2024-08-06 11:59:31 +02:00
renovate[bot]
0b8b44ec4c
chore(deps): update pre-commit hook psf/black-pre-commit-mirror to v24.8.0 (#542) 2024-08-06 10:47:16 +02:00
Jonas L.
4bfd063fca
test: do not check error messages meant for humans (#540)
##### SUMMARY

Reduce tests flakiness, as human error messages may change over time.
2024-08-01 16:09:11 +02:00
Jonas L.
ee09398b85
test: add server cleanup timeout workaround (#539)
##### SUMMARY

Prevent a timeout error when cleaning up server right after the firewall
got deleted.
2024-08-01 16:08:33 +02:00
jo
563e2bdd67 chore: updates files 2024-07-31 09:51:30 +02:00
renovate[bot]
4878555361 chore(deps): update dependency hcloud to v2.1.1 2024-07-31 09:51:30 +02:00
renovate[bot]
e148f23d01 chore(deps): update pre-commit hook asottile/pyupgrade to v3.17.0 2024-07-28 22:59:05 +00:00
Jonas L.
c665629f7e
refactor: reuse exponential_backoff_function from hcloud-python (#535)
Replace the local function with the exponential_backoff_function from
hcloud-python
2024-07-25 16:20:23 +02:00
Jonas L.
b9a1509378
test: update network delete protection error message (#536)
The new network service has a different error message.
2024-07-25 15:42:33 +02:00
Hetzner Cloud Bot
7aa87bb9d9
chore(main): release 4.1.0 (#534)
🤖 I have created a release *beep* *boop*
---


##
[4.1.0](https://github.com/ansible-collections/hetzner.hcloud/compare/4.0.1...4.1.0)
(2024-07-25)


### Features

* deprecate `server_type_info` `included_traffic` return value
([#532](https://github.com/ansible-collections/hetzner.hcloud/issues/532))
([39aa356](39aa356c4c))
* use exponential backoff algorithm when polling actions
([#524](https://github.com/ansible-collections/hetzner.hcloud/issues/524))
([19e586f](19e586fa22))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-07-25 14:01:03 +02:00
Jonas L.
92efa8dfb4
docs: add release summary (#533) 2024-07-25 13:57:12 +02:00
Jonas L.
39aa356c4c
feat: deprecate server_type_info included_traffic return value (#532)
### API Changes for Traffic Prices and Server Type Included Traffic

There will be a breaking change in the API regarding Traffic Prices and
Server Type Included Traffic on 2024-08-05. This release marks the
affected fields as `Deprecated`. Please check if this affects any of
your code and switch to the replacement fields where necessary.

You can learn more about this change in [our
changelog](https://docs.hetzner.cloud/changelog#2024-07-25-cloud-api-returns-traffic-information-in-different-format).
2024-07-25 13:45:29 +02:00
Jonas L.
42a1438d43
deps: update dependency hcloud to v2.1.0 (#531) 2024-07-25 13:38:52 +02:00
renovate[bot]
e8cb7802f4 chore(deps): update pre-commit hook ansible/ansible-lint to v24.7.0 2024-07-10 22:52:17 +00:00
Jonas L
4d4941aaa2
ci: update gitlab ci config (#529)
- Remove outdated jobs
- Only run on feature branches
- Remove old gitlab ci scripts
2024-07-09 12:30:49 +02:00
renovate[bot]
f71a036ab4
chore(deps): update dependency antsibull-docs to >=2.12,<2.13 (#528)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[antsibull-docs](https://togithub.com/ansible-community/antsibull-docs)
([changelog](https://togithub.com/ansible-community/antsibull-docs/tree/main/CHANGELOG.md))
| `>=2.11,<2.12` -> `>=2.12,<2.13` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/antsibull-docs/2.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/antsibull-docs/2.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/antsibull-docs/2.11.0/2.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/antsibull-docs/2.11.0/2.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ansible-community/antsibull-docs (antsibull-docs)</summary>

###
[`v2.12.0`](https://togithub.com/ansible-community/antsibull-docs/releases/tag/2.12.0)

[Compare
Source](https://togithub.com/ansible-community/antsibull-docs/compare/2.11.0...2.12.0)

##### Release Summary

Bugfix and feature release.

##### Minor Changes

- Allow to mention forums in the Communication section of collection
links
([#&#8203;288](https://togithub.com/ansible-community/antsibull-docs/pull/288)).
- Bump minimum dependency of <code>antsibull-docs-parser</code> to 1.0.2
or newer
([#&#8203;290](https://togithub.com/ansible-community/antsibull-docs/pull/290)).
- The <code>lint-collection-docs</code> subcommand will now complain
about unchanged default values in <code>docs/docsite/links.yml</code>
taken from the [community collection
template](https://togithub.com/ansible-collections/collection_template/)
([#&#8203;273](https://togithub.com/ansible-community/antsibull-docs/issues/273),
[#&#8203;277](https://togithub.com/ansible-community/antsibull-docs/pull/277)).
- The collection docs linter now reports empty markup, like
<code>I()</code>, <code>L(,https://example.com)</code>
([#&#8203;292](https://togithub.com/ansible-community/antsibull-docs/pull/292)).

##### Bugfixes

- Improve handling of empty markup parameters for RST
([#&#8203;290](https://togithub.com/ansible-community/antsibull-docs/pull/290)).
- Improve rendering of empty or broken changelogs
([#&#8203;289](https://togithub.com/ansible-community/antsibull-docs/pull/289)).
- Remove leading spaces in paragraphs to avoid unintended RST
blockquotes
([#&#8203;289](https://togithub.com/ansible-community/antsibull-docs/pull/289)).
- Render errors as code blocks of language <code>text</code> instead of
using the default lexer
([#&#8203;289](https://togithub.com/ansible-community/antsibull-docs/pull/289)).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuOSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 10:54:58 +02:00
Jonas L
19e586fa22
feat: use exponential backoff algorithm when polling actions (#524)
##### SUMMARY

Replace the constant poll interval of 1 second, with a truncated
exponential back off algorithm with jitter.

Below is a suite of poll interval (in seconds) generated by the new
algorithm:
```
1.49
2.14
5.46
6.51
6.57
5.57
5.98
7.13
6.59
7.10
5.54
5.03
6.56
5.96
6.72
7.21
7.05
5.31
5.60
6.33
6.82
5.42
6.08
6.60
TOTAL: 140.77
```
2024-07-04 15:07:05 +02:00
Jonas L
ecaeac1175
docs: add example to assign server to a specific subnet (#525)
##### SUMMARY

Adds an example that shows how to assign a server to a specific
subnetwork.
2024-07-04 14:31:53 +02:00
renovate[bot]
9adb8b3981
chore(deps): update dependency hcloud to v2 (#523)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [hcloud](https://togithub.com/hetznercloud/hcloud-python)
([changelog](https://togithub.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md))
| `1.35.0` -> `2.0.1` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/hcloud/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/hcloud/1.35.0/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/1.35.0/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>

###
[`v2.0.1`](https://togithub.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#201-2024-07-03)

[Compare
Source](https://togithub.com/hetznercloud/hcloud-python/compare/v2.0.0...v2.0.1)

##### Bug Fixes

- `assignee_type` is required when creating a primary ip
([#&#8203;409](https://togithub.com/hetznercloud/hcloud-python/issues/409))
([bce5e94](bce5e940e2))
- clean unused arguments in the `Client.servers.rebuild` method
([#&#8203;407](https://togithub.com/hetznercloud/hcloud-python/issues/407))
([6d33c3c](6d33c3cff5))
- details are optional in API errors
([#&#8203;411](https://togithub.com/hetznercloud/hcloud-python/issues/411))
([f1c6594](f1c6594dee))
- rename `trace_id` variable to `correlation_id`
([#&#8203;408](https://togithub.com/hetznercloud/hcloud-python/issues/408))
([66a0f54](66a0f54699))

###
[`v2.0.0`](https://togithub.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#200-2024-07-03)

[Compare
Source](https://togithub.com/hetznercloud/hcloud-python/compare/v1.35.0...v2.0.0)

##### ⚠ BREAKING CHANGES

- return full rebuild response in `Client.servers.rebuild`
([#&#8203;406](https://togithub.com/hetznercloud/hcloud-python/issues/406))
- make `datacenter` argument optional when creating a primary ip
([#&#8203;363](https://togithub.com/hetznercloud/hcloud-python/issues/363))
- remove deprecated `include_wildcard_architecture` argument in
`IsosClient.get_list` and `IsosClient.get_all`
([#&#8203;402](https://togithub.com/hetznercloud/hcloud-python/issues/402))
- make `Client.request` `tries` a private argument
([#&#8203;399](https://togithub.com/hetznercloud/hcloud-python/issues/399))
- make `Client.poll_interval` a private property
([#&#8203;398](https://togithub.com/hetznercloud/hcloud-python/issues/398))
- return empty dict on empty responses in `Client.request`
([#&#8203;400](https://togithub.com/hetznercloud/hcloud-python/issues/400))
- remove deprecated `hcloud.hcloud` module
([#&#8203;401](https://togithub.com/hetznercloud/hcloud-python/issues/401))
- move `hcloud.__version__.VERSION` to `hcloud.__version__`
([#&#8203;397](https://togithub.com/hetznercloud/hcloud-python/issues/397))

##### Features

- add `trace_id` to API exceptions
([#&#8203;404](https://togithub.com/hetznercloud/hcloud-python/issues/404))
([8375261](8375261da3))
- allow using a custom poll_interval function
([#&#8203;403](https://togithub.com/hetznercloud/hcloud-python/issues/403))
([93eb56b](93eb56ba4d))
- make `Client.poll_interval` a private property
([#&#8203;398](https://togithub.com/hetznercloud/hcloud-python/issues/398))
([d5f24db](d5f24db281))
- make `Client.request` `tries` a private argument
([#&#8203;399](https://togithub.com/hetznercloud/hcloud-python/issues/399))
([428ea7e](428ea7e3be))
- move `hcloud.__version__.VERSION` to `hcloud.__version__`
([#&#8203;397](https://togithub.com/hetznercloud/hcloud-python/issues/397))
([4e3f638](4e3f638862)),
closes
[#&#8203;234](https://togithub.com/hetznercloud/hcloud-python/issues/234)
- remove deprecated `hcloud.hcloud` module
([#&#8203;401](https://togithub.com/hetznercloud/hcloud-python/issues/401))
([db37e63](db37e633eb))
- remove deprecated `include_wildcard_architecture` argument in
`IsosClient.get_list` and `IsosClient.get_all`
([#&#8203;402](https://togithub.com/hetznercloud/hcloud-python/issues/402))
([6b977e2](6b977e2da5))
- return empty dict on empty responses in `Client.request`
([#&#8203;400](https://togithub.com/hetznercloud/hcloud-python/issues/400))
([9f46adb](9f46adb946))
- return full rebuild response in `Client.servers.rebuild`
([#&#8203;406](https://togithub.com/hetznercloud/hcloud-python/issues/406))
([1970d84](1970d84bec))

##### Bug Fixes

- make `datacenter` argument optional when creating a primary ip
([#&#8203;363](https://togithub.com/hetznercloud/hcloud-python/issues/363))
([ebef774](ebef77464c))

##### Dependencies

- update dependency coverage to >=7.5,<7.6
([#&#8203;386](https://togithub.com/hetznercloud/hcloud-python/issues/386))
([5660691](5660691ebd))
- update dependency mypy to >=1.10,<1.11
([#&#8203;387](https://togithub.com/hetznercloud/hcloud-python/issues/387))
([35c933b](35c933bd21))
- update dependency myst-parser to v3
([#&#8203;385](https://togithub.com/hetznercloud/hcloud-python/issues/385))
([9f18270](9f18270489))
- update dependency pylint to >=3,<3.3
([#&#8203;391](https://togithub.com/hetznercloud/hcloud-python/issues/391))
([4a6f005](4a6f005cb0))
- update dependency pytest to >=8,<8.3
([#&#8203;390](https://togithub.com/hetznercloud/hcloud-python/issues/390))
([584a36b](584a36b658))
- update dependency sphinx to >=7.3.4,<7.4
([#&#8203;383](https://togithub.com/hetznercloud/hcloud-python/issues/383))
([69c2e16](69c2e16073))
- update pre-commit hook asottile/pyupgrade to v3.16.0
([0ce5fbc](0ce5fbccba))
- update pre-commit hook pre-commit/pre-commit-hooks to v4.6.0
([5ef25ab](5ef25ab396))
- update pre-commit hook psf/black-pre-commit-mirror to v24.4.0
([0941fbf](0941fbfab2))
- update pre-commit hook psf/black-pre-commit-mirror to v24.4.1
([fec08c5](fec08c5323))
- update pre-commit hook psf/black-pre-commit-mirror to v24.4.2
([#&#8203;389](https://togithub.com/hetznercloud/hcloud-python/issues/389))
([2b2e21f](2b2e21f613))
- update pre-commit hook pycqa/flake8 to v7.1.0
([3bc651d](3bc651d50d))

##### Documentation

- add v2 upgrade notes
([#&#8203;405](https://togithub.com/hetznercloud/hcloud-python/issues/405))
([c77f771](c77f771e2b))
- cx11 is name, not an id
([#&#8203;381](https://togithub.com/hetznercloud/hcloud-python/issues/381))
([b745d40](b745d4049f))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuOSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-07-03 15:05:12 +02:00
Jonas L
f3d697c006
test: use shared variable for server type, image and location (#522)
##### SUMMARY

Use shared variables to store information about which server type, image
or location to use for our integrations tests.

- The location was changed from FSN to HEL.
- The image was changed from ubuntu-22.04 to debian-12.
2024-06-26 16:10:58 +02:00
Jonas L
069b866e57
test: add internal account vswitch ids (#521)
##### SUMMARY

Adds a few vSwitche IDs from our internal Hetzner Account, to run test
manually.
2024-06-26 14:31:49 +02:00
renovate[bot]
948a79335f chore(deps): update pre-commit hook ansible/ansible-lint to v24.6.1 2024-06-21 18:07:47 +00:00
renovate[bot]
d087ecafe5 deps: update pre-commit hook ansible-community/antsibull-changelog to v0.29.0 2024-06-20 01:51:26 +00:00
Jonas L
029a7c686b
test: update server type to cax11 (#518)
Ensure we are consistent across our tests, and updates some server types
that were missing from the previous PR updating this:

https://github.com/ansible-collections/hetzner.hcloud/pull/510
2024-06-12 10:57:12 +02:00
Hetzner Cloud Bot
03dfeb2f2b
chore(main): release 4.0.1 (#517)
🤖 I have created a release *beep* *boop*
---


##
[4.0.1](https://github.com/ansible-collections/hetzner.hcloud/compare/4.0.0...4.0.1)
(2024-06-11)


### Bug Fixes

* keep deprecated alias for another major version
([#515](https://github.com/ansible-collections/hetzner.hcloud/issues/515))
([49e21ae](49e21ae4fe))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-06-11 16:57:06 +02:00
Jonas L
49e21ae4fe
fix: keep deprecated alias for another major version (#515)
This was not removed during the v4.0.0 release, we must therefor
reschedule it for the v5.0.0 release.
2024-06-11 16:55:27 +02:00
Hetzner Cloud Bot
19e5595a9c
chore(main): release 4.0.0 (#514)
🤖 I have created a release *beep* *boop*
---


##
[4.0.0](https://github.com/ansible-collections/hetzner.hcloud/compare/3.1.1...4.0.0)
(2024-06-11)


### ⚠ BREAKING CHANGES

* drop support for ansible-core 2.14
([#512](https://github.com/ansible-collections/hetzner.hcloud/issues/512))

### Features

* drop support for ansible-core 2.14
([#512](https://github.com/ansible-collections/hetzner.hcloud/issues/512))
([8157f9a](8157f9a250))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-06-11 16:28:36 +02:00
Jonas L
8157f9a250
feat!: drop support for ansible-core 2.14 (#512)
##### SUMMARY

ansible-core 2.14 is EOL since 20 May 2024.

https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
2024-06-11 16:21:03 +02:00
Jonas L
fb8c2a9f58
chore: replace deprecated server type with cx22 (#510)
Learn more:
https://docs.hetzner.cloud/changelog#2024-06-06-old-server-types-with-shared-intel-vcpus-are-deprecated

- Updated docs with newer server types
- Use ARM server type for tests
2024-06-11 15:30:47 +02:00
Jonas L
0dc857830d
test: add workaround to prevent a timeout during the server deletion (#513)
When the following steps are executed, the server deletion fails with a
timeout:
- delete primary IP (attached to the server)
- delete server
- timeout after 5 minutes on server delete action


Adding the 2 seconds pause will work around this timeout.
2024-06-10 18:33:41 +02:00
renovate[bot]
6cff1a3a99 deps: update pre-commit hook asottile/pyupgrade to v3.16.0 2024-06-09 00:27:22 +00:00
renovate[bot]
e34ff6d295 deps: update pre-commit hook ansible/ansible-lint to v24.6.0 2024-06-04 21:18:05 +00:00
Jonas L
132b378e92
ci: add ansible-core 2.17 to the test matrix (#508)
##### SUMMARY

See
https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix

Also bump the test containers to version v6.0.0.
2024-05-31 09:25:02 +02:00
renovate[bot]
ad5b95856f deps: update pre-commit hook ansible-community/antsibull-changelog to v0.28.0 2024-05-27 00:23:40 +00:00
Jonas L
cbd2e78bf5
ci: use new release-please action (#506) 2024-05-24 16:15:08 +02:00
renovate[bot]
2b38e0363a deps: update pre-commit hook ansible-community/antsibull-changelog to v0.27.0 2024-05-20 22:30:54 +00:00
renovate[bot]
a95c6ccfb0 deps: update pre-commit hook ansible/ansible-lint to v24.5.0 2024-05-15 23:58:26 +00:00
renovate[bot]
81ea6252f4
deps: update dependency antsibull-docs to >=2.11,<2.12 (#503)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[antsibull-docs](https://togithub.com/ansible-community/antsibull-docs)
([changelog](https://togithub.com/ansible-community/antsibull-docs/tree/main/CHANGELOG.md))
| `>=2.10,<2.11` -> `>=2.11,<2.12` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/antsibull-docs/2.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/antsibull-docs/2.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/antsibull-docs/2.10.0/2.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/antsibull-docs/2.10.0/2.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ansible-community/antsibull-docs (antsibull-docs)</summary>

###
[`v2.11.0`](https://togithub.com/ansible-community/antsibull-docs/releases/tag/2.11.0)

[Compare
Source](https://togithub.com/ansible-community/antsibull-docs/compare/2.10.0...2.11.0)

##### Release Summary

Feature and bugfix release.

##### Minor Changes

- Support examples for role entrypoints
([#&#8203;244](https://togithub.com/ansible-community/antsibull-docs/pull/244)).

##### Bugfixes

- Fix handling of <code>choices</code> that are dictionaries for
<code>type=list</code>
([#&#8203;276](https://togithub.com/ansible-community/antsibull-docs/pull/276)).
- Fix handling of <code>default</code> for <code>type=list</code> if
<code>choices</code> is present
([#&#8203;276](https://togithub.com/ansible-community/antsibull-docs/pull/276)).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-07 08:32:57 +02:00
renovate[bot]
e65e605401 deps: update pre-commit hook ansible/ansible-lint to v24.2.3 2024-04-30 15:44:06 +00:00
renovate[bot]
6cbbb43630 deps: update pre-commit hook psf/black-pre-commit-mirror to v24.4.2 2024-04-26 14:39:35 +00:00
renovate[bot]
1bcc78674c
deps: update pre-commit hook psf/black-pre-commit-mirror to v24.4.1 (#499)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[psf/black-pre-commit-mirror](https://togithub.com/psf/black-pre-commit-mirror)
| repository | patch | `24.4.0` -> `24.4.1` |

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>psf/black-pre-commit-mirror
(psf/black-pre-commit-mirror)</summary>

###
[`v24.4.1`](https://togithub.com/psf/black-pre-commit-mirror/compare/24.4.0...24.4.1)

[Compare
Source](https://togithub.com/psf/black-pre-commit-mirror/compare/24.4.0...24.4.1)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-25 08:56:29 +02:00
Hetzner Cloud Bot
b42ebac72d
chore(main): release 3.1.1 (#497)
🤖 I have created a release *beep* *boop*
---


##
[3.1.1](https://github.com/ansible-collections/hetzner.hcloud/compare/3.1.0...3.1.1)
(2024-04-16)


### Bug Fixes

* **inventory:** ensure host ipv6 variable is json serializable
([#496](https://github.com/ansible-collections/hetzner.hcloud/issues/496))
([a98cf72](a98cf72f92))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-04-16 12:27:43 +02:00
Jonas L
a98cf72f92
fix(inventory): ensure host ipv6 variable is json serializable (#496)
##### SUMMARY

Fix https://github.com/ansible-collections/hetzner.hcloud/issues/495
Related to
https://github.com/ansible-collections/hetzner.hcloud/pull/477

##### ISSUE TYPE

- Bugfix Pull Request


##### COMPONENT NAME
inventory
2024-04-16 11:48:03 +02:00
renovate[bot]
50a8d02e2d
deps: update dependency antsibull-docs to >=2.10,<2.11 (#494)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[antsibull-docs](https://togithub.com/ansible-community/antsibull-docs)
([changelog](https://togithub.com/ansible-community/antsibull-docs/tree/main/CHANGELOG.md))
| `>=2.9,<2.10` -> `>=2.10,<2.11` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/antsibull-docs/2.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/antsibull-docs/2.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/antsibull-docs/2.9.0/2.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/antsibull-docs/2.9.0/2.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ansible-community/antsibull-docs (antsibull-docs)</summary>

###
[`v2.10.0`](https://togithub.com/ansible-community/antsibull-docs/releases/tag/2.10.0)

[Compare
Source](https://togithub.com/ansible-community/antsibull-docs/compare/2.9.0...2.10.0)

##### Release Summary

Bugfix and feature release.

##### Minor Changes

- It is now possible to render the collection changelog as part of the
collection docsite by using the <code>changelog</code> option in
<code>docs/docsite/config.yml</code>
([#&#8203;31](https://togithub.com/ansible-community/antsibull-docs/issues/31),
[#&#8203;267](https://togithub.com/ansible-community/antsibull-docs/pull/267)).

##### Bugfixes

- Fix internal links to options and return values in simplified RST
output
([#&#8203;269](https://togithub.com/ansible-community/antsibull-docs/pull/269)).
- Include role in role attribute references
([#&#8203;269](https://togithub.com/ansible-community/antsibull-docs/pull/269)).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 08:34:43 +02:00
Hetzner Cloud Bot
fd58b559cf
chore(main): release 3.1.0 (#460)
🤖 I have created a release *beep* *boop*
---


##
[3.1.0](https://github.com/ansible-collections/hetzner.hcloud/compare/3.0.0...3.1.0)
(2024-04-15)


### Features

* assign primary ip to a server on create
([#465](https://github.com/ansible-collections/hetzner.hcloud/issues/465))
([51afb23](51afb23166))
* rename server `image_allow_deprecated` option
([#487](https://github.com/ansible-collections/hetzner.hcloud/issues/487))
([d88ecdb](d88ecdbccc))
* use resources name or ID in server module arguments
([#484](https://github.com/ansible-collections/hetzner.hcloud/issues/484))
([7fdefcf](7fdefcfa02))


### Bug Fixes

* improve actions waiting timeout based on data
([#488](https://github.com/ansible-collections/hetzner.hcloud/issues/488))
([0709552](07095529a4))
* return sorted `alias_ips` in `server_network` module
([#458](https://github.com/ansible-collections/hetzner.hcloud/issues/458))
([1ae6769](1ae6769210))
* use empty string to remove server from its placement group
([#489](https://github.com/ansible-collections/hetzner.hcloud/issues/489))
([00a4fdd](00a4fdd58a))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-04-15 12:26:31 +02:00
Jonas L
07095529a4
fix: improve actions waiting timeout based on data (#488)
##### SUMMARY

Some action waiting time have been set to an arbitrary number, which
could force the users to wait for too long, while we could have raised a
timeout.

This changes the arbitrary numbers with rough estimate based on the
average actions time and some leeway.
2024-04-15 11:01:12 +02:00
renovate[bot]
04835d543f deps: update pre-commit hook psf/black-pre-commit-mirror to v24.4.0 2024-04-13 09:26:09 +00:00