ci: Tag assets image with assets shasum
requested to merge 208389-change-the-image-tag-to-be-the-md5-of-assets-files-and-skip-image-building-if-the-image into master
What does this MR do and why?
This does two things:
- Tag the assets image with the assets hash sum computed from the previous
compile-production-assets
job - Skip the image building if the image already exists
Image exists? | Job | Duration |
---|---|---|
No | https://gitlab.com/gitlab-org/gitlab/-/jobs/3164087549 | 1m 39s |
Yes | https://gitlab.com/gitlab-org/gitlab/-/jobs/3164171626 | 50s (50% improvement) |
TODO:
-
Support e2e:package-and-test
whereomnibus-gitlab
assumes the assets version isGITLAB_REF_SLUG
, which is set toCI_COMMIT_REF_SLUG
intrigger-build
.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #208389 (closed)
Edited by Rémy Coutable