<p>George Joseph has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/11675">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">CI: Make node labels job-specific<br><br>Originally, the eligible nodes for a job were labelled only by<br>"swdev-docker". So basically any node could run any job. We had<br>found that allowing a node to run more than 1 gate at a time was<br>problematic so we limited the nodes to processing 1 job at a time.<br>With the creation of the Asterisk 17 branches however, we now have<br>so many active branches that getting checks and gates through in<br>a timely manner is problematic when a node can run only 1 job<br>at a time.<br><br>Now the nodes are also labelled by the job type they can run.<br>For instance: "asterisk-check", "asterisk-gate", etc. With the<br>"Throttle Concurrent Builds" plugin, we can now allow a node to<br>run more than 1 job BUT throttle by job type. For instance:<br> Allow 2 jobs but only 1 asterisk-gate at a time.<br>Now a node can run 2 checks or 1 check and 1 gate or 1 gate but<br>not 2 gates at a time.<br><br>Change-Id: I2032bf6afbcec5c341d9b852214c0c812d3d6db5<br>---<br>M tests/CI/gates.jenkinsfile<br>M tests/CI/periodics-daily.jenkinsfile<br>M tests/CI/ref_debug.jenkinsfile<br>M tests/CI/unittests.jenkinsfile<br>4 files changed, 4 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/75/11675/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/CI/gates.jenkinsfile b/tests/CI/gates.jenkinsfile</span><br><span>index ca43a60..359dbbe 100644</span><br><span>--- a/tests/CI/gates.jenkinsfile</span><br><span>+++ b/tests/CI/gates.jenkinsfile</span><br><span>@@ -57,7 +57,7 @@</span><br><span> </span><br><span> agent {</span><br><span> /* All of the stages need to be performed on a docker host */</span><br><span style="color: hsl(0, 100%, 40%);">- label "swdev-docker"</span><br><span style="color: hsl(120, 100%, 40%);">+ label "asterisk-gate"</span><br><span> }</span><br><span> </span><br><span> stages {</span><br><span>diff --git a/tests/CI/periodics-daily.jenkinsfile b/tests/CI/periodics-daily.jenkinsfile</span><br><span>index 5a37bb9..c91c5e5 100644</span><br><span>--- a/tests/CI/periodics-daily.jenkinsfile</span><br><span>+++ b/tests/CI/periodics-daily.jenkinsfile</span><br><span>@@ -29,7 +29,7 @@</span><br><span> </span><br><span> agent {</span><br><span> /* All of the stages need to be performed on a docker host */</span><br><span style="color: hsl(0, 100%, 40%);">- label "swdev-docker"</span><br><span style="color: hsl(120, 100%, 40%);">+ label "asterisk-daily"</span><br><span> }</span><br><span> </span><br><span> stages {</span><br><span>diff --git a/tests/CI/ref_debug.jenkinsfile b/tests/CI/ref_debug.jenkinsfile</span><br><span>index 9e20600..0d1e522 100644</span><br><span>--- a/tests/CI/ref_debug.jenkinsfile</span><br><span>+++ b/tests/CI/ref_debug.jenkinsfile</span><br><span>@@ -29,7 +29,7 @@</span><br><span> </span><br><span> agent {</span><br><span> /* All of the stages need to be performed on a docker host */</span><br><span style="color: hsl(0, 100%, 40%);">- label "swdev-docker"</span><br><span style="color: hsl(120, 100%, 40%);">+ label "asterisk-ref-debug"</span><br><span> }</span><br><span> </span><br><span> stages {</span><br><span>diff --git a/tests/CI/unittests.jenkinsfile b/tests/CI/unittests.jenkinsfile</span><br><span>index c2467d7..97d18a8 100644</span><br><span>--- a/tests/CI/unittests.jenkinsfile</span><br><span>+++ b/tests/CI/unittests.jenkinsfile</span><br><span>@@ -59,7 +59,7 @@</span><br><span> }</span><br><span> agent {</span><br><span> /* All of the stages need to be performed on a docker host */</span><br><span style="color: hsl(0, 100%, 40%);">- label "swdev-docker"</span><br><span style="color: hsl(120, 100%, 40%);">+ label "asterisk-check"</span><br><span> }</span><br><span> </span><br><span> stages {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/11675">change 11675</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/11675"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-Change-Id: I2032bf6afbcec5c341d9b852214c0c812d3d6db5 </div>
<div style="display:none"> Gerrit-Change-Number: 11675 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>