ci: Upload artifacts of target stage jobs to s3 bucket

This commit is contained in:
Aleksei Apaseev
2023-10-27 17:32:47 +08:00
parent 59d029bf66
commit 3a998bd0ce
2 changed files with 8 additions and 0 deletions

View File

@@ -50,6 +50,7 @@
--parallel-index ${CI_NODE_INDEX:-1}
${PYTEST_EXTRA_FLAGS}
--app-info-filepattern \"list_job_*.txt\"
- python tools/ci/artifacts_handler.py upload --type logs junit_reports
.pytest_examples_dir_template:
extends: .pytest_template
@@ -1298,6 +1299,7 @@ pytest_examples_openthread_br:
--parallel-index ${CI_NODE_INDEX:-1}
${PYTEST_EXTRA_FLAGS}
--app-info-filepattern \"list_job_*.txt\"
- python tools/ci/artifacts_handler.py upload --type logs junit_reports
pytest_examples_openthread_bbr:
extends:
@@ -1332,6 +1334,7 @@ pytest_examples_openthread_bbr:
--parallel-index ${CI_NODE_INDEX:-1}
${PYTEST_EXTRA_FLAGS}
--app-info-filepattern \"list_job_*.txt\"
- python tools/ci/artifacts_handler.py upload --type logs junit_reports
pytest_examples_openthread_sleep:
extends:
@@ -1363,6 +1366,7 @@ pytest_examples_openthread_sleep:
--parallel-index ${CI_NODE_INDEX:-1}
${PYTEST_EXTRA_FLAGS}
--app-info-filepattern \"list_job_*.txt\"
- python tools/ci/artifacts_handler.py upload --type logs junit_reports
pytest_examples_esp32h2_zigbee:
extends:

View File

@@ -21,6 +21,7 @@ class ArtifactType(str, Enum):
LOGS = 'logs'
SIZE_REPORTS = 'size_reports'
JUNIT_REPORTS = 'junit_reports'
TYPE_PATTERNS_DICT = {
@@ -48,6 +49,9 @@ TYPE_PATTERNS_DICT = {
'**/build*/size.json',
'size_info.txt',
],
ArtifactType.JUNIT_REPORTS: [
'XUNIT_RESULT.xml',
],
}