system-config/testinfra
Ian Wienand e70c1e581c static: move certs to group, update testing name to static99
Currently we define the letsencrypt certs for each host in its
individual host variables.

With recent work we have a trusted CA and SAN names setup in
our testing environment; introducing the possibility that we could
accidentally reference the production host during testing (both have
valid certs, as far as the testing hosts are concerned).

To avoid this, we can use our naming scheme to move our testing hosts
to "99" and avoid collision with the production hosts.  As a bonus,
this really makes you think more about your group/host split to get
things right and keep the environment as abstract as possible.

One example of this is that with letsencrypt certificates defined in
host vars, testing and production need to use the same hostname to get
the right certificates created.  Really, this should be group-level
information so it applies equally to host01 and host99.  To cover
"hostXX.opendev.org" as a SAN we can include the inventory_hostname in
the group variables.

This updates one of the more tricky hosts, static, as a proof of
concept.  We rename the handlers to be generic, and update the testing
targets.

Change-Id: Id98768e29a06cebaf645eb75b39e4dc5adb8830d
2022-08-05 08:18:55 +10:00
..
conftest.py More yaml.safe_load() in testinfra/conftest.py 2021-10-13 21:58:41 +00:00
test_adns.py Add DNSSEC configuration for gating.dev 2021-07-22 09:36:17 -07:00
test_base.py Manage 10periodic and 20auto-upgrades together 2022-01-27 09:17:26 -08:00
test_borg_backups.py borg-backup-server: run a weekly backup verification 2021-02-11 00:43:16 +00:00
test_bridge.py Update ARA 2021-06-01 09:38:32 +10:00
test_codesearch.py hound: enable detect-ref 2022-02-25 17:27:35 +11:00
test_eavesdrop.py ptgbot: rename site to ptg.opendev.org 2021-10-07 09:43:39 +11:00
test_etherpad.py etherpad: fix robots.txt 2020-11-20 19:13:37 +11:00
test_gerrit.py Block access to Gitiles 2022-02-18 21:39:27 +00:00
test_gitea_lb.py gitea: test loadbalancer to gitea 2022-07-07 10:02:46 +10:00
test_gitea.py Move gitea partial clone test 2022-06-29 11:26:47 -07:00
test_grafana.py testinfra: refactor screenshot taking 2021-09-07 12:54:26 +10:00
test_graphite.py graphite: fix xFilesFactor 2022-06-28 18:41:17 +10:00
test_keycloak.py Correct keycloak proxy config 2021-12-04 10:49:11 -08:00
test_letsencrypt.py letsencrypt test: fix email match 2020-08-25 14:42:54 +10:00
test_lists_k_i.py Redirect all Mailman sites from HTTP to HTTPS 2022-07-01 19:16:00 +00:00
test_lists_o_o.py Redirect all Mailman sites from HTTP to HTTPS 2022-07-01 19:16:00 +00:00
test_meetpad.py Use our jitsi-meet image for meetpad 2020-03-27 09:43:41 -07:00
test_mirror-update.py Enable mirroring of 9-stream 2021-11-15 17:54:54 +11:00
test_mirror.py Cache Ansible Galaxy on CI mirror servers 2021-11-22 18:49:58 +00:00
test_nodepool.py Add new opendev.org nodepool launchers 2021-03-16 15:21:58 -07:00
test_ns.py Configure opendev nameservers using ansible 2018-11-02 13:49:38 -07:00
test_paste.py paste : move testing host to paste99, remove https hacks 2022-07-07 10:02:46 +10:00
test_refstack.py refstack: Edit URL of public RefStackAPI 2021-03-10 14:09:20 +11:00
test_registry.py Run a docker registry for CI 2019-02-01 10:12:51 -08:00
test_static.py static: move certs to group, update testing name to static99 2022-08-05 08:18:55 +10:00
test_zookeeper.py Add firewall behavior assertions to testinfra testing 2021-12-15 16:36:45 -08:00
test_zuul_executor.py Remove gearman from Zuul 2022-02-01 13:52:47 -08:00
test_zuul_lb.py Add Zuul load balancer 2022-02-10 13:24:42 -08:00
test_zuul_merger.py Remove gearman from Zuul 2022-02-01 13:52:47 -08:00
test_zuul_preview.py Run zuul-preview 2019-02-25 13:14:51 -08:00
test_zuul_scheduler.py Remove gearman from Zuul 2022-02-01 13:52:47 -08:00
util.py Add firewall behavior assertions to testinfra testing 2021-12-15 16:36:45 -08:00