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 # bastion group should should only have one entry because we assume
# groups['bastion'][0] is the bastion host name in several places. # groups['bastion'][0] is the bastion host name in several places.
bastion: bastion:
- bridge.openstack.org - bridge01.opendev.org
borg-backup: borg-backup:
- etherpad[0-9]*.opendev.org - etherpad[0-9]*.opendev.org
- gitea01.opendev.org - gitea01.opendev.org

View File

@ -1,13 +1,13 @@
- name: Add bastion host to inventory for production playbook - name: Add bastion host to inventory for production playbook
add_host: add_host:
name: 'bridge.openstack.org' name: 'bridge01.opendev.org'
groups: 'bastion' groups: 'bastion'
ansible_python_interpreter: python3 ansible_python_interpreter: python3
ansible_user: zuul ansible_user: zuul
# Without setting ansible_host directly, mirror-workspace-git-repos # Without setting ansible_host directly, mirror-workspace-git-repos
# gets sad because if delegate_to localhost and with add_host that # gets sad because if delegate_to localhost and with add_host that
# ends up with ansible_host being localhost. # ends up with ansible_host being localhost.
ansible_host: 'bridge.openstack.org' ansible_host: 'bridge01.opendev.org'
ansible_port: 22 ansible_port: 22
# Port 19885 is firewalled # Port 19885 is firewalled
zuul_console_disabled: true 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. path to the rotated logfile; the role adds this for uniqueness.
''' '''
ansible_vars = host.ansible.get_variables() 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") cfg_file = host.file("/etc/logrotate.d/ansible.log.37237.conf")
assert cfg_file.exists assert cfg_file.exists
assert cfg_file.contains('/var/log/ansible/ansible.log') assert cfg_file.contains('/var/log/ansible/ansible.log')

View File

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

View File

@ -15,7 +15,7 @@
import pytest import pytest
testinfra_hosts = ['adns-letsencrypt.opendev.org', testinfra_hosts = ['adns-letsencrypt.opendev.org',
'bridge.openstack.org', 'bridge01.opendev.org',
'letsencrypt01.opendev.org', 'letsencrypt01.opendev.org',
'letsencrypt02.opendev.org'] 'letsencrypt02.opendev.org']
@ -141,7 +141,7 @@ def test_acme_sh_config(host):
assert config.contains("^ACCOUNT_EMAIL=le-test@opendev.org") assert config.contains("^ACCOUNT_EMAIL=le-test@opendev.org")
def test_certcheck_config(host, zuul_data): 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() pytest.skip()
if zuul_data['extra']['zuul']['job'] != 'system-config-run-letsencrypt': 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.v4': logs_txt
'/etc/iptables/rules.v6': logs_txt '/etc/iptables/rules.v6': logs_txt
host-vars: host-vars:
bridge.openstack.org: bridge01.opendev.org:
host_copy_output: host_copy_output:
'{{ zuul.project.src_dir }}/junit.xml': logs '{{ zuul.project.src_dir }}/junit.xml': logs
'{{ zuul.project.src_dir }}/test-results.html': logs '{{ zuul.project.src_dir }}/test-results.html': logs
@ -59,7 +59,7 @@
currently in use. currently in use.
nodeset: nodeset:
nodes: nodes:
- &bridge_node_x86 { name: bridge.openstack.org, label: ubuntu-jammy } - &bridge_node_x86 { name: bridge01.opendev.org, label: ubuntu-jammy }
- name: xenial - name: xenial
label: ubuntu-xenial label: ubuntu-xenial
- name: bionic - name: bionic
@ -81,7 +81,7 @@
# bridge node. This node will then run a nested Ansible to # bridge node. This node will then run a nested Ansible to
# test the production playbooks -- *that* Ansible has a # test the production playbooks -- *that* Ansible has a
# "bastion" group too # "bastion" group too
- &bastion_group { name: bastion, nodes: [ bridge.openstack.org ] } - &bastion_group { name: bastion, nodes: [ bridge01.opendev.org ] }
files: files:
- tox.ini - tox.ini
- playbooks/ - playbooks/
@ -166,7 +166,7 @@
Run the "base" playbook on ARM64. Run the "base" playbook on ARM64.
nodeset: nodeset:
nodes: 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 - name: bionic
label: ubuntu-bionic-arm64 label: ubuntu-bionic-arm64
- name: focal - name: focal
@ -256,7 +256,7 @@
# Make sure this test runs acme.sh # Make sure this test runs acme.sh
letsencrypt_self_generate_tokens: False letsencrypt_self_generate_tokens: False
host-vars: host-vars:
bridge.openstack.org: bridge01.opendev.org:
host_copy_output: host_copy_output:
'/var/lib/certcheck': logs '/var/lib/certcheck': logs
letsencrypt01.opendev.org: letsencrypt01.opendev.org:
@ -995,7 +995,7 @@
'/etc/hosts': logs '/etc/hosts': logs
'/etc/zuul/zuul.conf': logs '/etc/zuul/zuul.conf': logs
'/var/log/zuul/debug.log': logs '/var/log/zuul/debug.log': logs
bridge.openstack.org: bridge01.opendev.org:
host_copy_output: host_copy_output:
'/etc/hosts': logs '/etc/hosts': logs
zuul-lb01.opendev.org: zuul-lb01.opendev.org: