76baae4e3f
Previously we had a test specific group vars file for the review Ansible group. This provided junk secrets to our test installations of Gerrit then we relied on the review02.opendev.org production host vars file to set values that are public. Unfortunately, this meant we were using the production heapLimit value which is far too large for our test instances leading to the occasionaly failure: There is insufficient memory for the Java Runtime Environment to continue. Native memory allocation (mmap) failed to map 9596567552 bytes for committing reserved memory. We cannot set the heapLimit in the group var file because the hostvar file overrides those values. To fix this we need to replace the test specific group var contents with a test specific host var file instead. To avoid repeating ourselves we also create a new review.yaml group_vars file to capture common settings between testing and prod. Note we should look at combining this new file with the gerrit.yaml group_vars. On the testing side of things we set the heapLimit to 6GB, we change the serverid value to prevent any unexpected notedb confusion, and we remove replication config. Change-Id: Id8ec5cae967cc38acf79ecf18d3a0faac3a9c4b3
73 lines
1.9 KiB
YAML
73 lines
1.9 KiB
YAML
gerrit_replication:
|
|
- name: 'gitea01'
|
|
url: 'ssh://git@gitea01.opendev.org:222/'
|
|
authGroup: 'Anonymous Users'
|
|
replicationDelay: '1'
|
|
replicatePermissions: false
|
|
mirror: true
|
|
threads: '4'
|
|
timeout: '900'
|
|
- name: 'gitea02'
|
|
url: 'ssh://git@gitea02.opendev.org:222/'
|
|
authGroup: 'Anonymous Users'
|
|
replicationDelay: '1'
|
|
replicatePermissions: false
|
|
mirror: true
|
|
threads: '4'
|
|
timeout: '900'
|
|
- name: 'gitea03'
|
|
url: 'ssh://git@gitea03.opendev.org:222/'
|
|
authGroup: 'Anonymous Users'
|
|
replicationDelay: '1'
|
|
replicatePermissions: false
|
|
mirror: true
|
|
threads: '4'
|
|
timeout: '900'
|
|
- name: 'gitea04'
|
|
url: 'ssh://git@gitea04.opendev.org:222/'
|
|
authGroup: 'Anonymous Users'
|
|
replicationDelay: '1'
|
|
replicatePermissions: false
|
|
mirror: true
|
|
threads: '4'
|
|
timeout: '900'
|
|
- name: 'gitea05'
|
|
url: 'ssh://git@gitea05.opendev.org:222/'
|
|
authGroup: 'Anonymous Users'
|
|
replicationDelay: '1'
|
|
replicatePermissions: false
|
|
mirror: true
|
|
threads: '4'
|
|
timeout: '900'
|
|
- name: 'gitea06'
|
|
url: 'ssh://git@gitea06.opendev.org:222/'
|
|
authGroup: 'Anonymous Users'
|
|
replicationDelay: '1'
|
|
replicatePermissions: false
|
|
mirror: true
|
|
threads: '4'
|
|
timeout: '900'
|
|
- name: 'gitea07'
|
|
url: 'ssh://git@gitea07.opendev.org:222/'
|
|
authGroup: 'Anonymous Users'
|
|
replicationDelay: '1'
|
|
replicatePermissions: false
|
|
mirror: true
|
|
threads: '4'
|
|
timeout: '900'
|
|
- name: 'gitea08'
|
|
url: 'ssh://git@gitea08.opendev.org:222/'
|
|
authGroup: 'Anonymous Users'
|
|
replicationDelay: '1'
|
|
replicatePermissions: false
|
|
mirror: true
|
|
threads: '4'
|
|
timeout: '900'
|
|
gerrit_serverid: 4a232e18-c5a9-48ee-94c0-e04e7cca6543
|
|
gerrit_heap_limit: 96g
|
|
letsencrypt_certs:
|
|
review02-opendev-org-main:
|
|
- review.opendev.org
|
|
- review02.opendev.org
|
|
- review.openstack.org
|