ci: Upload report about modified files and components to s3 bucket

This commit is contained in:
Aleksei Apaseev 2023-12-08 10:49:17 +08:00 committed by Fu Hanxi
parent 8ce0b8bf73
commit 8dcf3e5f80
No known key found for this signature in database
GPG Key ID: 19399699CF3C4B16
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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',
],
}