ansible-collection-hetzner-.../tests
Julian Tölle e218306028
test: various fixes for integration tests (#193)
* test: update for new locations

* test(cert): fix issues with random name failing the test

The variable hcloud_dns_test_domain used the random function to generate
a number from 1-100. This number changed between every usage of the
variable, so the test that compared the domain name of the cert to the
variable kept failing, as different numbers were generated.

By generating the number once and saving it into a fact, this is fixed.

* test: fix issues with long resource names

Server and volume names have restricted length (63 and 64 respectivly).

This can cause issues when the `hcloud_prefix` is of certain length. By
applying truncate, we can be sure to not reach the limit.

This issue mainly happened in our internal ci, as the hcloud_prefix variable
contains the hostname where the tests were running, and our hostnames are
quite long.
2023-02-13 10:48:26 +01:00
..
integration test: various fixes for integration tests (#193) 2023-02-13 10:48:26 +01:00
sanity chore: remove Ansible 2.11 support (#191) 2023-02-08 10:07:27 +01:00
utils AZP: Add stable-2.12 to test matrix (#113) 2021-10-13 11:18:01 +02:00
.gitignore Initial commit 2020-03-09 13:36:01 +00:00
requirements.yml Add Shippable CI (#2) 2020-04-14 08:34:22 +02:00