Don't install the track-upstream cron on review-test

This is just spawning containers that never die.

Change-Id: I1f5215c6e60ac59d1eb224bef9032785938dfc70
This commit is contained in:
Monty Taylor 2020-07-07 14:40:24 -05:00
parent e863120cd3
commit 4d26d9cb40
3 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@ gerrit_replication:
gerrit_storyboard_url: https://storyboard.openstack.org gerrit_storyboard_url: https://storyboard.openstack.org
gerrit_vhost_name: review-test.opendev.org gerrit_vhost_name: review-test.opendev.org
gerrit_heap_limit: 48g gerrit_heap_limit: 48g
gerrit_track_upstream: false
letsencrypt_certs: letsencrypt_certs:
review-test-opendev-org-main: review-test-opendev-org-main:
- review-test.opendev.org - review-test.opendev.org

View File

@ -23,3 +23,4 @@ gerrit_container_volumes:
gerrit_database_type: MYSQL gerrit_database_type: MYSQL
gerrit_project_creator_user: openstack-project-creator gerrit_project_creator_user: openstack-project-creator
gerrit_manage_projects_args: "-v" gerrit_manage_projects_args: "-v"
gerrit_track_upstream: true

View File

@ -316,6 +316,7 @@
job: '/usr/local/bin/track-upstream' job: '/usr/local/bin/track-upstream'
user: root user: root
minute: 42 minute: 42
state: "{{ gerrit_track_upstream | bool | ternary('present', 'absent') }}"
- name: Set up cron job to back up gerrit db - name: Set up cron job to back up gerrit db
cron: cron: