Make a review-test that we run ansible on
Private host_vars exist on bridge separate from review01.openstack.org with their own mysql database, rest key and email key. Add in a conditional on accepting our own hostkey since we're not actually going to run manage-projects on this host so we don't need to do that. Change-Id: If7f45250e7ead62f2117f3e6c0fcfc0b4e7f71aa
This commit is contained in:
parent
cf805976f8
commit
2574113870
@ -648,6 +648,14 @@ all:
|
|||||||
region_name: DFW
|
region_name: DFW
|
||||||
public_v4: 23.253.109.153
|
public_v4: 23.253.109.153
|
||||||
public_v6: 2001:4800:7819:104:be76:4eff:fe04:8e55
|
public_v6: 2001:4800:7819:104:be76:4eff:fe04:8e55
|
||||||
|
# Temporary host for testing gerrit upgrade
|
||||||
|
review-test.opendev.org:
|
||||||
|
ansible_host: 104.130.159.4
|
||||||
|
location:
|
||||||
|
cloud: openstackci-rax
|
||||||
|
region_name: DFW
|
||||||
|
public_v4: 104.130.159.4
|
||||||
|
public_v6: 2001:4800:7818:102:be76:4eff:fe04:3a2e
|
||||||
review01.openstack.org:
|
review01.openstack.org:
|
||||||
ansible_host: 104.130.246.32
|
ansible_host: 104.130.246.32
|
||||||
location:
|
location:
|
||||||
|
@ -197,6 +197,7 @@ groups:
|
|||||||
- review-dev[0-9]*.open*.org
|
- review-dev[0-9]*.open*.org
|
||||||
review:
|
review:
|
||||||
- review[0-9]*.open*.org
|
- review[0-9]*.open*.org
|
||||||
|
- review-test.opendev.org
|
||||||
static:
|
static:
|
||||||
- static[0-9]*.opendev.org
|
- static[0-9]*.opendev.org
|
||||||
status:
|
status:
|
||||||
|
17
inventory/service/host_vars/review-test.openstack.org.yaml
Normal file
17
inventory/service/host_vars/review-test.openstack.org.yaml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
gerrit_replication:
|
||||||
|
- name: 'local'
|
||||||
|
url: 'file:///opt/lib/git/'
|
||||||
|
replicationDelay: '1'
|
||||||
|
threads: '4'
|
||||||
|
mirror: true
|
||||||
|
gerrit_storyboard_url: https://storyboard.openstack.org
|
||||||
|
gerrit_vhost_name: review-test.opendev.org
|
||||||
|
gerrit_heap_limit: 48g
|
||||||
|
letsencrypt_certs:
|
||||||
|
review-test-opendev-org-main:
|
||||||
|
- review-test.opendev.org
|
||||||
|
# We have to set the letsencrypt_gid to something that isn't 3000
|
||||||
|
# to not conflict with gerrit2's gid.
|
||||||
|
# Also, on review01.openstack.org, 3001 is openstackwatch and
|
||||||
|
# 3002 is github.
|
||||||
|
letsencrypt_gid: 3003
|
@ -243,6 +243,7 @@
|
|||||||
state: present
|
state: present
|
||||||
key: '{{ gerrit_self_hostkey }}'
|
key: '{{ gerrit_self_hostkey }}'
|
||||||
name: '[{{ gerrit_vhost_name }}]:29418'
|
name: '[{{ gerrit_vhost_name }}]:29418'
|
||||||
|
when: gerrit_self_hostkey is defined
|
||||||
|
|
||||||
- name: Install apache2
|
- name: Install apache2
|
||||||
apt:
|
apt:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user