Merge "Switch bridge to bridge01.opendev.org"

This commit is contained in:
Zuul 2022-10-26 01:13:52 +00:00 committed by Gerrit Code Review
commit 7aa0ef1304
6 changed files with 13 additions and 13 deletions

View File

@ -18,7 +18,7 @@ groups:
# bastion group should should only have one entry because we assume
# groups['bastion'][0] is the bastion host name in several places.
bastion:
- bridge.openstack.org
- bridge01.opendev.org
borg-backup:
- etherpad[0-9]*.opendev.org
- gitea01.opendev.org

View File

@ -1,13 +1,13 @@
- name: Add bastion host to inventory for production playbook
add_host:
name: 'bridge.openstack.org'
name: 'bridge01.opendev.org'
groups: 'bastion'
ansible_python_interpreter: python3
ansible_user: zuul
# Without setting ansible_host directly, mirror-workspace-git-repos
# gets sad because if delegate_to localhost and with add_host that
# ends up with ansible_host being localhost.
ansible_host: 'bridge.openstack.org'
ansible_host: 'bridge01.opendev.org'
ansible_port: 22
# Port 19885 is firewalled
zuul_console_disabled: true

View File

@ -129,7 +129,7 @@ def test_logrotate(host):
path to the rotated logfile; the role adds this for uniqueness.
'''
ansible_vars = host.ansible.get_variables()
if ansible_vars['inventory_hostname'] == 'bridge.openstack.org':
if ansible_vars['inventory_hostname'].startswith('bridge'):
cfg_file = host.file("/etc/logrotate.d/ansible.log.37237.conf")
assert cfg_file.exists
assert cfg_file.contains('/var/log/ansible/ansible.log')

View File

@ -14,7 +14,7 @@
import platform
import pytest
testinfra_hosts = ['bridge.openstack.org']
testinfra_hosts = ['bridge01.opendev.org']
def test_zuul_data(host, zuul_data):

View File

@ -15,7 +15,7 @@
import pytest
testinfra_hosts = ['adns-letsencrypt.opendev.org',
'bridge.openstack.org',
'bridge01.opendev.org',
'letsencrypt01.opendev.org',
'letsencrypt02.opendev.org']
@ -141,7 +141,7 @@ def test_acme_sh_config(host):
assert config.contains("^ACCOUNT_EMAIL=le-test@opendev.org")
def test_certcheck_config(host, zuul_data):
if host.backend.get_hostname() != 'bridge.openstack.org':
if not host.backend.get_hostname().startswith('bridge'):
pytest.skip()
if zuul_data['extra']['zuul']['job'] != 'system-config-run-letsencrypt':

View File

@ -23,7 +23,7 @@
'/etc/iptables/rules.v4': logs_txt
'/etc/iptables/rules.v6': logs_txt
host-vars:
bridge.openstack.org:
bridge01.opendev.org:
host_copy_output:
'{{ zuul.project.src_dir }}/junit.xml': logs
'{{ zuul.project.src_dir }}/test-results.html': logs
@ -59,7 +59,7 @@
currently in use.
nodeset:
nodes:
- &bridge_node_x86 { name: bridge.openstack.org, label: ubuntu-jammy }
- &bridge_node_x86 { name: bridge01.opendev.org, label: ubuntu-jammy }
- name: xenial
label: ubuntu-xenial
- name: bionic
@ -81,7 +81,7 @@
# bridge node. This node will then run a nested Ansible to
# test the production playbooks -- *that* Ansible has a
# "bastion" group too
- &bastion_group { name: bastion, nodes: [ bridge.openstack.org ] }
- &bastion_group { name: bastion, nodes: [ bridge01.opendev.org ] }
files:
- tox.ini
- playbooks/
@ -166,7 +166,7 @@
Run the "base" playbook on ARM64.
nodeset:
nodes:
- &bridge_node_arm64 { name: bridge.openstack.org, label: ubuntu-jammy-arm64 }
- &bridge_node_arm64 { name: bridge01.opendev.org, label: ubuntu-jammy-arm64 }
- name: bionic
label: ubuntu-bionic-arm64
- name: focal
@ -256,7 +256,7 @@
# Make sure this test runs acme.sh
letsencrypt_self_generate_tokens: False
host-vars:
bridge.openstack.org:
bridge01.opendev.org:
host_copy_output:
'/var/lib/certcheck': logs
letsencrypt01.opendev.org:
@ -995,7 +995,7 @@
'/etc/hosts': logs
'/etc/zuul/zuul.conf': logs
'/var/log/zuul/debug.log': logs
bridge.openstack.org:
bridge01.opendev.org:
host_copy_output:
'/etc/hosts': logs
zuul-lb01.opendev.org: