From 1120623f1e8ac7f418a794bdb910202102575abe Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Feb 24 2021 12:37:58 +0000 Subject: Disable CTS. Signed-off-by: Jan Kaluza --- diff --git a/cccc/cli.py b/cccc/cli.py index 36fe3f8..8c37e06 100644 --- a/cccc/cli.py +++ b/cccc/cli.py @@ -88,6 +88,7 @@ def _copy_default_config(conf, args, merged_dir, scratch_dir): p.set_tree_arches(args.tree_arches) if args.skip_phases: p.skip_phases(args.skip_phases) + p.disable_cts() p.config_file_write(merged_pungi_config_file) commit = cccc.git.commit_all(merged_dir, "Default configuration") @@ -135,6 +136,7 @@ def _merge_updated_config(conf, args, merged_dir, scratch_dir): p.skip_phases(args.skip_phases) # Override variants_file so it points to updated variants_files. p.set_variants_file(conf["variants_file"]) + p.disable_cts() # write the updated pungi config file with the file name expected by ODCS merged_pungi_config_file = os.path.join(merged_dir, conf["merged_repo_pungi_config"]) diff --git a/cccc/pungi.py b/cccc/pungi.py index b462318..e1a2e28 100644 --- a/cccc/pungi.py +++ b/cccc/pungi.py @@ -164,6 +164,14 @@ class PungiConfig(object): self.conf["skip_phases"] = [] self.conf["skip_phases"] = list(set(self.conf["skip_phases"]) | set(phases)) + def disable_cts(self): + """ + Disables the Compose Tracking Service for test modules. + + :return: None + """ + self.conf["cts_url"] = "" + def set_variants_file(self, variants_file): """ Sets the `variants_file` configuration option.