Update kaas tag with new repos and package versions
- fixed updating repo.info.tgz
Related-PROD: PROD-36753
Change-Id: I483e97952dad46780e4da7c638c09c2f0a36c757
diff --git a/cfg_checker/common/const.py b/cfg_checker/common/const.py
index b629eb6..95497ec 100644
--- a/cfg_checker/common/const.py
+++ b/cfg_checker/common/const.py
@@ -91,7 +91,9 @@
"ubuntu-0.0.7",
"ubuntu-2020-07-30-013349",
"ubuntu-2020-12-14-013755",
- "ubuntu-2021-05-27-013023"
+ "ubuntu-2021-05-27-013023",
+ "ubuntu-2021-09-02-013131",
+ "ubuntu-2021-11-11-014639"
]
mcp_active_tags = [
"2019.2.0",
@@ -100,6 +102,9 @@
"2019.2.12",
"2019.2.13",
"2019.2.14",
+ "2019.2.15",
+ "2019.2.16",
+ "2019.2.17"
]
all_arch = ["amd64"]
repo_types = {
diff --git a/cfg_checker/modules/packages/repos.py b/cfg_checker/modules/packages/repos.py
index a308864..02d1357 100644
--- a/cfg_checker/modules/packages/repos.py
+++ b/cfg_checker/modules/packages/repos.py
@@ -332,7 +332,11 @@
_progress.end()
_name = _label + ext
- _repotgz.add_file(_name, buf=json.dumps(_repo, indent=2))
+ _repotgz.add_file(
+ _name,
+ buf=json.dumps(_repo, indent=2),
+ replace=True
+ )
logger_cli.info(
"-> archive '{}' updated with '{}'".format(
self._repofile,