Switch to jobs_re for config setting
To avoid confusion, switch everything to use jobs_re for recheckwatch config. Change-Id: I1a84db6ec346a32f38e00560c1b322e7d377d434 Needed-By: I1e2369225c9bd83296684af0dd9ea0514d9098c4 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
06f2fd6a6a
commit
1af432d0a5
@ -9,7 +9,7 @@ channel_config=/home/mtreinish/elasticRecheck/recheckwatchbot.yaml
|
|||||||
[recheckwatch]
|
[recheckwatch]
|
||||||
#Any project that has a job that matches this regex will have all their
|
#Any project that has a job that matches this regex will have all their
|
||||||
#jobs included in the recheck algorithm
|
#jobs included in the recheck algorithm
|
||||||
jobs_regex=dsvm
|
jobs_re=dsvm
|
||||||
ci_username=jenkins
|
ci_username=jenkins
|
||||||
|
|
||||||
[gerrit]
|
[gerrit]
|
||||||
|
@ -100,7 +100,7 @@ class Config(object):
|
|||||||
'db_uri': DB_URI,
|
'db_uri': DB_URI,
|
||||||
'server_password': None,
|
'server_password': None,
|
||||||
'ci_username': CI_USERNAME,
|
'ci_username': CI_USERNAME,
|
||||||
'jobs_regex': JOBS_RE,
|
'jobs_re': JOBS_RE,
|
||||||
'pidfile': PID_FN,
|
'pidfile': PID_FN,
|
||||||
'index_format': DEFAULT_INDEX_FORMAT,
|
'index_format': DEFAULT_INDEX_FORMAT,
|
||||||
'query_file': GERRIT_QUERY_FILE,
|
'query_file': GERRIT_QUERY_FILE,
|
||||||
@ -117,7 +117,7 @@ class Config(object):
|
|||||||
|
|
||||||
if config.has_section('recheckwatch'):
|
if config.has_section('recheckwatch'):
|
||||||
self.ci_username = config.get('recheckwatch', 'ci_username')
|
self.ci_username = config.get('recheckwatch', 'ci_username')
|
||||||
self.jobs_regex = config.get('recheckwatch', 'jobs_regex')
|
self.jobs_re = config.get('recheckwatch', 'jobs_re')
|
||||||
|
|
||||||
if config.has_section('gerrit'):
|
if config.has_section('gerrit'):
|
||||||
self.gerrit_user = config.get('gerrit', 'user')
|
self.gerrit_user = config.get('gerrit', 'user')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user