ansible-collection-hetzner-.../tests/integration/targets/hcloud_certificate
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
..
defaults Randomize dns test domain 2022-07-13 12:45:41 +02:00
meta Implement Load Balancers and Certificates and prepare release (#13) 2020-06-29 15:41:30 +02:00
tasks test: various fixes for integration tests (#193) 2023-02-13 10:48:26 +01:00
aliases Implement Load Balancers and Certificates and prepare release (#13) 2020-06-29 15:41:30 +02:00