This will allow us to disable the kdb when running the jobs.
URL: https://tracker.ceph.com/issues/64471
Signed-off-by: Xiubo Li <xiubli@redhat.com>
--validate-sha1 <bool>
Validate that git SHA1s passed to -S exist.
[default: true]
+ --kdb <bool>
+ Enable/disable kdb in kernel
+ [default: true]
--sleep-before-teardown <seconds>
Number of seconds to sleep before teardown.
Use with care, as this applies to all jobs in the
value = expand_short_repo_name(
value,
config.get_ceph_qa_suite_git_url())
- elif key in ('validate_sha1', 'filter_fragments'):
+ elif key in ('validate_sha1', 'filter_fragments', 'kdb'):
value = strtobool(value)
conf[key] = value
return conf
branch=self.args.kernel_branch),
dry_run=self.args.dry_run,
)
+ kdb = True
+ if self.args.kdb is not None:
+ kdb = self.args.kdb
+
if kernel_hash:
log.info("kernel sha1: {hash}".format(hash=kernel_hash))
- kernel_dict = dict(kernel=dict(kdb=True, sha1=kernel_hash))
+ kernel_dict = dict(kernel=dict(kdb=kdb, sha1=kernel_hash))
if kernel_hash != 'distro':
kernel_dict['kernel']['flavor'] = 'default'
else: