Partial revert of matrix-gerritbot user change

It complains about not being able to get or create the default cache
directory (but doesn't tell us what that directory is). We'll have to
sort this out later.

Change-Id: I5ce7a875ede77c6203d1b5d06da97f8c52ee48e1
This commit is contained in:
Clark Boylan 2021-11-19 10:10:22 -08:00
parent 76a605a1dc
commit ee9cec707b
1 changed files with 8 additions and 1 deletions

View File

@ -6,7 +6,14 @@ services:
gerritbot-matrix:
image: {{ gerritbot_matrix_image }}
network_mode: host
user: "{{ gerritbot_uid }}:{{ gerritbot_gid }}"
# Temporarily (I hope) undo the gerritbot user override as the process
# complains with:
# 2021-11-19 17:50:14.995 [ThreadId 4]: Session created for: UserID "@gerrit:opendev.org"
#
# Warning: Could not get or create the default cache directory:
#
# gerritbot-matrix: <stderr>: hPutChar: invalid argument (invalid character)
#user: "{{ gerritbot_uid }}:{{ gerritbot_gid }}"
restart: always
logging:
driver: syslog