Ensure assets get recompiled if cached-assets-hash.txt is empty
What does this MR do and why?
We noticed the canary deployment had stale assets. It appears the
downloaded cached-assets-hash.txt
was 0 bytes
(https://dev.gitlab.org/gitlab/gitlab-ee/-/jobs/30827988#L172). This
appeared to have been empty because the cache:assets-hash
job failed
to upload the build.env
artifacts due to rate limiting errors
(https://dev.gitlab.org/gitlab/gitlab-ee/-/jobs/30827983), and that job
is allowed to fail.
References
Relates to:
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Stan Hu