Commit graph

437 commits

Author SHA1 Message Date
Hetzner Cloud Bot
098883454c
chore(main): release 4.2.2 (#571)
🤖 I have created a release *beep* *boop*
---


##
[4.2.2](https://github.com/ansible-collections/hetzner.hcloud/compare/4.2.1...4.2.2)
(2024-11-22)


### Bug Fixes

* improve unknown certificate error in `load_balancer_service`
([#570](https://github.com/ansible-collections/hetzner.hcloud/issues/570))
([fe3bfa9](fe3bfa9020))
* only rebuild existing servers, skip rebuild if it was just created
([#581](https://github.com/ansible-collections/hetzner.hcloud/issues/581))
([06718d0](06718d0db0))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-11-22 13:51:01 +01:00
renovate[bot]
ed76bc31ac
chore(deps): update dependency antsibull-docs to >=2.16,<2.17 (#586) 2024-11-22 12:03:55 +01:00
renovate[bot]
7f81ee6df3
chore(deps): update pre-commit hook ansible/ansible-lint to v24.10.0 (#584)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[ansible/ansible-lint](https://redirect.github.com/ansible/ansible-lint)
| repository | minor | `v24.9.2` -> `v24.10.0` |

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://redirect.github.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>ansible/ansible-lint (ansible/ansible-lint)</summary>

###
[`v24.10.0`](https://redirect.github.com/ansible/ansible-lint/releases/tag/v24.10.0)

[Compare
Source](https://redirect.github.com/ansible/ansible-lint/compare/v24.9.2...v24.10.0)

#### Enhancements

- Add support for py313
([#&#8203;4388](https://redirect.github.com/ansible/ansible-lint/issues/4388))
[@&#8203;abhikdps](https://redirect.github.com/abhikdps)

#### Bugfixes

- Require ansible-compat>=24.10.0
([#&#8203;4402](https://redirect.github.com/ansible/ansible-lint/issues/4402))
- Update TaskHasTag example rule used in custom-rules.md
([#&#8203;4401](https://redirect.github.com/ansible/ansible-lint/issues/4401))
[@&#8203;cavcrosby](https://redirect.github.com/cavcrosby)
- Add Fedora 41 as a platform in the metadata schema
([#&#8203;4392](https://redirect.github.com/ansible/ansible-lint/issues/4392))
[@&#8203;jsf9k](https://redirect.github.com/jsf9k)
- Fixing the issue "Unfinished sentence in docs/profiles.md
[#&#8203;4358](https://redirect.github.com/ansible/ansible-lint/issues/4358)"
([#&#8203;4380](https://redirect.github.com/ansible/ansible-lint/issues/4380))
[@&#8203;binojmn](https://redirect.github.com/binojmn)
- Fix quotes converting free-form syntax to yaml
([#&#8203;4361](https://redirect.github.com/ansible/ansible-lint/issues/4361))
[@&#8203;cavcrosby](https://redirect.github.com/cavcrosby)
- Handle FQCN when using import_playbook
([#&#8203;4369](https://redirect.github.com/ansible/ansible-lint/issues/4369))
[@&#8203;cavcrosby](https://redirect.github.com/cavcrosby)
- Allow jinja in variable names
([#&#8203;4372](https://redirect.github.com/ansible/ansible-lint/issues/4372))
[@&#8203;ssbarnea](https://redirect.github.com/ssbarnea)
- Update rulebook schema
([#&#8203;4373](https://redirect.github.com/ansible/ansible-lint/issues/4373))
[@&#8203;ssbarnea](https://redirect.github.com/ssbarnea)
- Fix wonky writing to sarif_file
([#&#8203;4368](https://redirect.github.com/ansible/ansible-lint/issues/4368))
[@&#8203;Qalthos](https://redirect.github.com/Qalthos)
- Fix to avoid spamming syslog with invoked messages
([#&#8203;4353](https://redirect.github.com/ansible/ansible-lint/issues/4353))
[@&#8203;tanwigeetika1618](https://redirect.github.com/tanwigeetika1618)
- Pin codecov action to v4.5.0 and update dependabot.yml to ignore
v4.6.0
([#&#8203;4356](https://redirect.github.com/ansible/ansible-lint/issues/4356))
[@&#8203;tanwigeetika1618](https://redirect.github.com/tanwigeetika1618)
- Update schema for missing `tags` property to builder v3 `options`
([#&#8203;4346](https://redirect.github.com/ansible/ansible-lint/issues/4346))
[@&#8203;audgirka](https://redirect.github.com/audgirka)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, 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://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 19:42:26 +00:00
Jonas L.
380a692238
ci: add ansible-core 2.18 to the test matrix (#582)
##### SUMMARY

See
https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
2024-11-12 10:27:19 +01:00
Jonas L.
06718d0db0
fix: only rebuild existing servers, skip rebuild if it was just created (#581)
##### SUMMARY

Fixes #580

A freshly created server must not be rebuild.

##### ISSUE TYPE

- Bugfix Pull Request


##### COMPONENT NAME

server
2024-11-11 17:09:37 +01:00
renovate[bot]
5221828cba chore(deps): update pre-commit hook ansible-community/antsibull-changelog to v0.31.1 2024-10-27 13:00:38 +00:00
renovate[bot]
d4199ee1a3 chore(deps): update pre-commit hook asottile/pyupgrade to v3.19.0 2024-10-22 03:28:40 +00:00
Jonas L.
b545860e9e
test: run devel (ansible-core 2.18) tests with python 3.13 (#575)
##### SUMMARY

See
https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
2024-10-21 12:29:37 +02:00
renovate[bot]
bb23d0ab14 chore(deps): update pre-commit hook ansible-community/antsibull-changelog to v0.31.0 2024-10-19 22:05:18 +00:00
renovate[bot]
6c42ee4713 chore(deps): update pre-commit hook asottile/pyupgrade to v3.18.0 2024-10-12 04:08:56 +00:00
Jonas L.
fe3bfa9020
fix: improve unknown certificate error in load_balancer_service (#570)
##### SUMMARY

Closes #563 

##### ISSUE TYPE

- Bugfix Pull Request

##### COMPONENT NAME

load_balancer_service
2024-10-10 15:19:16 +02:00
renovate[bot]
d9f49144bc
chore(deps): update dependency hcloud to v2.3.0 (#567) 2024-10-10 13:03:44 +02:00
Jonas L.
f05894ad09
test: do not use deprecated iso (#569)
##### SUMMARY

The iso used for the tests is now deprecated, changed to the latest
version of the system rescue iso.
2024-10-10 12:55:03 +02:00
renovate[bot]
5a5c8571b7
chore(deps): update dependency antsibull-docs to >=2.15,<2.16 (#568) 2024-10-10 12:53:25 +02:00
renovate[bot]
2cc99d433d
chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v5 (#564) 2024-10-08 11:20:38 +02:00
renovate[bot]
f5d32d7223 chore(deps): update pre-commit hook psf/black-pre-commit-mirror to v24.10.0 2024-10-08 04:36:25 +00:00
Hetzner Cloud Bot
8503764dd0
chore(main): release 4.2.1 (#562)
🤖 I have created a release *beep* *boop*
---


##
[4.2.1](https://github.com/ansible-collections/hetzner.hcloud/compare/4.2.0...4.2.1)
(2024-09-23)


### Bug Fixes

* **server:** timeout in server creation when waiting on next actions
([#561](https://github.com/ansible-collections/hetzner.hcloud/issues/561))
([98e9c52](98e9c52c74))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-09-23 09:08:39 +02:00
Julian Tölle
98e9c52c74
fix(server): timeout in server creation when waiting on next actions (#561)
While we wait a long time on the `create_server` actions, we only wait 2
minutes on any follow up actions like `start_server` or
`attach_network`. This is sometimes not enough. This commit adds a longer
wait timeout for the `next_actions` returned after creating the server.

Co-authored-by: Marco Montesi <marco.montesi@gmail.com>
2024-09-23 09:00:57 +02:00
renovate[bot]
a2d5d1f695 chore(deps): update pre-commit hook ansible/ansible-lint to v24.9.2 2024-09-19 22:55:40 +00:00
Seb d'Argoeuves
b39d7626b5
docs: fix firewall_resource examples input parameters (#557)
In the example, we should use `firewall` instead of `name` as per the
options described at the top of the documentation.
2024-09-12 13:42:11 +02:00
renovate[bot]
5b2aae8011 chore(deps): update pre-commit hook ansible/ansible-lint to v24.9.0 2024-09-11 17:13:11 +00:00
renovate[bot]
7aba3d4839
chore(deps): update pre-commit hook ansible-community/antsibull-changelog to v0.30.0 (#556) 2024-09-09 19:20:06 +02:00
renovate[bot]
a3ed25407e
chore(deps): update dependency antsibull-docs to >=2.14,<2.15 (#555) 2024-09-09 19:12:54 +02:00
Hetzner Cloud Bot
9cce39cf56
chore(main): release 4.2.0 (#551)
🤖 I have created a release *beep* *boop*
---


##
[4.2.0](https://github.com/ansible-collections/hetzner.hcloud/compare/4.1.0...4.2.0)
(2024-08-30)


### Features

* compute load balancer targets status using a filter
([#550](https://github.com/ansible-collections/hetzner.hcloud/issues/550))
([fce8bc9](fce8bc9bb9))


### Bug Fixes

* check label_selector child targets with load_balancer_status filter
([#552](https://github.com/ansible-collections/hetzner.hcloud/issues/552))
([abdf722](abdf72212b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-08-30 15:20:16 +02:00
renovate[bot]
c92c73904e
chore(deps): update dependency hcloud to v2.2.1 (#553) 2024-08-30 15:11:41 +02:00
renovate[bot]
a955bfe493
chore(deps): update dependency antsibull-docs to >=2.13,<2.14 (#554) 2024-08-28 17:25:14 +02:00
Jonas L.
abdf72212b
fix: check label_selector child targets with load_balancer_status filter (#552)
##### SUMMARY

The previous implementation did not take into consideration label
selectors targets, and their child targets.

This change implements a recursive function that traverse all the
targets.

Related to #467 #550
2024-08-16 11:09:20 +02:00
Jonas L.
fce8bc9bb9
feat: compute load balancer targets status using a filter (#550)
##### SUMMARY

Allow to compute the status of a load balancer using a filter.

Closes #467 

##### ISSUE TYPE

- Feature Pull Request


##### COMPONENT NAME

hetzner.hcloud.loab_balancer_status
2024-08-14 14:18:39 +02:00
Andrew Klychkov
a85bd39738
docs: add communication section with forum information (#549)
##### SUMMARY

As a part of the [Consolidating Ansible discussion platforms
initiative](https://forum.ansible.com/t/proposal-consolidating-ansible-discussion-platforms/6812),
this PR adds the communication section template defined by the community
to the README. Similar PRs are being raised across all included
collections under the ansible-collection org for now.

- If you have your forum group and/or tags related to the collection,
please update corresponding lines by suggesting changes to the PR.
- If the collection is not present on the Ansible forum yet, please
check out the existing [tags](https://forum.ansible.com/tags) and
[groups](https://forum.ansible.com/g) - use what suits your collection.
If there is no appropriate tag, please [request
one](https://forum.ansible.com/t/requesting-a-forum-group/503/17). You
can also request a group there as a WG if needed. Then update
corresponding lines by suggesting changes to the PR.
- Presence in the forum will soon likely become a part of the Collection
inclusion requirements.

##### ISSUE TYPE

- Docs Pull Request

##### COMPONENT NAME
README.md

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-08-13 10:54:56 +02:00
Jonas L.
cb03f49df7
chore: fix sanity unreachable code (#548) 2024-08-09 09:39:05 +02:00
Jonas L.
04a45bd92c
test: improve load_balancer_target integration using new framework (#547)
##### SUMMARY

Use the new testing framework for the load_balancer_target integration
tests.

Depends on #546
2024-08-08 16:05:21 +02:00
Jonas L.
d56d12b68d
test: improve load_balancer_service integration using new framework (#546)
SUMMARY

Use the new testing framework for the load_balancer_service integration
tests.

Depends on #545
2024-08-08 16:04:22 +02:00
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