Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Change unit test upload step #14124

Merged
merged 2 commits into from
May 16, 2023
Merged

Change unit test upload step #14124

merged 2 commits into from
May 16, 2023

Conversation

mateo-moon
Copy link
Contributor

In the first design with separate step for tests upload there was fundamental bug - gitlab doesn't merge artifacts from parallel jobs) Why would it!? Although, i think the dedicates step is more clean solution i find adding the complexity and add additional step with merging artifact from parallel jobs very error prone and excessive. So combining this 2 steps maybe not elegant solution but most optimal.

@mateo-moon mateo-moon self-assigned this May 11, 2023
@mateo-moon mateo-moon requested a review from a team as a code owner May 11, 2023 14:45
@paritytech-ci paritytech-ci requested a review from a team May 11, 2023 14:53
@altaua
Copy link
Contributor

altaua commented May 11, 2023

If you want to keep the separate upload job, can't you collect artifacts by explicitly referencing the parallel jobs as test-linux stable 1/3 etc?

@mateo-moon
Copy link
Contributor Author

If you want to keep the separate upload job, can't you collect artifacts by explicitly referencing the parallel jobs as test-linux stable 1/3 etc?

Sure. I see one major drawback: you have either hardcode number of parallel jobs and job names or make something fancy to automate it in case the number of parallel jobs will be changed in the future(very likely). Also this will add the complexity to artifacts name and hence tracking them in the Elasticsearch. Anyway i didn't find this very attractive) The second best is to merge 3 files in the upload step. Don't like it either)

@mateo-moon mateo-moon added the B0-silent Changes should not be mentioned in any release notes label May 11, 2023
@mateo-moon mateo-moon force-pushed the oleg/ci-cd/flaky_upload_fix branch from c471591 to 66c9c55 Compare May 12, 2023 10:47
@mateo-moon mateo-moon force-pushed the oleg/ci-cd/flaky_upload_fix branch from 66c9c55 to 2003eb8 Compare May 12, 2023 14:06
@mateo-moon
Copy link
Contributor Author

bot rebase

@paritytech-processbot
Copy link

Rebased

@mateo-moon mateo-moon merged commit f741f2e into master May 16, 2023
@mateo-moon mateo-moon deleted the oleg/ci-cd/flaky_upload_fix branch May 16, 2023 10:24
gpestana pushed a commit that referenced this pull request May 27, 2023
Co-authored-by: parity-processbot <>
nathanwhit pushed a commit to nathanwhit/substrate that referenced this pull request Jul 19, 2023
Co-authored-by: parity-processbot <>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
B0-silent Changes should not be mentioned in any release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants