On Fri, May 26, 2023 at 09:04:34AM -0700, Richard Henderson wrote:
> On 5/26/23 03:19, Daniel P. Berrangé wrote:
> > +# Upstream pipeline jobs start automatically unless told not to
> > +# by setting QEMU_CI=1
> > +- if: '$QEMU_CI == "1" && $CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM
>
On 5/26/23 03:19, Daniel P. Berrangé wrote:
+# Upstream pipeline jobs start automatically unless told not to
+# by setting QEMU_CI=1
+- if: '$QEMU_CI == "1" && $CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM &&
$CI_COMMIT_BRANCH =~/staging/'
+ when: manual
+ variables:
+
In forks QEMU_CI=1 can be used to create a pipeline but not auto-run any
jobs. In upstream jobs always auto-run, which is equiv of QEMU_CI=2.
This supports setting QEMU_CI=1 in upstream, to disable job auto-run.
This can be used to preserve CI minutes if repushing a branch to staging
with a specif