Skip to content

Add file size check for uploaded artifacts

Vishal Tak requested to merge pags-artifacts-uploaded-check into master

What does this MR do and why?

It was noticed that there are certain (unexpected) scenarios where the size of the uploaded GCS artifact is not the same as the CI artifacts that was downloaded. Even in such a scenario, the code did not throw an error. This MR adds file size check to avoid such a scenario.

Fixes https://gitlab.com/gitlab-org/gitlab/-/issues/362690

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Vishal Tak

Merge request reports