gitlab: honour QEMU_CI variable in edk2/opensbi jobs
commit6e131bf69b98fbe74cc02b5a910fa2dc5bb7962e
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 29 Jun 2022 17:06:38 +0000 (29 18:06 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 5 Jul 2022 07:33:58 +0000 (5 09:33 +0200)
tree78c2f29c0afed1d23b5e7452267b7111c948120d
parent37a2b95231d6699536820c8ff0ca3f5ba8356184
gitlab: honour QEMU_CI variable in edk2/opensbi jobs

To preserve contributor CI credits we don't want jobs to run by default
unless the QEMU_CI variable is set. For most jobs we can achieve this
using the base template, but the edk2/opensbi jobs are a little special
as they have some complex conditions we can't easily model in the base
template.

We duplicate existing rules and put them under control of QEMU_CI
variable, such that QEMU_CI=1 creates manual jobs and QEMU_CI=2
immediately runs jobs.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220629170638.520630-4-berrange@redhat.com>
[thuth: Fixed "on_success" <-> "manual" copy-n-paste bug]
Signed-off-by: Thomas Huth <thuth@redhat.com>
.gitlab-ci.d/edk2.yml
.gitlab-ci.d/opensbi.yml