Browse Source

Fix quickstart gating, Add git name and email to executor

When using quickstart tutorial to test gating, a merge commit cannot be
created because git user.name and user.email are not set

Change-Id: I62df8839e9637c10d3fd656cf6a3cb02cae40af1
Story: 2007603
Task: 39586
changes/96/724096/23
Guillaume Chauvel 1 year ago
parent
commit
ab08ae3c7a
  1. 6
      zuul/merger/server.py

6
zuul/merger/server.py

@ -50,8 +50,10 @@ class BaseMergeServer(metaclass=ABCMeta):
def __init__(self, config, component, connections=None):
self.connections = connections or {}
self.merge_email = get_default(config, 'merger', 'git_user_email')
self.merge_name = get_default(config, 'merger', 'git_user_name')
self.merge_email = get_default(config, 'merger', 'git_user_email',
'zuul.merger.default@example.com')
self.merge_name = get_default(config, 'merger', 'git_user_name',
'Zuul Merger Default')
self.merge_speed_limit = get_default(
config, 'merger', 'git_http_low_speed_limit', '1000')
self.merge_speed_time = get_default(

Loading…
Cancel
Save