]> git.ipfire.org Git - thirdparty/asterisk.git/commit
CI: Make node labels job-specific
authorGeorge Joseph <gjoseph@digium.com>
Tue, 6 Aug 2019 15:40:54 +0000 (09:40 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Tue, 6 Aug 2019 15:50:52 +0000 (09:50 -0600)
commitf789016ff57e22dc56dfd9dfee3930cd550dbf6d
treebed724608f04321a79180f0f3151d3951f990778
parent3da4aa8bd02146157a87746370ea0eb4ab95b283
CI:  Make node labels job-specific

Originally, the eligible nodes for a job were labelled only by
"swdev-docker".  So basically any node could run any job.  We had
found that allowing a node to run more than 1 gate at a time was
problematic so we limited the nodes to processing 1 job at a time.
With the creation of the Asterisk 17 branches however, we now have
so many active branches that getting checks and gates through in
a timely manner is problematic when a node can run only 1 job
at a time.

Now the nodes are also labelled by the job type they can run.
For instance: "asterisk-check", "asterisk-gate", etc.  With the
"Throttle Concurrent Builds" plugin, we can now allow a node to
run more than 1 job BUT throttle by job type.  For instance:
  Allow 2 jobs but only 1 asterisk-gate at a time.
Now a node can run 2 checks or 1 check and 1 gate or 1 gate but
not 2 gates at a time.

Change-Id: I2032bf6afbcec5c341d9b852214c0c812d3d6db5
tests/CI/gates.jenkinsfile
tests/CI/periodics-daily.jenkinsfile
tests/CI/ref_debug.jenkinsfile
tests/CI/unittests.jenkinsfile