From 8dcf3e5f8081d690d9be731c2f80bebd5115b5d6 Mon Sep 17 00:00:00 2001 From: Aleksei Apaseev Date: Fri, 8 Dec 2023 10:49:17 +0800 Subject: [PATCH] ci: Upload report about modified files and components to s3 bucket --- .gitlab/ci/pre_check.yml | 1 + tools/ci/artifacts_handler.py | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitlab/ci/pre_check.yml b/.gitlab/ci/pre_check.yml index 5962f84ca1..78892a5cdf 100644 --- a/.gitlab/ci/pre_check.yml +++ b/.gitlab/ci/pre_check.yml @@ -186,6 +186,7 @@ pipeline_variables: echo "BUILD_AND_TEST_ALL_APPS=1" >> pipeline.env fi - cat pipeline.env + - python tools/ci/artifacts_handler.py upload --type modified_files_and_components_report artifacts: reports: dotenv: pipeline.env diff --git a/tools/ci/artifacts_handler.py b/tools/ci/artifacts_handler.py index 496e88e6b8..73930a3a05 100644 --- a/tools/ci/artifacts_handler.py +++ b/tools/ci/artifacts_handler.py @@ -22,6 +22,7 @@ class ArtifactType(str, Enum): LOGS = 'logs' SIZE_REPORTS = 'size_reports' JUNIT_REPORTS = 'junit_reports' + MODIFIED_FILES_AND_COMPONENTS_REPORT = 'modified_files_and_components_report' TYPE_PATTERNS_DICT = { @@ -52,6 +53,9 @@ TYPE_PATTERNS_DICT = { ArtifactType.JUNIT_REPORTS: [ 'XUNIT_RESULT.xml', ], + ArtifactType.MODIFIED_FILES_AND_COMPONENTS_REPORT: [ + 'pipeline.env', + ], }