Remove job registration check
This is not applicable in v3.
Change-Id: I770fc7b0897a34715037862e44d6a2f8c3823570
diff --git a/doc/source/zuul.rst b/doc/source/zuul.rst
index 2285ecb..102beac 100644
--- a/doc/source/zuul.rst
+++ b/doc/source/zuul.rst
@@ -52,11 +52,6 @@
Port on which the Gearman server is listening.
``port=4730`` (optional)
-**check_job_registration**
- Check to see if job is registered with Gearman or not. When True
- a build result of NOT_REGISTERED will be return if job is not found.
- ``check_job_registration=True``
-
gearman_server
""""""""""""""
diff --git a/zuul/launcher/client.py b/zuul/launcher/client.py
index c2dd1d5..14773cb 100644
--- a/zuul/launcher/client.py
+++ b/zuul/launcher/client.py
@@ -194,11 +194,6 @@
port = config.get('gearman', 'port')
else:
port = 4730
- if config.has_option('gearman', 'check_job_registration'):
- self.job_registration = config.getboolean(
- 'gearman', 'check_job_registration')
- else:
- self.job_registration = True
self.gearman = ZuulGearmanClient(self)
self.gearman.addServer(server, port)
@@ -397,13 +392,6 @@
build.__gearman_job = gearman_job
self.builds[uuid] = build
- if self.job_registration and not self.isJobRegistered(
- gearman_job.name):
- self.log.error("Job %s is not registered with Gearman" %
- gearman_job)
- self.onBuildCompleted(gearman_job, 'NOT_REGISTERED')
- return build
-
if pipeline.precedence == zuul.model.PRECEDENCE_NORMAL:
precedence = gear.PRECEDENCE_NORMAL
elif pipeline.precedence == zuul.model.PRECEDENCE_HIGH: