From c731cba102dce350929bae0b8d92a505222f336e Mon Sep 17 00:00:00 2001 From: Kirill Zhukov Date: Tue, 8 Oct 2024 16:18:11 +0200 Subject: [PATCH] Release 0.3.6 (2024-10-08) build_analytics: buildsystem#360 Added src and x86_64_v2 arches --- build_analytics/build_analytics/const.py | 4 +++- build_analytics/migrations/4.sql | 11 +++++++++++ releases.txt | 8 ++++++-- 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 build_analytics/migrations/4.sql diff --git a/build_analytics/build_analytics/const.py b/build_analytics/build_analytics/const.py index 37367ab..42df4e2 100644 --- a/build_analytics/build_analytics/const.py +++ b/build_analytics/build_analytics/const.py @@ -3,7 +3,7 @@ from enum import IntEnum # supported schema version -DB_SCHEMA_VER = 3 +DB_SCHEMA_VER = 4 # ENUMS @@ -13,6 +13,8 @@ class ArchEnum(IntEnum): aarch64 = 2 ppc64le = 3 s390x = 4 + src = 5 + x86_64_v2 = 6 class BuildTaskEnum(IntEnum): diff --git a/build_analytics/migrations/4.sql b/build_analytics/migrations/4.sql new file mode 100644 index 0000000..4c1ceb4 --- /dev/null +++ b/build_analytics/migrations/4.sql @@ -0,0 +1,11 @@ +BEGIN; + +INSERT INTO arch_enum (id, value) +VALUES + (5, 'src'), + (6, 'x86_64_v2'); + +UPDATE schema_version +SET version = 4; + +COMMIT; \ No newline at end of file diff --git a/releases.txt b/releases.txt index fb16bbd..fd41ac0 100644 --- a/releases.txt +++ b/releases.txt @@ -27,7 +27,7 @@ build-analytics - [ALBS-1077] start deleting builds that were removed from ALBS Bugfixes - 'Key error' when db_port/db_host is not set - - update_builds() ignoring opldest_to_update attribute + - update_builds() ignoring odldest_to_update attribute - [ALBS-1099] Test task started_at attribute is NULL - Max recursion error in 'Test task details.json' @@ -37,4 +37,8 @@ build_analytics 0.3.5 (2023-06-01) build_analytics: - ALBS-1103 start using persistent HTTP connections \ No newline at end of file + ALBS-1103 start using persistent HTTP connections + +0.3.6 (2024-10-08) +build_analytics: + buildsystem#360 Added src and x86_64_v2 arches \ No newline at end of file