Set reusable_node for reprepro-(import|release) jobs

We don't want to offline our nodes when we run reprepro, since these
are on static workers.

Change-Id: I5ecf83dfea0329e79d59ccdc334c7a64463252c7
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-07-11 18:55:00 -04:00
parent 0cb4ea8a12
commit 3def189643
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
1 changed files with 2 additions and 0 deletions

View File

@ -51,10 +51,12 @@ def set_node_options(item, job, params):
release_re = r'^.*-(forge|jenkinsci|mavencentral|pypi-(both|wheel)|npm)-upload$'
hook_re = r'^hook-(.*?)-(rtfd)$'
wheel_re = r'^wheel-(build|release)-.*$'
reprepro_re = r'^reprepro-(import|release)-.*$'
# jobs run on the persistent proposal, release, and wheel build
# workers
if (re.match(proposal_re, job.name) or
re.match(release_re, job.name) or
re.match(hook_re, job.name) or
re.match(reprepro_re, job.name) or
re.match(wheel_re, job.name)):
reusable_node(item, job, params)