Browse Source

Don't offline signing node

Do not offline the signing node. Right now we only run tag-releases on
that node.

Add also a note to our REVIEWING list about these long-lived nodes.

Change-Id: I7ddea40069add66dc07ee754092c8c236c62b53c
tags/before-jenkins-config-removed
Andreas Jaeger 2 years ago
parent
commit
7fe2e01735
2 changed files with 11 additions and 0 deletions
  1. 9
    0
      REVIEWING.rst
  2. 2
    0
      zuul/openstack_functions.py

+ 9
- 0
REVIEWING.rst View File

@@ -77,3 +77,12 @@ Removing check-requirements job
77 77
   the reviewer should verify that the project has been removed from
78 78
   projects.txt already or that this project-config change depends
79 79
   on the review to remove it.
80
+
81
+Jobs for persistent node
82
+========================
83
+
84
+In general, nodes are off-lined after a job run. Some special nodes
85
+are not off-lined and long-lived. Ensure for these nodes that any job
86
+running on them is handled in zuul/openstack_functions.py.
87
+
88
+Current nodes that are long-lived are: proposal, release, signing, wheel-mirror-*

+ 2
- 0
zuul/openstack_functions.py View File

@@ -52,11 +52,13 @@ def set_node_options(item, job, params):
52 52
     hook_re = r'^hook-(.*?)-(rtfd)$'
53 53
     wheel_re = r'^wheel-(build|release)-.*$'
54 54
     reprepro_re = r'^reprepro-(import|release)-.*$'
55
+    signing_re = r'^tag-releases$'
55 56
     # jobs run on the persistent proposal, release, and wheel build
56 57
     # workers
57 58
     if (re.match(proposal_re, job.name) or
58 59
         re.match(release_re, job.name) or
59 60
         re.match(hook_re, job.name) or
60 61
         re.match(reprepro_re, job.name) or
62
+        re.match(signing_re, job.name) or
61 63
         re.match(wheel_re, job.name)):
62 64
         reusable_node(item, job, params)

Loading…
Cancel
Save