autobuild: allow AUTOBUILD_FAIL_IMMEDIATELY=0 (say from a gitlab variable)
commit6882fb5c3e6fe045c0f375a3ad04ab5a9144c651
authorAndrew Bartlett <abartlet@samba.org>
Fri, 17 Sep 2021 04:43:00 +0000 (17 16:43 +1200)
committerStefan Metzmacher <metze@samba.org>
Wed, 27 Oct 2021 22:37:08 +0000 (27 22:37 +0000)
tree2b288f34774e8719926cf1c4ddfd72c4e7e6b584
parentd4872f50bc4abee7fbb450c550a632f030a16d69
autobuild: allow AUTOBUILD_FAIL_IMMEDIATELY=0 (say from a gitlab variable)

This allows making a push to do a full test ignoring errors without
needing "HACK!!!" commits on top.

Use like this:

git push -o ci.variable='AUTOBUILD_FAIL_IMMEDIATELY=0'

RN: Samba CI runs can now continue past the first error if AUTOBUILD_FAIL_IMMEDIATELY=0 is set

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14841
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14881

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org
Reviewed-by: Noel Power <npower@samba.org>
[abartlet@samba.org backported from commit b81f6f3d71487085bb355392ce7f8eff2db5bb4d
 due to changes in 4.15 and later for the autobuild dependent jobs work
 that avoids rebuilding Samba in each task]

Autobuild-User(v4-14-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-14-test): Thu Sep 23 08:54:03 UTC 2021 on sn-devel-184

(cherry picked from commit f53c532c2292d07ab3374920bd83c1266663038e)
script/autobuild.py