Currently we have 3 explicit checks, and some of them are configurable: - Jenkins job being stable. Can be disabled with --force - Whether submodule update is happenning. It's not allowed by default, and should be enabled with --allow-submodule option - Target branch checking (recently merged #27249). Happens unconditionally This PR unifies all checks in two ways. First, each restriction can be lifted with --allow-foo options. The existing --allow-submodule stays and two options are added: - --allow-unstable to skip jenkins job check (like --force works now) - --allow-any-branch to skip target branch check Second, the --force option lifts all the known restrictions. Signed-off-by: Pavel Emelyanov <xemul@scylladb.com> Closes scylladb/scylladb#27294
7.9 KiB
Executable File
7.9 KiB
Executable File