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
([#​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
([#​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/ )
([#​273](https://togithub.com/ansible-community/antsibull-docs/issues/273 ),
[#​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>
([#​292](https://togithub.com/ansible-community/antsibull-docs/pull/292 )).
##### Bugfixes
- Improve handling of empty markup parameters for RST
([#​290](https://togithub.com/ansible-community/antsibull-docs/pull/290 )).
- Improve rendering of empty or broken changelogs
([#​289](https://togithub.com/ansible-community/antsibull-docs/pull/289 )).
- Remove leading spaces in paragraphs to avoid unintended RST
blockquotes
([#​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
([#​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
([#​409](https://togithub.com/hetznercloud/hcloud-python/issues/409 ))
([bce5e94](bce5e940e2
))
- clean unused arguments in the `Client.servers.rebuild` method
([#​407](https://togithub.com/hetznercloud/hcloud-python/issues/407 ))
([6d33c3c](6d33c3cff5
))
- details are optional in API errors
([#​411](https://togithub.com/hetznercloud/hcloud-python/issues/411 ))
([f1c6594](f1c6594dee
))
- rename `trace_id` variable to `correlation_id`
([#​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`
([#​406](https://togithub.com/hetznercloud/hcloud-python/issues/406 ))
- make `datacenter` argument optional when creating a primary ip
([#​363](https://togithub.com/hetznercloud/hcloud-python/issues/363 ))
- remove deprecated `include_wildcard_architecture` argument in
`IsosClient.get_list` and `IsosClient.get_all`
([#​402](https://togithub.com/hetznercloud/hcloud-python/issues/402 ))
- make `Client.request` `tries` a private argument
([#​399](https://togithub.com/hetznercloud/hcloud-python/issues/399 ))
- make `Client.poll_interval` a private property
([#​398](https://togithub.com/hetznercloud/hcloud-python/issues/398 ))
- return empty dict on empty responses in `Client.request`
([#​400](https://togithub.com/hetznercloud/hcloud-python/issues/400 ))
- remove deprecated `hcloud.hcloud` module
([#​401](https://togithub.com/hetznercloud/hcloud-python/issues/401 ))
- move `hcloud.__version__.VERSION` to `hcloud.__version__`
([#​397](https://togithub.com/hetznercloud/hcloud-python/issues/397 ))
##### Features
- add `trace_id` to API exceptions
([#​404](https://togithub.com/hetznercloud/hcloud-python/issues/404 ))
([8375261](8375261da3
))
- allow using a custom poll_interval function
([#​403](https://togithub.com/hetznercloud/hcloud-python/issues/403 ))
([93eb56b](93eb56ba4d
))
- make `Client.poll_interval` a private property
([#​398](https://togithub.com/hetznercloud/hcloud-python/issues/398 ))
([d5f24db](d5f24db281
))
- make `Client.request` `tries` a private argument
([#​399](https://togithub.com/hetznercloud/hcloud-python/issues/399 ))
([428ea7e](428ea7e3be
))
- move `hcloud.__version__.VERSION` to `hcloud.__version__`
([#​397](https://togithub.com/hetznercloud/hcloud-python/issues/397 ))
([4e3f638](4e3f638862
)),
closes
[#​234](https://togithub.com/hetznercloud/hcloud-python/issues/234 )
- remove deprecated `hcloud.hcloud` module
([#​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`
([#​402](https://togithub.com/hetznercloud/hcloud-python/issues/402 ))
([6b977e2](6b977e2da5
))
- return empty dict on empty responses in `Client.request`
([#​400](https://togithub.com/hetznercloud/hcloud-python/issues/400 ))
([9f46adb](9f46adb946
))
- return full rebuild response in `Client.servers.rebuild`
([#​406](https://togithub.com/hetznercloud/hcloud-python/issues/406 ))
([1970d84](1970d84bec
))
##### Bug Fixes
- make `datacenter` argument optional when creating a primary ip
([#​363](https://togithub.com/hetznercloud/hcloud-python/issues/363 ))
([ebef774](ebef77464c
))
##### Dependencies
- update dependency coverage to >=7.5,<7.6
([#​386](https://togithub.com/hetznercloud/hcloud-python/issues/386 ))
([5660691](5660691ebd
))
- update dependency mypy to >=1.10,<1.11
([#​387](https://togithub.com/hetznercloud/hcloud-python/issues/387 ))
([35c933b](35c933bd21
))
- update dependency myst-parser to v3
([#​385](https://togithub.com/hetznercloud/hcloud-python/issues/385 ))
([9f18270](9f18270489
))
- update dependency pylint to >=3,<3.3
([#​391](https://togithub.com/hetznercloud/hcloud-python/issues/391 ))
([4a6f005](4a6f005cb0
))
- update dependency pytest to >=8,<8.3
([#​390](https://togithub.com/hetznercloud/hcloud-python/issues/390 ))
([584a36b](584a36b658
))
- update dependency sphinx to >=7.3.4,<7.4
([#​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
([#​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
([#​405](https://togithub.com/hetznercloud/hcloud-python/issues/405 ))
([c77f771](c77f771e2b
))
- cx11 is name, not an id
([#​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
([#​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>
([#​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
([#​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>
([#​31](https://togithub.com/ansible-community/antsibull-docs/issues/31 ),
[#​267](https://togithub.com/ansible-community/antsibull-docs/pull/267 )).
##### Bugfixes
- Fix internal links to options and return values in simplified RST
output
([#​269](https://togithub.com/ansible-community/antsibull-docs/pull/269 )).
- Include role in role attribute references
([#​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
renovate[bot]
a2138b7f47
deps: update pre-commit hook ansible/ansible-lint to v24.2.2
2024-04-09 21:40:23 +00:00
renovate[bot]
41d4269bca
deps: update pre-commit hook pre-commit/pre-commit-hooks to v4.6.0
2024-04-06 22:54:58 +00:00
Jonas L
00a4fdd58a
fix: use empty string to remove server from its placement group ( #489 )
...
##### SUMMARY
- Do not remove the server from its placement group when the
`placement_group` argument is not specified.
- Pass an empty string to the `placement_group` argument to remove a
server from its placement group.
2024-04-04 16:53:32 +02:00
Jonas L
d88ecdbccc
feat: rename server image_allow_deprecated
option ( #487 )
...
##### SUMMARY
Renamed the `allow_deprecated_image` to `image_allow_deprecated`
argument to ensure the `image` related options use the same namespace.
This is backward compatible, as we introduce a new alias for the old
option name.
2024-04-04 12:40:24 +02:00
Jonas L
8738f369d3
test: check for api error code when possible ( #486 )
...
##### SUMMARY
Ensure the error code is correct and replace the error message check in
some cases.
2024-04-04 11:55:45 +02:00
Jonas L
7776905321
test: force firewall cleanup before running server cleanup ( #485 )
...
##### SUMMARY
Cleanup the firewall before the server to prevent a server deletion
timeout.
2024-04-04 11:54:54 +02:00
Jonas L
7fdefcfa02
feat: use resources name or ID in server module arguments ( #484 )
...
##### SUMMARY
- Allow passing either the name or the ID of a resource to the different
arguments of the server module.
- Split the code into multiple smaller function and improve the code.
- Improve the module arguments documentation.
- Refactor and cleanups.
2024-04-04 11:54:41 +02:00
Jonas L
022cca4799
docs: use argument spec to mark force_upgrade
as deprecated ( #481 )
...
##### SUMMARY
Leverage the alias feature from the argument spec, and re-declare the
deprecation of the `force_upgrade` argument.
2024-04-04 11:49:16 +02:00
renovate[bot]
1d95b85e09
deps: update dependency hcloud to v1.35.0 ( #483 )
...
[![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.34.0` -> `1.35.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/1.35.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/hcloud/1.35.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/hcloud/1.34.0/1.35.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/1.34.0/1.35.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>
###
[`v1.35.0`](https://togithub.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#1350-2024-04-02 )
[Compare
Source](https://togithub.com/hetznercloud/hcloud-python/compare/v1.34.0...v1.35.0 )
##### Features
- add `include_deprecated` option when fetching images by name
([#​375](https://togithub.com/hetznercloud/hcloud-python/issues/375 ))
([6d86f86](6d86f86677
))
##### Bug Fixes
- raise warnings for the `ImagesClient.get_by_name` deprecation
([#​376](https://togithub.com/hetznercloud/hcloud-python/issues/376 ))
([b24de80](b24de80684
))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-04-02 19:21:29 +02:00
Jonas L
cfdaa0fb82
test: disable fact gathering in integration tests ( #482 )
...
##### SUMMARY
This should speed up a little our integrations tests by not gather facts
before each test run.
Docs
https://docs.ansible.com/ansible/latest/dev_guide/testing/sanity/integration-aliases.html
2024-04-02 19:21:17 +02:00
renovate[bot]
ac80d2ba7c
deps: update dependency hcloud to v1.34.0 ( #480 )
...
[![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.33.3` -> `1.34.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/1.34.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/hcloud/1.34.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/hcloud/1.33.3/1.34.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/1.33.3/1.34.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>
###
[`v1.34.0`](https://togithub.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#1340-2024-03-27 )
[Compare
Source](https://togithub.com/hetznercloud/hcloud-python/compare/v1.33.3...v1.34.0 )
##### Features
- add `has_id_or_name` to `DomainIdentityMixin`
([#​373](https://togithub.com/hetznercloud/hcloud-python/issues/373 ))
([8facaf6](8facaf6d4d
))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-03-27 17:17:35 +01:00
Jonas L
0d7164a9f6
chore: disable out of scope pylint rules ( #478 )
...
##### SUMMARY
Disable some pylint rules that are out of scope for the time being, to
stop polluting the pylint errors report. Those might be re-enabled at a
later stage.
2024-03-27 15:49:19 +01:00
Jonas L
4bb02b9cd2
refactor: remove unneeded to_native
calls ( #477 )
...
##### SUMMARY
Since we only support python >=3.8, the `to_native` python2/3
compatibility function is not needed anymore. We only keep it for
printing a traceback free exception message. Where a type conversion is
needed, we use the built-in `str()` function.
2024-03-27 14:11:30 +01:00