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 committed by Fu Hanxi
parent 651f60e663
commit 911ad39808
No known key found for this signature in database
GPG Key ID: 19399699CF3C4B16
2 changed files with 8 additions and 0 deletions

View File

@ -49,6 +49,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
@ -1297,6 +1298,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:
@ -1331,6 +1333,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:
@ -1362,6 +1365,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',
],
}