Merge "Add a jammy test node for regional mirrors"

This commit is contained in:
Zuul 2023-11-01 22:21:40 +00:00 committed by Gerrit Code Review
commit f1c7d7a8de
6 changed files with 18 additions and 1 deletions

View File

@ -238,6 +238,9 @@
- name: letsencrypt updated mirror02-openafs-provider-opendev-org-main
include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
- name: letsencrypt updated mirror03-openafs-provider-opendev-org-main
include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
- name: letsencrypt updated gitea99-main
include_tasks: roles/letsencrypt-create-certs/handlers/restart_gitea.yaml

View File

@ -146,6 +146,7 @@
- host_vars/grafana01.opendev.org.yaml
- host_vars/mirror01.openafs.provider.opendev.org.yaml
- host_vars/mirror02.openafs.provider.opendev.org.yaml
- host_vars/mirror03.openafs.provider.opendev.org.yaml
- host_vars/mirror-update99.opendev.org.yaml
- host_vars/paste99.opendev.org.yaml
- host_vars/refstack01.openstack.org.yaml

View File

@ -13,6 +13,7 @@ groups:
- letsencrypt02.opendev.org
- mirror01.openafs.provider.opendev.org
- mirror02.openafs.provider.opendev.org
- mirror03.openafs.provider.opendev.org
borg-backup-server:
- borg-backup01.region.provider.opendev.org

View File

@ -0,0 +1,4 @@
letsencrypt_certs:
mirror03-openafs-provider-opendev-org-main:
- mirror03.openafs.provider.opendev.org
- mirror.openafs.provider.opendev.org

View File

@ -17,7 +17,8 @@ import json
testinfra_hosts = ['mirror01.openafs.provider.opendev.org',
'mirror02.openafs.provider.opendev.org']
'mirror02.openafs.provider.opendev.org',
'mirror03.openafs.provider.opendev.org']
def test_apache(host):
apache = host.service('apache2')

View File

@ -472,6 +472,11 @@
'/var/log/apache2/': logs
'/var/log/acme.sh': logs
'/etc/apache2/sites-available/mirror.conf': logs
mirror03.openafs.provider.opendev.org:
host_copy_output:
'/var/log/apache2/': logs
'/var/log/acme.sh': logs
'/etc/apache2/sites-available/mirror.conf': logs
files:
- playbooks/bootstrap-bridge.yaml
- roles/
@ -494,6 +499,8 @@
label: ubuntu-bionic
- name: mirror02.openafs.provider.opendev.org
label: ubuntu-focal
- name: mirror03.openafs.provider.opendev.org
label: ubuntu-jammy
groups:
- <<: *bastion_group