Build assets from the MR HEAD commit instead of the merge result commit
requested to merge 334815-e2e-tests-failing-against-review-apps-due-to-404-on-asset-loading into master
What does this MR do?
This should fix another edge-case where the gitlab-webservice
and the gitlab-workhorse
images could include/references different assets in the case the former image is rebuilt but not the later since the assets image was tagged with the MR HEAD commit but actually contained assets compiled for the merge result commit.
This MR changes the commit for which the production assets are compiled to be the same as the one used to tag the image.
Related to #334815 (closed).
Edited by Rémy Coutable