]> git.ipfire.org Git - thirdparty/qemu.git/commit
gitlab-ci: Determine the number of jobs dynamically
authorThomas Huth <thuth@redhat.com>
Thu, 21 May 2020 04:50:10 +0000 (06:50 +0200)
committerThomas Huth <thuth@redhat.com>
Thu, 28 May 2020 09:01:38 +0000 (11:01 +0200)
commit0016afa250d251a1b3fbc90c6d618e7f00e02f14
treee5d0878f1540018ccaf6c27f00cd8d9acdcacb29
parentb5d621ff4a7d86e82a58104d5706bda2b4238626
gitlab-ci: Determine the number of jobs dynamically

Some people might want to run the gitlab CI pipelines in an environment
where multiple CPUs are available to the runners, so let's rather get
the number for "-j" from the "nproc" program (increased by 1 to compensate
for jobs that wait for I/O) instead of hard-coding it.

Message-Id: <20200525131823.715-7-thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
.gitlab-ci.yml